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 43a99ae83111..0c2a77e20ee4 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: 62e3312e67873d702fb2c6e5c7717d99cf4d369b
-repo: Azure/azure-rest-api-specs
\ No newline at end of file
+commit: 7d1769bf58b248880ea537d6d42d773eb4aec9dd
+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..37c72f121733
--- /dev/null
+++ b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/tspCodeModel.json
@@ -0,0 +1,9009 @@
+{
+ "$id": "1",
+ "name": "Microsoft.ComputeSchedule",
+ "apiVersions": [
+ "2024-10-01"
+ ],
+ "enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "ScheduledActionDeadlineType",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeadlineType",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "Unknown",
+ "value": "Unknown",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Default value of Unknown.",
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "InitiateAt",
+ "value": "InitiateAt",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Initiate the operation at the given deadline.",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enumvalue",
+ "name": "CompleteBy",
+ "value": "CompleteBy",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Complete the operation by the given deadline.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.ComputeSchedule",
+ "doc": "The types of deadlines supported by ScheduledActions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "10",
+ "kind": "enum",
+ "name": "ScheduledActionOptimizationPreference",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OptimizationPreference",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "Cost",
+ "value": "Cost",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "10"
+ },
+ "doc": "Optimize while considering cost savings",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enumvalue",
+ "name": "Availability",
+ "value": "Availability",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "10"
+ },
+ "doc": "Optimize while considering availability of resources",
+ "decorators": []
+ },
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "CostAvailabilityBalanced",
+ "value": "CostAvailabilityBalanced",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "10"
+ },
+ "doc": "Optimize while considering a balance of cost and availability",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.ComputeSchedule",
+ "doc": "The preferences customers can select to optimize their requests to ScheduledActions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "decorators": []
+ },
+ {
+ "$id": "18",
+ "kind": "enum",
+ "name": "ResourceOperationType",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationType",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "20",
+ "kind": "enumvalue",
+ "name": "Unknown",
+ "value": "Unknown",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "18"
+ },
+ "doc": "The default value for this enum type",
+ "decorators": []
+ },
+ {
+ "$id": "22",
+ "kind": "enumvalue",
+ "name": "Start",
+ "value": "Start",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "18"
+ },
+ "doc": "Start operations on the resources",
+ "decorators": []
+ },
+ {
+ "$id": "24",
+ "kind": "enumvalue",
+ "name": "Deallocate",
+ "value": "Deallocate",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "18"
+ },
+ "doc": "Deallocate operations on the resources",
+ "decorators": []
+ },
+ {
+ "$id": "26",
+ "kind": "enumvalue",
+ "name": "Hibernate",
+ "value": "Hibernate",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "18"
+ },
+ "doc": "Hibernate operations on the resources",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.ComputeSchedule",
+ "doc": "The kind of operation types that can be performed on resources using ScheduledActions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "28",
+ "kind": "enum",
+ "name": "ScheduledActionOperationState",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationState",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "30",
+ "kind": "enumvalue",
+ "name": "Unknown",
+ "value": "Unknown",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "The default value for the operation state enum",
+ "decorators": []
+ },
+ {
+ "$id": "32",
+ "kind": "enumvalue",
+ "name": "PendingScheduling",
+ "value": "PendingScheduling",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that are pending scheduling",
+ "decorators": []
+ },
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "Scheduled",
+ "value": "Scheduled",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that have been scheduled",
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enumvalue",
+ "name": "PendingExecution",
+ "value": "PendingExecution",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that are waiting to be executed",
+ "decorators": []
+ },
+ {
+ "$id": "38",
+ "kind": "enumvalue",
+ "name": "Executing",
+ "value": "Executing",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that are in the process of being executed",
+ "decorators": []
+ },
+ {
+ "$id": "40",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that suceeded",
+ "decorators": []
+ },
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that have failed",
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "Cancelled",
+ "value": "Cancelled",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that have been Cancelled by the user",
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enumvalue",
+ "name": "Blocked",
+ "value": "Blocked",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "28"
+ },
+ "doc": "Operations that are blocked",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.ComputeSchedule",
+ "doc": "Values that define the states of operations in Scheduled Actions",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "48",
+ "kind": "enum",
+ "name": "Origin",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "50",
+ "kind": "enumvalue",
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "48"
+ },
+ "doc": "Indicates the operation is initiated by a user.",
+ "decorators": []
+ },
+ {
+ "$id": "52",
+ "kind": "enumvalue",
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "48"
+ },
+ "doc": "Indicates the operation is initiated by a system.",
+ "decorators": []
+ },
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "user,system",
+ "value": "user,system",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "48"
+ },
+ "doc": "Indicates the operation is initiated by a user or system.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "56",
+ "kind": "enum",
+ "name": "ActionType",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "58",
+ "kind": "enumvalue",
+ "name": "Internal",
+ "value": "Internal",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "56"
+ },
+ "doc": "Actions are for internal-only APIs.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "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": "Microsoft.ComputeSchedule",
+ "doc": "ComputeSchedule API versions",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "64",
+ "kind": "model",
+ "name": "SubmitDeallocateRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest",
+ "usage": "Input,Json",
+ "doc": "The deallocate request for resources",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "65",
+ "kind": "property",
+ "name": "schedule",
+ "serializedName": "schedule",
+ "doc": "The schedule for the request",
+ "type": {
+ "$id": "66",
+ "kind": "model",
+ "name": "UserRequestSchedule",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule",
+ "usage": "Input,Json",
+ "doc": "The schedule details for the user request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "67",
+ "kind": "property",
+ "name": "deadline",
+ "serializedName": "deadline",
+ "doc": "The deadline for the operation",
+ "type": {
+ "$id": "68",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "69",
+ "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": "70",
+ "json": {
+ "$id": "71",
+ "name": "deadline"
+ }
+ }
+ },
+ {
+ "$id": "72",
+ "kind": "property",
+ "name": "userRequestDeadline",
+ "serializedName": "deadLine",
+ "doc": "The deadline for the operation",
+ "type": {
+ "$id": "73",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "74",
+ "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": "75",
+ "json": {
+ "$id": "76",
+ "name": "deadLine"
+ }
+ }
+ },
+ {
+ "$id": "77",
+ "kind": "property",
+ "name": "timezone",
+ "serializedName": "timezone",
+ "doc": "The timezone for the operation",
+ "type": {
+ "$id": "78",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.timezone",
+ "serializationOptions": {
+ "$id": "79",
+ "json": {
+ "$id": "80",
+ "name": "timezone"
+ }
+ }
+ },
+ {
+ "$id": "81",
+ "kind": "property",
+ "name": "userRequestTimezone",
+ "serializedName": "timeZone",
+ "doc": "The timezone for the operation",
+ "type": {
+ "$id": "82",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.timeZone",
+ "serializationOptions": {
+ "$id": "83",
+ "json": {
+ "$id": "84",
+ "name": "timeZone"
+ }
+ }
+ },
+ {
+ "$id": "85",
+ "kind": "property",
+ "name": "deadlineType",
+ "serializedName": "deadlineType",
+ "doc": "The deadlinetype of the operation, this can either be InitiateAt or CompleteBy",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Schedule.deadlineType",
+ "serializationOptions": {
+ "$id": "86",
+ "json": {
+ "$id": "87",
+ "name": "deadlineType"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.schedule",
+ "serializationOptions": {
+ "$id": "88",
+ "json": {
+ "$id": "89",
+ "name": "schedule"
+ }
+ }
+ },
+ {
+ "$id": "90",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$id": "91",
+ "kind": "model",
+ "name": "ScheduledActionExecutionParameterDetail",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecutionParameters",
+ "usage": "Input,Json",
+ "doc": "Extra details needed to run the user's request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "92",
+ "kind": "property",
+ "name": "optimizationPreference",
+ "serializedName": "optimizationPreference",
+ "doc": "Details that could optimize the user's request",
+ "type": {
+ "$ref": "10"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecutionParameters.optimizationPreference",
+ "serializationOptions": {
+ "$id": "93",
+ "json": {
+ "$id": "94",
+ "name": "optimizationPreference"
+ }
+ }
+ },
+ {
+ "$id": "95",
+ "kind": "property",
+ "name": "retryPolicy",
+ "serializedName": "retryPolicy",
+ "doc": "Retry policy the user can pass",
+ "type": {
+ "$id": "96",
+ "kind": "model",
+ "name": "UserRequestRetryPolicy",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.RetryPolicy",
+ "usage": "Input,Output,Json",
+ "doc": "The retry policy for the user request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "97",
+ "kind": "property",
+ "name": "retryCount",
+ "serializedName": "retryCount",
+ "doc": "Retry count for user request",
+ "type": {
+ "$id": "98",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.RetryPolicy.retryCount",
+ "serializationOptions": {
+ "$id": "99",
+ "json": {
+ "$id": "100",
+ "name": "retryCount"
+ }
+ }
+ },
+ {
+ "$id": "101",
+ "kind": "property",
+ "name": "retryWindowInMinutes",
+ "serializedName": "retryWindowInMinutes",
+ "doc": "Retry window in minutes for user request",
+ "type": {
+ "$id": "102",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.RetryPolicy.retryWindowInMinutes",
+ "serializationOptions": {
+ "$id": "103",
+ "json": {
+ "$id": "104",
+ "name": "retryWindowInMinutes"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecutionParameters.retryPolicy",
+ "serializationOptions": {
+ "$id": "105",
+ "json": {
+ "$id": "106",
+ "name": "retryPolicy"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "107",
+ "json": {
+ "$id": "108",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "109",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$id": "110",
+ "kind": "model",
+ "name": "UserRequestResources",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Resources",
+ "usage": "Input,Json",
+ "doc": "The resources needed for the user request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "111",
+ "kind": "property",
+ "name": "ids",
+ "serializedName": "ids",
+ "doc": "The resource ids used for the request",
+ "type": {
+ "$id": "112",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "113",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "114",
+ "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": "115",
+ "json": {
+ "$id": "116",
+ "name": "ids"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.resources",
+ "serializationOptions": {
+ "$id": "117",
+ "json": {
+ "$id": "118",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "119",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "120",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitDeallocateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "121",
+ "json": {
+ "$id": "122",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "66"
+ },
+ {
+ "$ref": "91"
+ },
+ {
+ "$ref": "96"
+ },
+ {
+ "$ref": "110"
+ },
+ {
+ "$id": "123",
+ "kind": "model",
+ "name": "DeallocateResourceOperationResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse",
+ "usage": "Output,Json",
+ "doc": "The response from a deallocate request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "124",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the operation response",
+ "type": {
+ "$id": "125",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.description",
+ "serializationOptions": {
+ "$id": "126",
+ "json": {
+ "$id": "127",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "128",
+ "kind": "property",
+ "name": "ResourceType",
+ "serializedName": "type",
+ "doc": "The type of resources used in the deallocate request eg virtual machines",
+ "type": {
+ "$id": "129",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.type",
+ "serializationOptions": {
+ "$id": "130",
+ "json": {
+ "$id": "131",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "132",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The location of the deallocate request eg westus",
+ "type": {
+ "$id": "133",
+ "kind": "string",
+ "name": "azureLocation",
+ "crossLanguageDefinitionId": "Azure.Core.azureLocation",
+ "baseType": {
+ "$id": "134",
+ "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": "135",
+ "json": {
+ "$id": "136",
+ "name": "location"
+ }
+ }
+ },
+ {
+ "$id": "137",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "The results from the deallocate request if no errors exist",
+ "type": {
+ "$id": "138",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$id": "139",
+ "kind": "model",
+ "name": "ResourceOperationResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation",
+ "usage": "Output,Json",
+ "doc": "High level response from an operation on a resource",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "140",
+ "kind": "property",
+ "name": "resourceId",
+ "serializedName": "resourceId",
+ "doc": "Unique identifier for the resource involved in the operation, eg ArmId",
+ "type": {
+ "$id": "141",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "142",
+ "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": "143",
+ "json": {
+ "$id": "144",
+ "name": "resourceId"
+ }
+ }
+ },
+ {
+ "$id": "145",
+ "kind": "property",
+ "name": "errorCode",
+ "serializedName": "errorCode",
+ "doc": "Resource level error code if it exists",
+ "type": {
+ "$id": "146",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.errorCode",
+ "serializationOptions": {
+ "$id": "147",
+ "json": {
+ "$id": "148",
+ "name": "errorCode"
+ }
+ }
+ },
+ {
+ "$id": "149",
+ "kind": "property",
+ "name": "errorDetails",
+ "serializedName": "errorDetails",
+ "doc": "Resource level error details if they exist",
+ "type": {
+ "$id": "150",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.errorDetails",
+ "serializationOptions": {
+ "$id": "151",
+ "json": {
+ "$id": "152",
+ "name": "errorDetails"
+ }
+ }
+ },
+ {
+ "$id": "153",
+ "kind": "property",
+ "name": "operation",
+ "serializedName": "operation",
+ "doc": "Details of the operation performed on a resource",
+ "type": {
+ "$id": "154",
+ "kind": "model",
+ "name": "ResourceOperationDetails",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails",
+ "usage": "Output,Json",
+ "doc": "The details of a response from an operation on a resource",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "155",
+ "kind": "property",
+ "name": "operationId",
+ "serializedName": "operationId",
+ "doc": "Operation identifier for the unique operation",
+ "type": {
+ "$id": "156",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.operationId",
+ "serializationOptions": {
+ "$id": "157",
+ "json": {
+ "$id": "158",
+ "name": "operationId"
+ }
+ }
+ },
+ {
+ "$id": "159",
+ "kind": "property",
+ "name": "resourceId",
+ "serializedName": "resourceId",
+ "doc": "Unique identifier for the resource involved in the operation, eg ArmId",
+ "type": {
+ "$id": "160",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "161",
+ "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": "162",
+ "json": {
+ "$id": "163",
+ "name": "resourceId"
+ }
+ }
+ },
+ {
+ "$id": "164",
+ "kind": "property",
+ "name": "opType",
+ "serializedName": "opType",
+ "doc": "Type of operation performed on the resources",
+ "type": {
+ "$ref": "18"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.opType",
+ "serializationOptions": {
+ "$id": "165",
+ "json": {
+ "$id": "166",
+ "name": "opType"
+ }
+ }
+ },
+ {
+ "$id": "167",
+ "kind": "property",
+ "name": "subscriptionId",
+ "serializedName": "subscriptionId",
+ "doc": "Subscription id attached to the request",
+ "type": {
+ "$id": "168",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.subscriptionId",
+ "serializationOptions": {
+ "$id": "169",
+ "json": {
+ "$id": "170",
+ "name": "subscriptionId"
+ }
+ }
+ },
+ {
+ "$id": "171",
+ "kind": "property",
+ "name": "deadline",
+ "serializedName": "deadline",
+ "doc": "Deadline for the operation",
+ "type": {
+ "$id": "172",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "173",
+ "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": "174",
+ "json": {
+ "$id": "175",
+ "name": "deadline"
+ }
+ }
+ },
+ {
+ "$id": "176",
+ "kind": "property",
+ "name": "deadlineType",
+ "serializedName": "deadlineType",
+ "doc": "Type of deadline of the operation",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.deadlineType",
+ "serializationOptions": {
+ "$id": "177",
+ "json": {
+ "$id": "178",
+ "name": "deadlineType"
+ }
+ }
+ },
+ {
+ "$id": "179",
+ "kind": "property",
+ "name": "state",
+ "serializedName": "state",
+ "doc": "Current state of the operation",
+ "type": {
+ "$ref": "28"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.state",
+ "serializationOptions": {
+ "$id": "180",
+ "json": {
+ "$id": "181",
+ "name": "state"
+ }
+ }
+ },
+ {
+ "$id": "182",
+ "kind": "property",
+ "name": "timezone",
+ "serializedName": "timezone",
+ "doc": "Timezone for the operation",
+ "type": {
+ "$id": "183",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.timezone",
+ "serializationOptions": {
+ "$id": "184",
+ "json": {
+ "$id": "185",
+ "name": "timezone"
+ }
+ }
+ },
+ {
+ "$id": "186",
+ "kind": "property",
+ "name": "operationTimezone",
+ "serializedName": "timeZone",
+ "doc": "Timezone for the operation",
+ "type": {
+ "$id": "187",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.timeZone",
+ "serializationOptions": {
+ "$id": "188",
+ "json": {
+ "$id": "189",
+ "name": "timeZone"
+ }
+ }
+ },
+ {
+ "$id": "190",
+ "kind": "property",
+ "name": "resourceOperationError",
+ "serializedName": "resourceOperationError",
+ "doc": "Operation level errors if they exist",
+ "type": {
+ "$id": "191",
+ "kind": "model",
+ "name": "ResourceOperationError",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationError",
+ "usage": "Output,Json",
+ "doc": "These describe errors that occur at the resource level",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "192",
+ "kind": "property",
+ "name": "errorCode",
+ "serializedName": "errorCode",
+ "doc": "Code for the error eg 404, 500",
+ "type": {
+ "$id": "193",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationError.errorCode",
+ "serializationOptions": {
+ "$id": "194",
+ "json": {
+ "$id": "195",
+ "name": "errorCode"
+ }
+ }
+ },
+ {
+ "$id": "196",
+ "kind": "property",
+ "name": "errorDetails",
+ "serializedName": "errorDetails",
+ "doc": "Detailed message about the error",
+ "type": {
+ "$id": "197",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationError.errorDetails",
+ "serializationOptions": {
+ "$id": "198",
+ "json": {
+ "$id": "199",
+ "name": "errorDetails"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.resourceOperationError",
+ "serializationOptions": {
+ "$id": "200",
+ "json": {
+ "$id": "201",
+ "name": "resourceOperationError"
+ }
+ }
+ },
+ {
+ "$id": "202",
+ "kind": "property",
+ "name": "completedAt",
+ "serializedName": "completedAt",
+ "doc": "Time the operation was complete if errors are null",
+ "type": {
+ "$id": "203",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "204",
+ "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": "205",
+ "json": {
+ "$id": "206",
+ "name": "completedAt"
+ }
+ }
+ },
+ {
+ "$id": "207",
+ "kind": "property",
+ "name": "retryPolicy",
+ "serializedName": "retryPolicy",
+ "doc": "Retry policy the user can pass",
+ "type": {
+ "$ref": "96"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperationDetails.retryPolicy",
+ "serializationOptions": {
+ "$id": "208",
+ "json": {
+ "$id": "209",
+ "name": "retryPolicy"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ResourceOperation.operation",
+ "serializationOptions": {
+ "$id": "210",
+ "json": {
+ "$id": "211",
+ "name": "operation"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.DeallocateResourceOperationResponse.results",
+ "serializationOptions": {
+ "$id": "212",
+ "json": {
+ "$id": "213",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "139"
+ },
+ {
+ "$ref": "154"
+ },
+ {
+ "$ref": "191"
+ },
+ {
+ "$id": "214",
+ "kind": "model",
+ "name": "ErrorResponse",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse",
+ "usage": "Error,Json,Exception",
+ "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "215",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "The error object.",
+ "type": {
+ "$id": "216",
+ "kind": "model",
+ "name": "ErrorDetail",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail",
+ "usage": "Json,Exception",
+ "doc": "The error detail.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "217",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "The error code.",
+ "type": {
+ "$id": "218",
+ "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": "219",
+ "json": {
+ "$id": "220",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "221",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "The error message.",
+ "type": {
+ "$id": "222",
+ "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": "223",
+ "json": {
+ "$id": "224",
+ "name": "message"
+ }
+ }
+ },
+ {
+ "$id": "225",
+ "kind": "property",
+ "name": "target",
+ "serializedName": "target",
+ "doc": "The error target.",
+ "type": {
+ "$id": "226",
+ "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": "227",
+ "json": {
+ "$id": "228",
+ "name": "target"
+ }
+ }
+ },
+ {
+ "$id": "229",
+ "kind": "property",
+ "name": "details",
+ "serializedName": "details",
+ "doc": "The error details.",
+ "type": {
+ "$id": "230",
+ "kind": "array",
+ "name": "ArrayErrorDetail",
+ "valueType": {
+ "$ref": "216"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details",
+ "serializationOptions": {
+ "$id": "231",
+ "json": {
+ "$id": "232",
+ "name": "details"
+ }
+ }
+ },
+ {
+ "$id": "233",
+ "kind": "property",
+ "name": "additionalInfo",
+ "serializedName": "additionalInfo",
+ "doc": "The error additional info.",
+ "type": {
+ "$id": "234",
+ "kind": "array",
+ "name": "ArrayErrorAdditionalInfo",
+ "valueType": {
+ "$id": "235",
+ "kind": "model",
+ "name": "ErrorAdditionalInfo",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
+ "usage": "Json,Exception",
+ "doc": "The resource management error additional info.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "236",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The additional info type.",
+ "type": {
+ "$id": "237",
+ "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": "238",
+ "json": {
+ "$id": "239",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "240",
+ "kind": "property",
+ "name": "info",
+ "serializedName": "info",
+ "doc": "The additional info.",
+ "type": {
+ "$id": "241",
+ "kind": "model",
+ "name": "ErrorAdditionalInfoInfo",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "242",
+ "json": {
+ "$id": "243",
+ "name": "info"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo",
+ "serializationOptions": {
+ "$id": "244",
+ "json": {
+ "$id": "245",
+ "name": "additionalInfo"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error",
+ "serializationOptions": {
+ "$id": "246",
+ "json": {
+ "$id": "247",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "216"
+ },
+ {
+ "$ref": "235"
+ },
+ {
+ "$ref": "241"
+ },
+ {
+ "$id": "248",
+ "kind": "model",
+ "name": "SubmitHibernateRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request for hibernate",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "249",
+ "kind": "property",
+ "name": "schedule",
+ "serializedName": "schedule",
+ "doc": "The schedule for the request",
+ "type": {
+ "$ref": "66"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.schedule",
+ "serializationOptions": {
+ "$id": "250",
+ "json": {
+ "$id": "251",
+ "name": "schedule"
+ }
+ }
+ },
+ {
+ "$id": "252",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "91"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "253",
+ "json": {
+ "$id": "254",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "255",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "110"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.resources",
+ "serializationOptions": {
+ "$id": "256",
+ "json": {
+ "$id": "257",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "258",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "259",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitHibernateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "260",
+ "json": {
+ "$id": "261",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "262",
+ "kind": "model",
+ "name": "HibernateResourceOperationResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse",
+ "usage": "Output,Json",
+ "doc": "The response from a Hibernate request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "263",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the operation response",
+ "type": {
+ "$id": "264",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.description",
+ "serializationOptions": {
+ "$id": "265",
+ "json": {
+ "$id": "266",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "267",
+ "kind": "property",
+ "name": "ResourceType",
+ "serializedName": "type",
+ "doc": "The type of resources used in the Hibernate request eg virtual machines",
+ "type": {
+ "$id": "268",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.type",
+ "serializationOptions": {
+ "$id": "269",
+ "json": {
+ "$id": "270",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "271",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The location of the Hibernate request eg westus",
+ "type": {
+ "$id": "272",
+ "kind": "string",
+ "name": "azureLocation",
+ "crossLanguageDefinitionId": "Azure.Core.azureLocation",
+ "baseType": {
+ "$id": "273",
+ "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": "274",
+ "json": {
+ "$id": "275",
+ "name": "location"
+ }
+ }
+ },
+ {
+ "$id": "276",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "The results from the Hibernate request if no errors exist",
+ "type": {
+ "$id": "277",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "139"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.HibernateResourceOperationResponse.results",
+ "serializationOptions": {
+ "$id": "278",
+ "json": {
+ "$id": "279",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "280",
+ "kind": "model",
+ "name": "SubmitStartRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request for start",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "281",
+ "kind": "property",
+ "name": "schedule",
+ "serializedName": "schedule",
+ "doc": "The schedule for the request",
+ "type": {
+ "$ref": "66"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.schedule",
+ "serializationOptions": {
+ "$id": "282",
+ "json": {
+ "$id": "283",
+ "name": "schedule"
+ }
+ }
+ },
+ {
+ "$id": "284",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "91"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "285",
+ "json": {
+ "$id": "286",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "287",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "110"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.resources",
+ "serializationOptions": {
+ "$id": "288",
+ "json": {
+ "$id": "289",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "290",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "291",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.SubmitStartRequest.correlationid",
+ "serializationOptions": {
+ "$id": "292",
+ "json": {
+ "$id": "293",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "294",
+ "kind": "model",
+ "name": "StartResourceOperationResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse",
+ "usage": "Output,Json",
+ "doc": "The response from a start request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "295",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the operation response",
+ "type": {
+ "$id": "296",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.description",
+ "serializationOptions": {
+ "$id": "297",
+ "json": {
+ "$id": "298",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "299",
+ "kind": "property",
+ "name": "ResourceType",
+ "serializedName": "type",
+ "doc": "The type of resources used in the start request eg virtual machines",
+ "type": {
+ "$id": "300",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.type",
+ "serializationOptions": {
+ "$id": "301",
+ "json": {
+ "$id": "302",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "303",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The location of the start request eg westus",
+ "type": {
+ "$id": "304",
+ "kind": "string",
+ "name": "azureLocation",
+ "crossLanguageDefinitionId": "Azure.Core.azureLocation",
+ "baseType": {
+ "$id": "305",
+ "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": "306",
+ "json": {
+ "$id": "307",
+ "name": "location"
+ }
+ }
+ },
+ {
+ "$id": "308",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "The results from the start request if no errors exist",
+ "type": {
+ "$id": "309",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "139"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.StartResourceOperationResponse.results",
+ "serializationOptions": {
+ "$id": "310",
+ "json": {
+ "$id": "311",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "312",
+ "kind": "model",
+ "name": "ExecuteDeallocateRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest",
+ "usage": "Input,Json",
+ "doc": "The ExecuteDeallocateRequest request for executeDeallocate operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "313",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "91"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "314",
+ "json": {
+ "$id": "315",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "316",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "110"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest.resources",
+ "serializationOptions": {
+ "$id": "317",
+ "json": {
+ "$id": "318",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "319",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "320",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteDeallocateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "321",
+ "json": {
+ "$id": "322",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "323",
+ "kind": "model",
+ "name": "ExecuteHibernateRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest",
+ "usage": "Input,Json",
+ "doc": "The ExecuteHibernateRequest request for executeHibernate operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "324",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "91"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "325",
+ "json": {
+ "$id": "326",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "327",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "110"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest.resources",
+ "serializationOptions": {
+ "$id": "328",
+ "json": {
+ "$id": "329",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "330",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "331",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteHibernateRequest.correlationid",
+ "serializationOptions": {
+ "$id": "332",
+ "json": {
+ "$id": "333",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "334",
+ "kind": "model",
+ "name": "ExecuteStartRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest",
+ "usage": "Input,Json",
+ "doc": "The ExecuteStartRequest request for executeStart operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "335",
+ "kind": "property",
+ "name": "executionParameters",
+ "serializedName": "executionParameters",
+ "doc": "The execution parameters for the request",
+ "type": {
+ "$ref": "91"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest.executionParameters",
+ "serializationOptions": {
+ "$id": "336",
+ "json": {
+ "$id": "337",
+ "name": "executionParameters"
+ }
+ }
+ },
+ {
+ "$id": "338",
+ "kind": "property",
+ "name": "resources",
+ "serializedName": "resources",
+ "doc": "The resources for the request",
+ "type": {
+ "$ref": "110"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest.resources",
+ "serializationOptions": {
+ "$id": "339",
+ "json": {
+ "$id": "340",
+ "name": "resources"
+ }
+ }
+ },
+ {
+ "$id": "341",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "342",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ExecuteStartRequest.correlationid",
+ "serializationOptions": {
+ "$id": "343",
+ "json": {
+ "$id": "344",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "345",
+ "kind": "model",
+ "name": "GetOperationStatusRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request to get operation status using operationids",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "346",
+ "kind": "property",
+ "name": "operationIds",
+ "serializedName": "operationIds",
+ "doc": "The list of operation ids to get the status of",
+ "type": {
+ "$id": "347",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "348",
+ "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": "349",
+ "json": {
+ "$id": "350",
+ "name": "operationIds"
+ }
+ }
+ },
+ {
+ "$id": "351",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "352",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusRequest.correlationid",
+ "serializationOptions": {
+ "$id": "353",
+ "json": {
+ "$id": "354",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "355",
+ "kind": "model",
+ "name": "GetOperationStatusResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusResponse",
+ "usage": "Output,Json",
+ "doc": "This is the response from a get operations status request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "356",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "An array of resource operations based on their operation ids",
+ "type": {
+ "$id": "357",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "139"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationStatusResponse.results",
+ "serializationOptions": {
+ "$id": "358",
+ "json": {
+ "$id": "359",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "360",
+ "kind": "model",
+ "name": "CancelOperationsRequest",
+ "namespace": "Microsoft.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": "361",
+ "kind": "property",
+ "name": "operationIds",
+ "serializedName": "operationIds",
+ "doc": "The list of operation ids to cancel operations on",
+ "type": {
+ "$id": "362",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "363",
+ "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": "364",
+ "json": {
+ "$id": "365",
+ "name": "operationIds"
+ }
+ }
+ },
+ {
+ "$id": "366",
+ "kind": "property",
+ "name": "correlationId",
+ "serializedName": "correlationid",
+ "doc": "CorrelationId item",
+ "type": {
+ "$id": "367",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsRequest.correlationid",
+ "serializationOptions": {
+ "$id": "368",
+ "json": {
+ "$id": "369",
+ "name": "correlationid"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "370",
+ "kind": "model",
+ "name": "CancelOperationsResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsResponse",
+ "usage": "Output,Json",
+ "doc": "This is the response from a cancel operations request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "371",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "An array of resource operations that were successfully cancelled",
+ "type": {
+ "$id": "372",
+ "kind": "array",
+ "name": "ArrayResourceOperation",
+ "valueType": {
+ "$ref": "139"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.CancelOperationsResponse.results",
+ "serializationOptions": {
+ "$id": "373",
+ "json": {
+ "$id": "374",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "375",
+ "kind": "model",
+ "name": "GetOperationErrorsRequest",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsRequest",
+ "usage": "Input,Json",
+ "doc": "This is the request to get errors per vm operations",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "376",
+ "kind": "property",
+ "name": "operationIds",
+ "serializedName": "operationIds",
+ "doc": "The list of operation ids to query errors of",
+ "type": {
+ "$id": "377",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "378",
+ "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": "379",
+ "json": {
+ "$id": "380",
+ "name": "operationIds"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "381",
+ "kind": "model",
+ "name": "GetOperationErrorsResult",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsResponse",
+ "usage": "Output,Json",
+ "doc": "This is the response from a get operations errors request",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "382",
+ "kind": "property",
+ "name": "results",
+ "serializedName": "results",
+ "doc": "An array of operationids and their corresponding errors if any",
+ "type": {
+ "$id": "383",
+ "kind": "array",
+ "name": "ArrayOperationErrorsResult",
+ "valueType": {
+ "$id": "384",
+ "kind": "model",
+ "name": "OperationErrorsResult",
+ "namespace": "Microsoft.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": "385",
+ "kind": "property",
+ "name": "operationId",
+ "serializedName": "operationId",
+ "doc": "The operationId identifying a vm operation",
+ "type": {
+ "$id": "386",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.operationId",
+ "serializationOptions": {
+ "$id": "387",
+ "json": {
+ "$id": "388",
+ "name": "operationId"
+ }
+ }
+ },
+ {
+ "$id": "389",
+ "kind": "property",
+ "name": "creationTime",
+ "serializedName": "creationTime",
+ "doc": "The creation time of the error result",
+ "type": {
+ "$id": "390",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "391",
+ "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": "392",
+ "json": {
+ "$id": "393",
+ "name": "creationTime"
+ }
+ }
+ },
+ {
+ "$id": "394",
+ "kind": "property",
+ "name": "activationTime",
+ "serializedName": "activationTime",
+ "doc": "The activation time of a vm operation",
+ "type": {
+ "$id": "395",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "396",
+ "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": "397",
+ "json": {
+ "$id": "398",
+ "name": "activationTime"
+ }
+ }
+ },
+ {
+ "$id": "399",
+ "kind": "property",
+ "name": "completedAt",
+ "serializedName": "completedAt",
+ "doc": "The completion time of the operation if the operation was completed",
+ "type": {
+ "$id": "400",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "401",
+ "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": "402",
+ "json": {
+ "$id": "403",
+ "name": "completedAt"
+ }
+ }
+ },
+ {
+ "$id": "404",
+ "kind": "property",
+ "name": "operationErrors",
+ "serializedName": "operationErrors",
+ "doc": "A list of errors associated with the operationid",
+ "type": {
+ "$id": "405",
+ "kind": "array",
+ "name": "ArrayOperationErrorDetails",
+ "valueType": {
+ "$id": "406",
+ "kind": "model",
+ "name": "OperationErrorDetails",
+ "namespace": "Microsoft.ComputeSchedule",
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails",
+ "usage": "Output,Json",
+ "doc": "This defines a list of operation errors associated with a unique operationId",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "407",
+ "kind": "property",
+ "name": "errorCode",
+ "serializedName": "errorCode",
+ "doc": "The error code of the operation",
+ "type": {
+ "$id": "408",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.errorCode",
+ "serializationOptions": {
+ "$id": "409",
+ "json": {
+ "$id": "410",
+ "name": "errorCode"
+ }
+ }
+ },
+ {
+ "$id": "411",
+ "kind": "property",
+ "name": "errorDetails",
+ "serializedName": "errorDetails",
+ "doc": "The error details of the operation",
+ "type": {
+ "$id": "412",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.errorDetails",
+ "serializationOptions": {
+ "$id": "413",
+ "json": {
+ "$id": "414",
+ "name": "errorDetails"
+ }
+ }
+ },
+ {
+ "$id": "415",
+ "kind": "property",
+ "name": "timestamp",
+ "serializedName": "timestamp",
+ "doc": "The timestamp of the error occurence",
+ "type": {
+ "$id": "416",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "417",
+ "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": "418",
+ "json": {
+ "$id": "419",
+ "name": "timestamp"
+ }
+ }
+ },
+ {
+ "$id": "420",
+ "kind": "property",
+ "name": "errorDetailsTimestamp",
+ "serializedName": "timeStamp",
+ "doc": "The timestamp of the error occurence",
+ "type": {
+ "$id": "421",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "422",
+ "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": "423",
+ "json": {
+ "$id": "424",
+ "name": "timeStamp"
+ }
+ }
+ },
+ {
+ "$id": "425",
+ "kind": "property",
+ "name": "azureOperationName",
+ "serializedName": "azureOperationName",
+ "doc": "The compute operationid of the Start/Deallocate/Hibernate request",
+ "type": {
+ "$id": "426",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.azureOperationName",
+ "serializationOptions": {
+ "$id": "427",
+ "json": {
+ "$id": "428",
+ "name": "azureOperationName"
+ }
+ }
+ },
+ {
+ "$id": "429",
+ "kind": "property",
+ "name": "crpOperationId",
+ "serializedName": "crpOperationId",
+ "doc": "The compute operationid of the Start/Deallocate/Hibernate request",
+ "type": {
+ "$id": "430",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorDetails.crpOperationId",
+ "serializationOptions": {
+ "$id": "431",
+ "json": {
+ "$id": "432",
+ "name": "crpOperationId"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.operationErrors",
+ "serializationOptions": {
+ "$id": "433",
+ "json": {
+ "$id": "434",
+ "name": "operationErrors"
+ }
+ }
+ },
+ {
+ "$id": "435",
+ "kind": "property",
+ "name": "requestErrorCode",
+ "serializedName": "requestErrorCode",
+ "doc": "Request level error code",
+ "type": {
+ "$id": "436",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.requestErrorCode",
+ "serializationOptions": {
+ "$id": "437",
+ "json": {
+ "$id": "438",
+ "name": "requestErrorCode"
+ }
+ }
+ },
+ {
+ "$id": "439",
+ "kind": "property",
+ "name": "requestErrorDetails",
+ "serializedName": "requestErrorDetails",
+ "doc": "Request level error details",
+ "type": {
+ "$id": "440",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.OperationErrorsResult.requestErrorDetails",
+ "serializationOptions": {
+ "$id": "441",
+ "json": {
+ "$id": "442",
+ "name": "requestErrorDetails"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.GetOperationErrorsResponse.results",
+ "serializationOptions": {
+ "$id": "443",
+ "json": {
+ "$id": "444",
+ "name": "results"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "384"
+ },
+ {
+ "$ref": "406"
+ },
+ {
+ "$id": "445",
+ "kind": "model",
+ "name": "OperationListResult",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "446",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Operation items on this page",
+ "type": {
+ "$id": "447",
+ "kind": "array",
+ "name": "ArrayOperation",
+ "valueType": {
+ "$id": "448",
+ "kind": "model",
+ "name": "Operation",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "449",
+ "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": "450",
+ "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": "451",
+ "json": {
+ "$id": "452",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "453",
+ "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": "454",
+ "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": "455",
+ "json": {
+ "$id": "456",
+ "name": "isDataAction"
+ }
+ }
+ },
+ {
+ "$id": "457",
+ "kind": "property",
+ "name": "display",
+ "serializedName": "display",
+ "doc": "Localized display information for this particular operation.",
+ "type": {
+ "$id": "458",
+ "kind": "model",
+ "name": "OperationDisplay",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay",
+ "usage": "Output,Json",
+ "doc": "Localized display information for and operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "459",
+ "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": "460",
+ "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": "461",
+ "json": {
+ "$id": "462",
+ "name": "provider"
+ }
+ }
+ },
+ {
+ "$id": "463",
+ "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": "464",
+ "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": "465",
+ "json": {
+ "$id": "466",
+ "name": "resource"
+ }
+ }
+ },
+ {
+ "$id": "467",
+ "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": "468",
+ "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": "469",
+ "json": {
+ "$id": "470",
+ "name": "operation"
+ }
+ }
+ },
+ {
+ "$id": "471",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
+ "type": {
+ "$id": "472",
+ "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": "473",
+ "json": {
+ "$id": "474",
+ "name": "description"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display",
+ "serializationOptions": {
+ "$id": "475",
+ "json": {
+ "$id": "476",
+ "name": "display"
+ }
+ }
+ },
+ {
+ "$id": "477",
+ "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": "48"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin",
+ "serializationOptions": {
+ "$id": "478",
+ "json": {
+ "$id": "479",
+ "name": "origin"
+ }
+ }
+ },
+ {
+ "$id": "480",
+ "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": "56"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType",
+ "serializationOptions": {
+ "$id": "481",
+ "json": {
+ "$id": "482",
+ "name": "actionType"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value",
+ "serializationOptions": {
+ "$id": "483",
+ "json": {
+ "$id": "484",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "485",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "486",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "487",
+ "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": "488",
+ "json": {
+ "$id": "489",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "448"
+ },
+ {
+ "$ref": "458"
+ }
+ ],
+ "clients": [
+ {
+ "$id": "490",
+ "name": "ComputeScheduleClient",
+ "namespace": "Microsoft.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": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule"
+ },
+ {
+ "$id": "495",
+ "name": "Operations",
+ "namespace": "Microsoft.ComputeSchedule",
+ "operations": [
+ {
+ "$id": "496",
+ "name": "list",
+ "resourceName": "Operations",
+ "doc": "List the operations for the provider",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "497",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "498",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "499",
+ "type": {
+ "$id": "500",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "501",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "502",
+ "kind": "constant",
+ "valueType": {
+ "$id": "503",
+ "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": "504",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "445"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/providers/Microsoft.ComputeSchedule/operations",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "505",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "506",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "507",
+ "kind": "http",
+ "name": "Operations_List",
+ "description": "Operations_List",
+ "filePath": "2024-10-01/Operations_List.json",
+ "parameters": [
+ {
+ "$id": "508",
+ "parameter": {
+ "$ref": "497"
+ },
+ "value": {
+ "$id": "509",
+ "kind": "string",
+ "type": {
+ "$ref": "498"
+ },
+ "value": "2024-10-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "510",
+ "response": {
+ "$ref": "504"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "511",
+ "kind": "model",
+ "type": {
+ "$ref": "445"
+ },
+ "value": {
+ "$id": "512",
+ "value": {
+ "$id": "513",
+ "kind": "array",
+ "type": {
+ "$ref": "447"
+ },
+ "value": [
+ {
+ "$id": "514",
+ "kind": "model",
+ "type": {
+ "$ref": "448"
+ },
+ "value": {
+ "$id": "515",
+ "name": {
+ "$id": "516",
+ "kind": "string",
+ "type": {
+ "$ref": "450"
+ },
+ "value": "mtiwosbky"
+ },
+ "isDataAction": {
+ "$id": "517",
+ "kind": "boolean",
+ "type": {
+ "$ref": "454"
+ },
+ "value": true
+ },
+ "display": {
+ "$id": "518",
+ "kind": "model",
+ "type": {
+ "$ref": "458"
+ },
+ "value": {
+ "$id": "519",
+ "provider": {
+ "$id": "520",
+ "kind": "string",
+ "type": {
+ "$ref": "460"
+ },
+ "value": "vtlhmqtfhlyllnplzpdpq"
+ },
+ "resource": {
+ "$id": "521",
+ "kind": "string",
+ "type": {
+ "$ref": "464"
+ },
+ "value": "epj"
+ },
+ "operation": {
+ "$id": "522",
+ "kind": "string",
+ "type": {
+ "$ref": "468"
+ },
+ "value": "tuneyqwanedwnnbztrmq"
+ },
+ "description": {
+ "$id": "523",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "moyje"
+ }
+ }
+ },
+ "origin": {
+ "$id": "524",
+ "kind": "string",
+ "type": {
+ "$ref": "48"
+ },
+ "value": "user"
+ },
+ "actionType": {
+ "$id": "525",
+ "kind": "string",
+ "type": {
+ "$ref": "56"
+ },
+ "value": "Internal"
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "526",
+ "kind": "string",
+ "type": {
+ "$ref": "486"
+ },
+ "value": "https://microsoft.com/a"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parent": "ComputeScheduleClient",
+ "parameters": [
+ {
+ "$id": "527",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "528",
+ "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": "529",
+ "type": {
+ "$id": "530",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.Operations"
+ },
+ {
+ "$id": "531",
+ "name": "ScheduledActions",
+ "namespace": "Microsoft.ComputeSchedule",
+ "operations": [
+ {
+ "$id": "532",
+ "name": "SubmitVirtualMachineDeallocate",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesSubmitDeallocate: Schedule deallocate operation for a batch of virtual machines at datetime in future.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "533",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "534",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "535",
+ "type": {
+ "$id": "536",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "537",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "538",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "539",
+ "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": "540",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "541",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "542",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "543",
+ "kind": "constant",
+ "valueType": {
+ "$id": "544",
+ "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": "545",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "548",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "64"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "549",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "123"
+ },
+ "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": "550",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesSubmitDeallocate",
+ "description": "ScheduledActions_VirtualMachinesSubmitDeallocate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesSubmitDeallocate.json",
+ "parameters": [
+ {
+ "$id": "551",
+ "parameter": {
+ "$ref": "533"
+ },
+ "value": {
+ "$id": "552",
+ "kind": "string",
+ "type": {
+ "$ref": "534"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "553",
+ "parameter": {
+ "$ref": "537"
+ },
+ "value": {
+ "$id": "554",
+ "kind": "string",
+ "type": {
+ "$ref": "538"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "555",
+ "parameter": {
+ "$ref": "540"
+ },
+ "value": {
+ "$id": "556",
+ "kind": "string",
+ "type": {
+ "$ref": "541"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "557",
+ "parameter": {
+ "$ref": "548"
+ },
+ "value": {
+ "$id": "558",
+ "kind": "model",
+ "type": {
+ "$ref": "64"
+ },
+ "value": {
+ "$id": "559",
+ "schedule": {
+ "$id": "560",
+ "kind": "model",
+ "type": {
+ "$ref": "66"
+ },
+ "value": {
+ "$id": "561",
+ "deadline": {
+ "$id": "562",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "2024-11-01T17:52:54.215Z"
+ },
+ "timezone": {
+ "$id": "563",
+ "kind": "string",
+ "type": {
+ "$ref": "78"
+ },
+ "value": "UTC"
+ },
+ "deadlineType": {
+ "$id": "564",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ }
+ }
+ },
+ "executionParameters": {
+ "$id": "565",
+ "kind": "model",
+ "type": {
+ "$ref": "91"
+ },
+ "value": {
+ "$id": "566",
+ "retryPolicy": {
+ "$id": "567",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "568",
+ "retryCount": {
+ "$id": "569",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "570",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "571",
+ "kind": "model",
+ "type": {
+ "$ref": "110"
+ },
+ "value": {
+ "$id": "572",
+ "ids": {
+ "$id": "573",
+ "kind": "array",
+ "type": {
+ "$ref": "112"
+ },
+ "value": [
+ {
+ "$id": "574",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "575",
+ "kind": "string",
+ "type": {
+ "$ref": "120"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "576",
+ "response": {
+ "$ref": "549"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "577",
+ "kind": "model",
+ "type": {
+ "$ref": "123"
+ },
+ "value": {
+ "$id": "578",
+ "type": {
+ "$id": "579",
+ "kind": "string",
+ "type": {
+ "$ref": "129"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "580",
+ "kind": "string",
+ "type": {
+ "$ref": "133"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "581",
+ "kind": "array",
+ "type": {
+ "$ref": "138"
+ },
+ "value": [
+ {
+ "$id": "582",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "583",
+ "resourceId": {
+ "$id": "584",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "585",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "586",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "587",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "588",
+ "operationId": {
+ "$id": "589",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "590",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "591",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "592",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "593",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "594",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "595",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "596",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "597",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "598",
+ "errorCode": {
+ "$id": "599",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "600",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "601",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "602",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "603",
+ "retryCount": {
+ "$id": "604",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "605",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "606",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "607",
+ "kind": "string",
+ "type": {
+ "$ref": "125"
+ },
+ "value": "Deallocate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "608",
+ "name": "SubmitVirtualMachineHibernate",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesSubmitHibernate: Schedule hibernate operation for a batch of virtual machines at datetime in future.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "609",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "610",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "611",
+ "type": {
+ "$id": "612",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "613",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "614",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "615",
+ "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": "616",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "617",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "618",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "619",
+ "kind": "constant",
+ "valueType": {
+ "$id": "620",
+ "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": "621",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "624",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "248"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "625",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "262"
+ },
+ "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": "626",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesSubmitHibernate",
+ "description": "ScheduledActions_VirtualMachinesSubmitHibernate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesSubmitHibernate.json",
+ "parameters": [
+ {
+ "$id": "627",
+ "parameter": {
+ "$ref": "609"
+ },
+ "value": {
+ "$id": "628",
+ "kind": "string",
+ "type": {
+ "$ref": "610"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "629",
+ "parameter": {
+ "$ref": "613"
+ },
+ "value": {
+ "$id": "630",
+ "kind": "string",
+ "type": {
+ "$ref": "614"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "631",
+ "parameter": {
+ "$ref": "616"
+ },
+ "value": {
+ "$id": "632",
+ "kind": "string",
+ "type": {
+ "$ref": "617"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "633",
+ "parameter": {
+ "$ref": "624"
+ },
+ "value": {
+ "$id": "634",
+ "kind": "model",
+ "type": {
+ "$ref": "248"
+ },
+ "value": {
+ "$id": "635",
+ "schedule": {
+ "$id": "636",
+ "kind": "model",
+ "type": {
+ "$ref": "66"
+ },
+ "value": {
+ "$id": "637",
+ "deadline": {
+ "$id": "638",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "2024-11-01T17:52:54.215Z"
+ },
+ "timezone": {
+ "$id": "639",
+ "kind": "string",
+ "type": {
+ "$ref": "78"
+ },
+ "value": "UTC"
+ },
+ "deadlineType": {
+ "$id": "640",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ }
+ }
+ },
+ "executionParameters": {
+ "$id": "641",
+ "kind": "model",
+ "type": {
+ "$ref": "91"
+ },
+ "value": {
+ "$id": "642",
+ "retryPolicy": {
+ "$id": "643",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "644",
+ "retryCount": {
+ "$id": "645",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "646",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "647",
+ "kind": "model",
+ "type": {
+ "$ref": "110"
+ },
+ "value": {
+ "$id": "648",
+ "ids": {
+ "$id": "649",
+ "kind": "array",
+ "type": {
+ "$ref": "112"
+ },
+ "value": [
+ {
+ "$id": "650",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "651",
+ "kind": "string",
+ "type": {
+ "$ref": "259"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "652",
+ "response": {
+ "$ref": "625"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "653",
+ "kind": "model",
+ "type": {
+ "$ref": "262"
+ },
+ "value": {
+ "$id": "654",
+ "type": {
+ "$id": "655",
+ "kind": "string",
+ "type": {
+ "$ref": "268"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "656",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "657",
+ "kind": "array",
+ "type": {
+ "$ref": "277"
+ },
+ "value": [
+ {
+ "$id": "658",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "659",
+ "resourceId": {
+ "$id": "660",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "661",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "662",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "663",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "664",
+ "operationId": {
+ "$id": "665",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "666",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "667",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Hibernate"
+ },
+ "subscriptionId": {
+ "$id": "668",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "669",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "670",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "671",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "672",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "673",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "674",
+ "errorCode": {
+ "$id": "675",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "676",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "677",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "678",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "679",
+ "retryCount": {
+ "$id": "680",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "681",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "682",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "683",
+ "kind": "string",
+ "type": {
+ "$ref": "264"
+ },
+ "value": "Hibernate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "684",
+ "name": "SubmitVirtualMachineStart",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesSubmitStart: Schedule start operation for a batch of virtual machines at datetime in future.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "685",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "686",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "687",
+ "type": {
+ "$id": "688",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "689",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "690",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "691",
+ "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": "692",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "693",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "694",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "695",
+ "kind": "constant",
+ "valueType": {
+ "$id": "696",
+ "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": "697",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "700",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "280"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "701",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "294"
+ },
+ "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": "702",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesSubmitStart",
+ "description": "ScheduledActions_VirtualMachinesSubmitStart",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesSubmitStart.json",
+ "parameters": [
+ {
+ "$id": "703",
+ "parameter": {
+ "$ref": "685"
+ },
+ "value": {
+ "$id": "704",
+ "kind": "string",
+ "type": {
+ "$ref": "686"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "705",
+ "parameter": {
+ "$ref": "689"
+ },
+ "value": {
+ "$id": "706",
+ "kind": "string",
+ "type": {
+ "$ref": "690"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "707",
+ "parameter": {
+ "$ref": "692"
+ },
+ "value": {
+ "$id": "708",
+ "kind": "string",
+ "type": {
+ "$ref": "693"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "709",
+ "parameter": {
+ "$ref": "700"
+ },
+ "value": {
+ "$id": "710",
+ "kind": "model",
+ "type": {
+ "$ref": "280"
+ },
+ "value": {
+ "$id": "711",
+ "schedule": {
+ "$id": "712",
+ "kind": "model",
+ "type": {
+ "$ref": "66"
+ },
+ "value": {
+ "$id": "713",
+ "deadline": {
+ "$id": "714",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "2024-11-01T17:52:54.215Z"
+ },
+ "timezone": {
+ "$id": "715",
+ "kind": "string",
+ "type": {
+ "$ref": "78"
+ },
+ "value": "UTC"
+ },
+ "deadlineType": {
+ "$id": "716",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ }
+ }
+ },
+ "executionParameters": {
+ "$id": "717",
+ "kind": "model",
+ "type": {
+ "$ref": "91"
+ },
+ "value": {
+ "$id": "718",
+ "retryPolicy": {
+ "$id": "719",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "720",
+ "retryCount": {
+ "$id": "721",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "722",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "723",
+ "kind": "model",
+ "type": {
+ "$ref": "110"
+ },
+ "value": {
+ "$id": "724",
+ "ids": {
+ "$id": "725",
+ "kind": "array",
+ "type": {
+ "$ref": "112"
+ },
+ "value": [
+ {
+ "$id": "726",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "727",
+ "kind": "string",
+ "type": {
+ "$ref": "291"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "728",
+ "response": {
+ "$ref": "701"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "729",
+ "kind": "model",
+ "type": {
+ "$ref": "294"
+ },
+ "value": {
+ "$id": "730",
+ "type": {
+ "$id": "731",
+ "kind": "string",
+ "type": {
+ "$ref": "300"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "732",
+ "kind": "string",
+ "type": {
+ "$ref": "304"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "733",
+ "kind": "array",
+ "type": {
+ "$ref": "309"
+ },
+ "value": [
+ {
+ "$id": "734",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "735",
+ "resourceId": {
+ "$id": "736",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "737",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "738",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "739",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "740",
+ "operationId": {
+ "$id": "741",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "742",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "743",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Start"
+ },
+ "subscriptionId": {
+ "$id": "744",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "745",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "746",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "747",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "748",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "749",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "750",
+ "errorCode": {
+ "$id": "751",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "752",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "753",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "754",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "755",
+ "retryCount": {
+ "$id": "756",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "757",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "758",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "759",
+ "kind": "string",
+ "type": {
+ "$ref": "296"
+ },
+ "value": "Start Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "760",
+ "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": "761",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "762",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "763",
+ "type": {
+ "$id": "764",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "765",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "766",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "767",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "768",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "769",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "770",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "771",
+ "kind": "constant",
+ "valueType": {
+ "$id": "772",
+ "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": "773",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "776",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "312"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "777",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "123"
+ },
+ "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": "778",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesExecuteDeallocate",
+ "description": "ScheduledActions_VirtualMachinesExecuteDeallocate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesExecuteDeallocate.json",
+ "parameters": [
+ {
+ "$id": "779",
+ "parameter": {
+ "$ref": "761"
+ },
+ "value": {
+ "$id": "780",
+ "kind": "string",
+ "type": {
+ "$ref": "762"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "781",
+ "parameter": {
+ "$ref": "765"
+ },
+ "value": {
+ "$id": "782",
+ "kind": "string",
+ "type": {
+ "$ref": "766"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "783",
+ "parameter": {
+ "$ref": "768"
+ },
+ "value": {
+ "$id": "784",
+ "kind": "string",
+ "type": {
+ "$ref": "769"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "785",
+ "parameter": {
+ "$ref": "776"
+ },
+ "value": {
+ "$id": "786",
+ "kind": "model",
+ "type": {
+ "$ref": "312"
+ },
+ "value": {
+ "$id": "787",
+ "executionParameters": {
+ "$id": "788",
+ "kind": "model",
+ "type": {
+ "$ref": "91"
+ },
+ "value": {
+ "$id": "789",
+ "retryPolicy": {
+ "$id": "790",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "791",
+ "retryCount": {
+ "$id": "792",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "793",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "794",
+ "kind": "model",
+ "type": {
+ "$ref": "110"
+ },
+ "value": {
+ "$id": "795",
+ "ids": {
+ "$id": "796",
+ "kind": "array",
+ "type": {
+ "$ref": "112"
+ },
+ "value": [
+ {
+ "$id": "797",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "798",
+ "kind": "string",
+ "type": {
+ "$ref": "320"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "799",
+ "response": {
+ "$ref": "777"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "800",
+ "kind": "model",
+ "type": {
+ "$ref": "123"
+ },
+ "value": {
+ "$id": "801",
+ "type": {
+ "$id": "802",
+ "kind": "string",
+ "type": {
+ "$ref": "129"
+ },
+ "value": "VirtualMachine"
+ },
+ "location": {
+ "$id": "803",
+ "kind": "string",
+ "type": {
+ "$ref": "133"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "804",
+ "kind": "array",
+ "type": {
+ "$ref": "138"
+ },
+ "value": [
+ {
+ "$id": "805",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "806",
+ "resourceId": {
+ "$id": "807",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "808",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "809",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "810",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "811",
+ "operationId": {
+ "$id": "812",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "813",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "814",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "815",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "816",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "817",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "818",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "819",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "820",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "821",
+ "errorCode": {
+ "$id": "822",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "823",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "824",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "825",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "826",
+ "retryCount": {
+ "$id": "827",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "828",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "829",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "830",
+ "kind": "string",
+ "type": {
+ "$ref": "125"
+ },
+ "value": "Deallocate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "831",
+ "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": "832",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "833",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "834",
+ "type": {
+ "$id": "835",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "836",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "837",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "838",
+ "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": "839",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "840",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "841",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "842",
+ "kind": "constant",
+ "valueType": {
+ "$id": "843",
+ "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": "844",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "847",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "323"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "848",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "262"
+ },
+ "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": "849",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesExecuteHibernate",
+ "description": "ScheduledActions_VirtualMachinesExecuteHibernate",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesExecuteHibernate.json",
+ "parameters": [
+ {
+ "$id": "850",
+ "parameter": {
+ "$ref": "832"
+ },
+ "value": {
+ "$id": "851",
+ "kind": "string",
+ "type": {
+ "$ref": "833"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "852",
+ "parameter": {
+ "$ref": "836"
+ },
+ "value": {
+ "$id": "853",
+ "kind": "string",
+ "type": {
+ "$ref": "837"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "854",
+ "parameter": {
+ "$ref": "839"
+ },
+ "value": {
+ "$id": "855",
+ "kind": "string",
+ "type": {
+ "$ref": "840"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "856",
+ "parameter": {
+ "$ref": "847"
+ },
+ "value": {
+ "$id": "857",
+ "kind": "model",
+ "type": {
+ "$ref": "323"
+ },
+ "value": {
+ "$id": "858",
+ "executionParameters": {
+ "$id": "859",
+ "kind": "model",
+ "type": {
+ "$ref": "91"
+ },
+ "value": {
+ "$id": "860",
+ "retryPolicy": {
+ "$id": "861",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "862",
+ "retryCount": {
+ "$id": "863",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "864",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "865",
+ "kind": "model",
+ "type": {
+ "$ref": "110"
+ },
+ "value": {
+ "$id": "866",
+ "ids": {
+ "$id": "867",
+ "kind": "array",
+ "type": {
+ "$ref": "112"
+ },
+ "value": [
+ {
+ "$id": "868",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "869",
+ "kind": "string",
+ "type": {
+ "$ref": "331"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "870",
+ "response": {
+ "$ref": "848"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "871",
+ "kind": "model",
+ "type": {
+ "$ref": "262"
+ },
+ "value": {
+ "$id": "872",
+ "type": {
+ "$id": "873",
+ "kind": "string",
+ "type": {
+ "$ref": "268"
+ },
+ "value": "VirtualMachine"
+ },
+ "location": {
+ "$id": "874",
+ "kind": "string",
+ "type": {
+ "$ref": "272"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "875",
+ "kind": "array",
+ "type": {
+ "$ref": "277"
+ },
+ "value": [
+ {
+ "$id": "876",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "877",
+ "resourceId": {
+ "$id": "878",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "879",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "880",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "881",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "882",
+ "operationId": {
+ "$id": "883",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "884",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "885",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Hibernate"
+ },
+ "subscriptionId": {
+ "$id": "886",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "887",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "888",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "889",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "890",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "891",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "892",
+ "errorCode": {
+ "$id": "893",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "894",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "895",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "896",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "897",
+ "retryCount": {
+ "$id": "898",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 5
+ },
+ "retryWindowInMinutes": {
+ "$id": "899",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "900",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "901",
+ "kind": "string",
+ "type": {
+ "$ref": "264"
+ },
+ "value": "Hibernate Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "902",
+ "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": "903",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "904",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "905",
+ "type": {
+ "$id": "906",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "907",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "908",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "909",
+ "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": "910",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "911",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "912",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "913",
+ "kind": "constant",
+ "valueType": {
+ "$id": "914",
+ "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": "915",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "918",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "334"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "919",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "294"
+ },
+ "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": "920",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesExecuteStart",
+ "description": "ScheduledActions_VirtualMachinesExecuteStart",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesExecuteStart.json",
+ "parameters": [
+ {
+ "$id": "921",
+ "parameter": {
+ "$ref": "903"
+ },
+ "value": {
+ "$id": "922",
+ "kind": "string",
+ "type": {
+ "$ref": "904"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "923",
+ "parameter": {
+ "$ref": "907"
+ },
+ "value": {
+ "$id": "924",
+ "kind": "string",
+ "type": {
+ "$ref": "908"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "925",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "926",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "927",
+ "parameter": {
+ "$ref": "918"
+ },
+ "value": {
+ "$id": "928",
+ "kind": "model",
+ "type": {
+ "$ref": "334"
+ },
+ "value": {
+ "$id": "929",
+ "executionParameters": {
+ "$id": "930",
+ "kind": "model",
+ "type": {
+ "$ref": "91"
+ },
+ "value": {
+ "$id": "931",
+ "retryPolicy": {
+ "$id": "932",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "933",
+ "retryCount": {
+ "$id": "934",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "935",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ }
+ }
+ },
+ "resources": {
+ "$id": "936",
+ "kind": "model",
+ "type": {
+ "$ref": "110"
+ },
+ "value": {
+ "$id": "937",
+ "ids": {
+ "$id": "938",
+ "kind": "array",
+ "type": {
+ "$ref": "112"
+ },
+ "value": [
+ {
+ "$id": "939",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ }
+ ]
+ }
+ }
+ },
+ "correlationid": {
+ "$id": "940",
+ "kind": "string",
+ "type": {
+ "$ref": "342"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "941",
+ "response": {
+ "$ref": "919"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "942",
+ "kind": "model",
+ "type": {
+ "$ref": "294"
+ },
+ "value": {
+ "$id": "943",
+ "type": {
+ "$id": "944",
+ "kind": "string",
+ "type": {
+ "$ref": "300"
+ },
+ "value": "virtualMachine"
+ },
+ "location": {
+ "$id": "945",
+ "kind": "string",
+ "type": {
+ "$ref": "304"
+ },
+ "value": "eastus2euap"
+ },
+ "results": {
+ "$id": "946",
+ "kind": "array",
+ "type": {
+ "$ref": "309"
+ },
+ "value": [
+ {
+ "$id": "947",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "948",
+ "resourceId": {
+ "$id": "949",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "950",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "951",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "952",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "953",
+ "operationId": {
+ "$id": "954",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "955",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "956",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Start"
+ },
+ "subscriptionId": {
+ "$id": "957",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "958",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "959",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "960",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "961",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "962",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "963",
+ "errorCode": {
+ "$id": "964",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "965",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "966",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "967",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "968",
+ "retryCount": {
+ "$id": "969",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 2
+ },
+ "retryWindowInMinutes": {
+ "$id": "970",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "971",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "description": {
+ "$id": "972",
+ "kind": "string",
+ "type": {
+ "$ref": "296"
+ },
+ "value": "Start Resource Request"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "973",
+ "name": "GetVirtualMachineOperationStatus",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "974",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "975",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "976",
+ "type": {
+ "$id": "977",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "978",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "979",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "980",
+ "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": "981",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "982",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "983",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "984",
+ "kind": "constant",
+ "valueType": {
+ "$id": "985",
+ "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": "986",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "989",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "345"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "990",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "355"
+ },
+ "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": "991",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesGetOperationStatus",
+ "description": "ScheduledActions_VirtualMachinesGetOperationStatus",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesGetOperationStatus.json",
+ "parameters": [
+ {
+ "$id": "992",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "993",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "994",
+ "parameter": {
+ "$ref": "978"
+ },
+ "value": {
+ "$id": "995",
+ "kind": "string",
+ "type": {
+ "$ref": "979"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "996",
+ "parameter": {
+ "$ref": "981"
+ },
+ "value": {
+ "$id": "997",
+ "kind": "string",
+ "type": {
+ "$ref": "982"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "998",
+ "parameter": {
+ "$ref": "989"
+ },
+ "value": {
+ "$id": "999",
+ "kind": "model",
+ "type": {
+ "$ref": "345"
+ },
+ "value": {
+ "$id": "1000",
+ "operationIds": {
+ "$id": "1001",
+ "kind": "array",
+ "type": {
+ "$ref": "347"
+ },
+ "value": [
+ {
+ "$id": "1002",
+ "kind": "string",
+ "type": {
+ "$ref": "348"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ ]
+ },
+ "correlationid": {
+ "$id": "1003",
+ "kind": "string",
+ "type": {
+ "$ref": "352"
+ },
+ "value": "35780d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1004",
+ "response": {
+ "$ref": "990"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1005",
+ "kind": "model",
+ "type": {
+ "$ref": "355"
+ },
+ "value": {
+ "$id": "1006",
+ "results": {
+ "$id": "1007",
+ "kind": "array",
+ "type": {
+ "$ref": "357"
+ },
+ "value": [
+ {
+ "$id": "1008",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "1009",
+ "resourceId": {
+ "$id": "1010",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "1011",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1012",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "1013",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "1014",
+ "operationId": {
+ "$id": "1015",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "1016",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "1017",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "1018",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "1019",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "1020",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "1021",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Succeeded"
+ },
+ "timezone": {
+ "$id": "1022",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "1023",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "1024",
+ "errorCode": {
+ "$id": "1025",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1026",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "1027",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "1028",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "1029",
+ "retryCount": {
+ "$id": "1030",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "1031",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "1032",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1033",
+ "name": "CancelVirtualMachineOperations",
+ "resourceName": "ScheduledActions",
+ "doc": "VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1034",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1035",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1036",
+ "type": {
+ "$id": "1037",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1038",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "1039",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1040",
+ "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": "1041",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "1042",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1043",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "1044",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1045",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": true,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1046",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1047",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1048",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1049",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "360"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1050",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "370"
+ },
+ "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": "1051",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesCancelOperations",
+ "description": "ScheduledActions_VirtualMachinesCancelOperations",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesCancelOperations.json",
+ "parameters": [
+ {
+ "$id": "1052",
+ "parameter": {
+ "$ref": "1034"
+ },
+ "value": {
+ "$id": "1053",
+ "kind": "string",
+ "type": {
+ "$ref": "1035"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "1054",
+ "parameter": {
+ "$ref": "1038"
+ },
+ "value": {
+ "$id": "1055",
+ "kind": "string",
+ "type": {
+ "$ref": "1039"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "1056",
+ "parameter": {
+ "$ref": "1041"
+ },
+ "value": {
+ "$id": "1057",
+ "kind": "string",
+ "type": {
+ "$ref": "1042"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "1058",
+ "parameter": {
+ "$ref": "1049"
+ },
+ "value": {
+ "$id": "1059",
+ "kind": "model",
+ "type": {
+ "$ref": "360"
+ },
+ "value": {
+ "$id": "1060",
+ "operationIds": {
+ "$id": "1061",
+ "kind": "array",
+ "type": {
+ "$ref": "362"
+ },
+ "value": [
+ {
+ "$id": "1062",
+ "kind": "string",
+ "type": {
+ "$ref": "363"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ ]
+ },
+ "correlationid": {
+ "$id": "1063",
+ "kind": "string",
+ "type": {
+ "$ref": "367"
+ },
+ "value": "23480d2f-1dca-4610-afb4-gg25eec1f34r"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1064",
+ "response": {
+ "$ref": "1050"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1065",
+ "kind": "model",
+ "type": {
+ "$ref": "370"
+ },
+ "value": {
+ "$id": "1066",
+ "results": {
+ "$id": "1067",
+ "kind": "array",
+ "type": {
+ "$ref": "372"
+ },
+ "value": [
+ {
+ "$id": "1068",
+ "kind": "model",
+ "type": {
+ "$ref": "139"
+ },
+ "value": {
+ "$id": "1069",
+ "resourceId": {
+ "$id": "1070",
+ "kind": "string",
+ "type": {
+ "$ref": "141"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "errorCode": {
+ "$id": "1071",
+ "kind": "string",
+ "type": {
+ "$ref": "146"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1072",
+ "kind": "string",
+ "type": {
+ "$ref": "150"
+ },
+ "value": "null"
+ },
+ "operation": {
+ "$id": "1073",
+ "kind": "model",
+ "type": {
+ "$ref": "154"
+ },
+ "value": {
+ "$id": "1074",
+ "operationId": {
+ "$id": "1075",
+ "kind": "string",
+ "type": {
+ "$ref": "156"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "resourceId": {
+ "$id": "1076",
+ "kind": "string",
+ "type": {
+ "$ref": "160"
+ },
+ "value": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3"
+ },
+ "opType": {
+ "$id": "1077",
+ "kind": "string",
+ "type": {
+ "$ref": "18"
+ },
+ "value": "Deallocate"
+ },
+ "subscriptionId": {
+ "$id": "1078",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ },
+ "deadline": {
+ "$id": "1079",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "2024-11-01T17:52:53.667Z"
+ },
+ "deadlineType": {
+ "$id": "1080",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "InitiateAt"
+ },
+ "state": {
+ "$id": "1081",
+ "kind": "string",
+ "type": {
+ "$ref": "28"
+ },
+ "value": "Cancelled"
+ },
+ "timezone": {
+ "$id": "1082",
+ "kind": "string",
+ "type": {
+ "$ref": "183"
+ },
+ "value": "UTC"
+ },
+ "resourceOperationError": {
+ "$id": "1083",
+ "kind": "model",
+ "type": {
+ "$ref": "191"
+ },
+ "value": {
+ "$id": "1084",
+ "errorCode": {
+ "$id": "1085",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1086",
+ "kind": "string",
+ "type": {
+ "$ref": "197"
+ },
+ "value": "null"
+ }
+ }
+ },
+ "completedAt": {
+ "$id": "1087",
+ "kind": "string",
+ "type": {
+ "$ref": "203"
+ },
+ "value": "2024-11-01T17:52:53.668Z"
+ },
+ "retryPolicy": {
+ "$id": "1088",
+ "kind": "model",
+ "type": {
+ "$ref": "96"
+ },
+ "value": {
+ "$id": "1089",
+ "retryCount": {
+ "$id": "1090",
+ "kind": "number",
+ "type": {
+ "$ref": "98"
+ },
+ "value": 4
+ },
+ "retryWindowInMinutes": {
+ "$id": "1091",
+ "kind": "number",
+ "type": {
+ "$ref": "102"
+ },
+ "value": 27
+ }
+ }
+ },
+ "timeZone": {
+ "$id": "1092",
+ "kind": "string",
+ "type": {
+ "$ref": "187"
+ },
+ "value": "UTC"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1093",
+ "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": "1094",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1095",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1096",
+ "type": {
+ "$id": "1097",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-10-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1098",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "1099",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1100",
+ "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": "1101",
+ "name": "locationparameter",
+ "nameInRequest": "locationparameter",
+ "doc": "The location name.",
+ "type": {
+ "$id": "1102",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1103",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "1104",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1105",
+ "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": "1106",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "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": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1109",
+ "name": "requestBody",
+ "nameInRequest": "requestBody",
+ "doc": "The request body",
+ "type": {
+ "$ref": "375"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1110",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "381"
+ },
+ "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": "1111",
+ "kind": "http",
+ "name": "ScheduledActions_VirtualMachinesGetOperationErrors",
+ "description": "ScheduledActions_VirtualMachinesGetOperationErrors",
+ "filePath": "2024-10-01/ScheduledActions_VirtualMachinesGetOperationErrors.json",
+ "parameters": [
+ {
+ "$id": "1112",
+ "parameter": {
+ "$ref": "1094"
+ },
+ "value": {
+ "$id": "1113",
+ "kind": "string",
+ "type": {
+ "$ref": "1095"
+ },
+ "value": "2024-10-01"
+ }
+ },
+ {
+ "$id": "1114",
+ "parameter": {
+ "$ref": "1098"
+ },
+ "value": {
+ "$id": "1115",
+ "kind": "string",
+ "type": {
+ "$ref": "1099"
+ },
+ "value": "D8E30CC0-2763-4FCC-84A8-3C5659281032"
+ }
+ },
+ {
+ "$id": "1116",
+ "parameter": {
+ "$ref": "1101"
+ },
+ "value": {
+ "$id": "1117",
+ "kind": "string",
+ "type": {
+ "$ref": "1102"
+ },
+ "value": "eastus2euap"
+ }
+ },
+ {
+ "$id": "1118",
+ "parameter": {
+ "$ref": "1109"
+ },
+ "value": {
+ "$id": "1119",
+ "kind": "model",
+ "type": {
+ "$ref": "375"
+ },
+ "value": {
+ "$id": "1120",
+ "operationIds": {
+ "$id": "1121",
+ "kind": "array",
+ "type": {
+ "$ref": "377"
+ },
+ "value": [
+ {
+ "$id": "1122",
+ "kind": "string",
+ "type": {
+ "$ref": "378"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1123",
+ "response": {
+ "$ref": "1110"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1124",
+ "kind": "model",
+ "type": {
+ "$ref": "381"
+ },
+ "value": {
+ "$id": "1125",
+ "results": {
+ "$id": "1126",
+ "kind": "array",
+ "type": {
+ "$ref": "383"
+ },
+ "value": [
+ {
+ "$id": "1127",
+ "kind": "model",
+ "type": {
+ "$ref": "384"
+ },
+ "value": {
+ "$id": "1128",
+ "operationId": {
+ "$id": "1129",
+ "kind": "string",
+ "type": {
+ "$ref": "386"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "creationTime": {
+ "$id": "1130",
+ "kind": "string",
+ "type": {
+ "$ref": "390"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "activationTime": {
+ "$id": "1131",
+ "kind": "string",
+ "type": {
+ "$ref": "395"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "completedAt": {
+ "$id": "1132",
+ "kind": "string",
+ "type": {
+ "$ref": "400"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "operationErrors": {
+ "$id": "1133",
+ "kind": "array",
+ "type": {
+ "$ref": "405"
+ },
+ "value": [
+ {
+ "$id": "1134",
+ "kind": "model",
+ "type": {
+ "$ref": "406"
+ },
+ "value": {
+ "$id": "1135",
+ "errorCode": {
+ "$id": "1136",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "null"
+ },
+ "errorDetails": {
+ "$id": "1137",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "null"
+ },
+ "timestamp": {
+ "$id": "1138",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "2024-11-01T17:52:53.999Z"
+ },
+ "azureOperationName": {
+ "$id": "1139",
+ "kind": "string",
+ "type": {
+ "$ref": "426"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ },
+ "timeStamp": {
+ "$id": "1140",
+ "kind": "string",
+ "type": {
+ "$ref": "421"
+ },
+ "value": "2024-11-27T16:55:03.357Z"
+ },
+ "crpOperationId": {
+ "$id": "1141",
+ "kind": "string",
+ "type": {
+ "$ref": "430"
+ },
+ "value": "23480d2f-1dca-4610-afb4-dd25eec1f34r"
+ }
+ }
+ }
+ ]
+ },
+ "requestErrorCode": {
+ "$id": "1142",
+ "kind": "string",
+ "type": {
+ "$ref": "436"
+ },
+ "value": "null"
+ },
+ "requestErrorDetails": {
+ "$id": "1143",
+ "kind": "string",
+ "type": {
+ "$ref": "440"
+ },
+ "value": "null"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parent": "ComputeScheduleClient",
+ "parameters": [
+ {
+ "$id": "1144",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "1145",
+ "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": "1146",
+ "type": {
+ "$id": "1147",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.ComputeSchedule.ScheduledActions"
+ }
+ ],
+ "auth": {
+ "$id": "1148",
+ "oAuth2": {
+ "$id": "1149",
+ "scopes": [
+ "user_impersonation"
+ ]
+ }
+ }
+}
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 d39a7fa40086..801dd8850429 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: df7c9b730f08e00dbe543b57235b36666563ff7d
+directory: specification/deviceregistry/DeviceRegistry.Management
+commit: 7d1769bf58b248880ea537d6d42d773eb4aec9dd
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..2cc3614e6cee
--- /dev/null
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/tspCodeModel.json
@@ -0,0 +1,24621 @@
+{
+ "$id": "1",
+ "name": "Microsoft.DeviceRegistry",
+ "apiVersions": [
+ "2024-11-01"
+ ],
+ "enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "DeviceRegistryProvisioningState",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ProvisioningState",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Resource has been created.",
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Resource creation failed.",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Resource creation was canceled.",
+ "decorators": []
+ },
+ {
+ "$id": "10",
+ "kind": "enumvalue",
+ "name": "Accepted",
+ "value": "Accepted",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Resource has been accepted by the server.",
+ "decorators": []
+ },
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "Deleting",
+ "value": "Deleting",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Resource is deleting.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.DeviceRegistry",
+ "doc": "The provisioning status of the resource.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enum",
+ "name": "createdByType",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "User",
+ "value": "User",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "The entity was created by a user.",
+ "decorators": []
+ },
+ {
+ "$id": "18",
+ "kind": "enumvalue",
+ "name": "Application",
+ "value": "Application",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "The entity was created by an application.",
+ "decorators": []
+ },
+ {
+ "$id": "20",
+ "kind": "enumvalue",
+ "name": "ManagedIdentity",
+ "value": "ManagedIdentity",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "The entity was created by a managed identity.",
+ "decorators": []
+ },
+ {
+ "$id": "22",
+ "kind": "enumvalue",
+ "name": "Key",
+ "value": "Key",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "14"
+ },
+ "doc": "The entity was created by a key.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "doc": "The kind of entity that created the resource.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "24",
+ "kind": "enum",
+ "name": "AuthenticationMethod",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AuthenticationMethod",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "26",
+ "kind": "enumvalue",
+ "name": "Anonymous",
+ "value": "Anonymous",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "24"
+ },
+ "doc": "The user authentication method is anonymous.",
+ "decorators": []
+ },
+ {
+ "$id": "28",
+ "kind": "enumvalue",
+ "name": "Certificate",
+ "value": "Certificate",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "24"
+ },
+ "doc": "The user authentication method is an x509 certificate.",
+ "decorators": []
+ },
+ {
+ "$id": "30",
+ "kind": "enumvalue",
+ "name": "UsernamePassword",
+ "value": "UsernamePassword",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "24"
+ },
+ "doc": "The user authentication method is a username and password.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.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": "32",
+ "kind": "enum",
+ "name": "ResourceProvisioningState",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "doc": "Resource has been created.",
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "doc": "Resource creation failed.",
+ "decorators": []
+ },
+ {
+ "$id": "38",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "doc": "Resource creation was canceled.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager",
+ "doc": "The provisioning state of a resource type.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "LroPolling",
+ "decorators": []
+ },
+ {
+ "$id": "40",
+ "kind": "enum",
+ "name": "DeviceRegistryTopicRetainType",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.TopicRetainType",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "Keep",
+ "value": "Keep",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Retain the messages.",
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "Never",
+ "value": "Never",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "40"
+ },
+ "doc": "Never retain messages.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.DeviceRegistry",
+ "doc": "Topic retain types.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enum",
+ "name": "DataPointObservabilityMode",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointObservabilityMode",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "48",
+ "kind": "enumvalue",
+ "name": "None",
+ "value": "None",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "46"
+ },
+ "doc": "No mapping to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "50",
+ "kind": "enumvalue",
+ "name": "Counter",
+ "value": "Counter",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "46"
+ },
+ "doc": "Map as counter to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "52",
+ "kind": "enumvalue",
+ "name": "Gauge",
+ "value": "Gauge",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "46"
+ },
+ "doc": "Map as gauge to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "Histogram",
+ "value": "Histogram",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "46"
+ },
+ "doc": "Map as histogram to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "56",
+ "kind": "enumvalue",
+ "name": "Log",
+ "value": "Log",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "46"
+ },
+ "doc": "Map as log to OpenTelemetry.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.DeviceRegistry",
+ "doc": "Defines the data point observability mode.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "58",
+ "kind": "enum",
+ "name": "EventObservabilityMode",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventObservabilityMode",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "60",
+ "kind": "enumvalue",
+ "name": "None",
+ "value": "None",
+ "valueType": {
+ "$id": "61",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "58"
+ },
+ "doc": "No mapping to OpenTelemetry.",
+ "decorators": []
+ },
+ {
+ "$id": "62",
+ "kind": "enumvalue",
+ "name": "Log",
+ "value": "Log",
+ "valueType": {
+ "$id": "63",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "58"
+ },
+ "doc": "Map as log to OpenTelemetry.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Microsoft.DeviceRegistry",
+ "doc": "Defines the event observability mode.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "64",
+ "kind": "enum",
+ "name": "Origin",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin",
+ "valueType": {
+ "$id": "65",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "66",
+ "kind": "enumvalue",
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$id": "67",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "doc": "Indicates the operation is initiated by a user.",
+ "decorators": []
+ },
+ {
+ "$id": "68",
+ "kind": "enumvalue",
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$id": "69",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "doc": "Indicates the operation is initiated by a system.",
+ "decorators": []
+ },
+ {
+ "$id": "70",
+ "kind": "enumvalue",
+ "name": "user,system",
+ "value": "user,system",
+ "valueType": {
+ "$id": "71",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "doc": "Indicates the operation is initiated by a user or system.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "72",
+ "kind": "enum",
+ "name": "ActionType",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType",
+ "valueType": {
+ "$id": "73",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "74",
+ "kind": "enumvalue",
+ "name": "Internal",
+ "value": "Internal",
+ "valueType": {
+ "$id": "75",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "72"
+ },
+ "doc": "Actions are for internal-only APIs.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "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": "Microsoft.DeviceRegistry",
+ "doc": "Microsoft.DeviceRegistry Resource Provider supported API versions.",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "80",
+ "kind": "model",
+ "name": "DeviceRegistryBillingContainer",
+ "namespace": "Microsoft.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": "81",
+ "kind": "model",
+ "name": "ProxyResource",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": {
+ "$id": "82",
+ "kind": "model",
+ "name": "Resource",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "83",
+ "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": "84",
+ "kind": "string",
+ "name": "armResourceIdentifier",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier",
+ "baseType": {
+ "$id": "85",
+ "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": "86",
+ "json": {
+ "$id": "87",
+ "name": "id"
+ }
+ }
+ },
+ {
+ "$id": "88",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the resource",
+ "type": {
+ "$id": "89",
+ "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": "90",
+ "json": {
+ "$id": "91",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "92",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
+ "type": {
+ "$id": "93",
+ "kind": "string",
+ "name": "armResourceType",
+ "crossLanguageDefinitionId": "Azure.Core.armResourceType",
+ "baseType": {
+ "$id": "94",
+ "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": "95",
+ "json": {
+ "$id": "96",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "97",
+ "kind": "property",
+ "name": "systemData",
+ "serializedName": "systemData",
+ "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
+ "type": {
+ "$id": "98",
+ "kind": "model",
+ "name": "SystemData",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Metadata pertaining to creation and last modification of the resource.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "99",
+ "kind": "property",
+ "name": "createdBy",
+ "serializedName": "createdBy",
+ "doc": "The identity that created the resource.",
+ "type": {
+ "$id": "100",
+ "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": "101",
+ "json": {
+ "$id": "102",
+ "name": "createdBy"
+ }
+ }
+ },
+ {
+ "$id": "103",
+ "kind": "property",
+ "name": "createdByType",
+ "serializedName": "createdByType",
+ "doc": "The type of identity that created the resource.",
+ "type": {
+ "$ref": "14"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType",
+ "serializationOptions": {
+ "$id": "104",
+ "json": {
+ "$id": "105",
+ "name": "createdByType"
+ }
+ }
+ },
+ {
+ "$id": "106",
+ "kind": "property",
+ "name": "createdAt",
+ "serializedName": "createdAt",
+ "doc": "The timestamp of resource creation (UTC).",
+ "type": {
+ "$id": "107",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "108",
+ "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": "109",
+ "json": {
+ "$id": "110",
+ "name": "createdAt"
+ }
+ }
+ },
+ {
+ "$id": "111",
+ "kind": "property",
+ "name": "lastModifiedBy",
+ "serializedName": "lastModifiedBy",
+ "doc": "The identity that last modified the resource.",
+ "type": {
+ "$id": "112",
+ "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": "113",
+ "json": {
+ "$id": "114",
+ "name": "lastModifiedBy"
+ }
+ }
+ },
+ {
+ "$id": "115",
+ "kind": "property",
+ "name": "lastModifiedByType",
+ "serializedName": "lastModifiedByType",
+ "doc": "The type of identity that last modified the resource.",
+ "type": {
+ "$ref": "14"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType",
+ "serializationOptions": {
+ "$id": "116",
+ "json": {
+ "$id": "117",
+ "name": "lastModifiedByType"
+ }
+ }
+ },
+ {
+ "$id": "118",
+ "kind": "property",
+ "name": "lastModifiedAt",
+ "serializedName": "lastModifiedAt",
+ "doc": "The timestamp of resource last modification (UTC)",
+ "type": {
+ "$id": "119",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "120",
+ "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": "121",
+ "json": {
+ "$id": "122",
+ "name": "lastModifiedAt"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData",
+ "serializationOptions": {
+ "$id": "123",
+ "json": {
+ "$id": "124",
+ "name": "systemData"
+ }
+ }
+ }
+ ]
+ },
+ "properties": []
+ },
+ "properties": [
+ {
+ "$id": "125",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "126",
+ "kind": "model",
+ "name": "BillingContainerProperties",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainerProperties",
+ "usage": "Output,Json",
+ "doc": "Defines the billingContainer properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "127",
+ "kind": "property",
+ "name": "provisioningState",
+ "serializedName": "provisioningState",
+ "doc": "Provisioning state of the resource.",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainerProperties.provisioningState",
+ "serializationOptions": {
+ "$id": "128",
+ "json": {
+ "$id": "129",
+ "name": "provisioningState"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainer.properties",
+ "serializationOptions": {
+ "$id": "130",
+ "json": {
+ "$id": "131",
+ "name": "properties"
+ }
+ }
+ },
+ {
+ "$id": "132",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "doc": "Resource ETag",
+ "type": {
+ "$id": "133",
+ "kind": "string",
+ "name": "eTag",
+ "crossLanguageDefinitionId": "Azure.Core.eTag",
+ "baseType": {
+ "$id": "134",
+ "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": "135",
+ "json": {
+ "$id": "136",
+ "name": "etag"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "126"
+ },
+ {
+ "$ref": "81"
+ },
+ {
+ "$ref": "82"
+ },
+ {
+ "$ref": "98"
+ },
+ {
+ "$id": "137",
+ "kind": "model",
+ "name": "ErrorResponse",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse",
+ "usage": "Error,Json,Exception",
+ "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "138",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "The error object.",
+ "type": {
+ "$id": "139",
+ "kind": "model",
+ "name": "ErrorDetail",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail",
+ "usage": "Json,Exception,LroPolling",
+ "doc": "The error detail.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "140",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "The error code.",
+ "type": {
+ "$id": "141",
+ "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": "142",
+ "json": {
+ "$id": "143",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "144",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "The error message.",
+ "type": {
+ "$id": "145",
+ "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": "146",
+ "json": {
+ "$id": "147",
+ "name": "message"
+ }
+ }
+ },
+ {
+ "$id": "148",
+ "kind": "property",
+ "name": "target",
+ "serializedName": "target",
+ "doc": "The error target.",
+ "type": {
+ "$id": "149",
+ "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": "150",
+ "json": {
+ "$id": "151",
+ "name": "target"
+ }
+ }
+ },
+ {
+ "$id": "152",
+ "kind": "property",
+ "name": "details",
+ "serializedName": "details",
+ "doc": "The error details.",
+ "type": {
+ "$id": "153",
+ "kind": "array",
+ "name": "ArrayErrorDetail",
+ "valueType": {
+ "$ref": "139"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details",
+ "serializationOptions": {
+ "$id": "154",
+ "json": {
+ "$id": "155",
+ "name": "details"
+ }
+ }
+ },
+ {
+ "$id": "156",
+ "kind": "property",
+ "name": "additionalInfo",
+ "serializedName": "additionalInfo",
+ "doc": "The error additional info.",
+ "type": {
+ "$id": "157",
+ "kind": "array",
+ "name": "ArrayErrorAdditionalInfo",
+ "valueType": {
+ "$id": "158",
+ "kind": "model",
+ "name": "ErrorAdditionalInfo",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
+ "usage": "Json,Exception,LroPolling",
+ "doc": "The resource management error additional info.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "159",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The additional info type.",
+ "type": {
+ "$id": "160",
+ "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": "161",
+ "json": {
+ "$id": "162",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "163",
+ "kind": "property",
+ "name": "info",
+ "serializedName": "info",
+ "doc": "The additional info.",
+ "type": {
+ "$id": "164",
+ "kind": "model",
+ "name": "ErrorAdditionalInfoInfo",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "165",
+ "json": {
+ "$id": "166",
+ "name": "info"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo",
+ "serializationOptions": {
+ "$id": "167",
+ "json": {
+ "$id": "168",
+ "name": "additionalInfo"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error",
+ "serializationOptions": {
+ "$id": "169",
+ "json": {
+ "$id": "170",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "139"
+ },
+ {
+ "$ref": "158"
+ },
+ {
+ "$ref": "164"
+ },
+ {
+ "$id": "171",
+ "kind": "model",
+ "name": "BillingContainerListResult",
+ "namespace": "Azure.ResourceManager",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult",
+ "usage": "Output,Json",
+ "doc": "The response of a BillingContainer list operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "172",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The BillingContainer items on this page",
+ "type": {
+ "$id": "173",
+ "kind": "array",
+ "name": "ArrayBillingContainer",
+ "valueType": {
+ "$ref": "80"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value",
+ "serializationOptions": {
+ "$id": "174",
+ "json": {
+ "$id": "175",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "176",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "177",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "178",
+ "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": "179",
+ "json": {
+ "$id": "180",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "181",
+ "kind": "model",
+ "name": "DeviceRegistryAssetEndpointProfile",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Asset Endpoint Profile definition.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "182",
+ "kind": "model",
+ "name": "TrackedResource",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
+ "decorators": [],
+ "baseModel": {
+ "$ref": "82"
+ },
+ "properties": [
+ {
+ "$id": "183",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Resource tags.",
+ "type": {
+ "$id": "184",
+ "kind": "dict",
+ "keyType": {
+ "$id": "185",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "186",
+ "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": "187",
+ "json": {
+ "$id": "188",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "189",
+ "kind": "property",
+ "name": "location",
+ "serializedName": "location",
+ "doc": "The geo-location where the resource lives",
+ "type": {
+ "$id": "190",
+ "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": "191",
+ "json": {
+ "$id": "192",
+ "name": "location"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "193",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "194",
+ "kind": "model",
+ "name": "DeviceRegistryAssetEndpointProfileProperties",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the Asset Endpoint Profile properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "195",
+ "kind": "property",
+ "name": "uuid",
+ "serializedName": "uuid",
+ "doc": "Globally unique, immutable, non-reusable id.",
+ "type": {
+ "$id": "196",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.uuid",
+ "serializationOptions": {
+ "$id": "197",
+ "json": {
+ "$id": "198",
+ "name": "uuid"
+ }
+ }
+ },
+ {
+ "$id": "199",
+ "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": "200",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.targetAddress",
+ "serializationOptions": {
+ "$id": "201",
+ "json": {
+ "$id": "202",
+ "name": "targetAddress"
+ }
+ }
+ },
+ {
+ "$id": "203",
+ "kind": "property",
+ "name": "endpointProfileType",
+ "serializedName": "endpointProfileType",
+ "doc": "Defines the configuration for the connector type that is being used with the endpoint profile.",
+ "type": {
+ "$id": "204",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.endpointProfileType",
+ "serializationOptions": {
+ "$id": "205",
+ "json": {
+ "$id": "206",
+ "name": "endpointProfileType"
+ }
+ }
+ },
+ {
+ "$id": "207",
+ "kind": "property",
+ "name": "authentication",
+ "serializedName": "authentication",
+ "doc": "Defines the client authentication mechanism to the server.",
+ "type": {
+ "$id": "208",
+ "kind": "model",
+ "name": "DeviceRegistryAuthentication",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Definition of the client authentication mechanism to the server.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "209",
+ "kind": "property",
+ "name": "method",
+ "serializedName": "method",
+ "doc": "Defines the method to authenticate the user of the client at the server.",
+ "type": {
+ "$ref": "24"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.method",
+ "serializationOptions": {
+ "$id": "210",
+ "json": {
+ "$id": "211",
+ "name": "method"
+ }
+ }
+ },
+ {
+ "$id": "212",
+ "kind": "property",
+ "name": "usernamePasswordCredentials",
+ "serializedName": "usernamePasswordCredentials",
+ "doc": "Defines the username and password references when UsernamePassword user authentication mode is selected.",
+ "type": {
+ "$id": "213",
+ "kind": "model",
+ "name": "DeviceRegistryUsernamePasswordCredentials",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The credentials for authentication mode UsernamePassword.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "214",
+ "kind": "property",
+ "name": "usernameSecretName",
+ "serializedName": "usernameSecretName",
+ "doc": "The name of the secret containing the username.",
+ "type": {
+ "$id": "215",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials.usernameSecretName",
+ "serializationOptions": {
+ "$id": "216",
+ "json": {
+ "$id": "217",
+ "name": "usernameSecretName"
+ }
+ }
+ },
+ {
+ "$id": "218",
+ "kind": "property",
+ "name": "passwordSecretName",
+ "serializedName": "passwordSecretName",
+ "doc": "The name of the secret containing the password.",
+ "type": {
+ "$id": "219",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.UsernamePasswordCredentials.passwordSecretName",
+ "serializationOptions": {
+ "$id": "220",
+ "json": {
+ "$id": "221",
+ "name": "passwordSecretName"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.usernamePasswordCredentials",
+ "serializationOptions": {
+ "$id": "222",
+ "json": {
+ "$id": "223",
+ "name": "usernamePasswordCredentials"
+ }
+ }
+ },
+ {
+ "$id": "224",
+ "kind": "property",
+ "name": "x509Credentials",
+ "serializedName": "x509Credentials",
+ "doc": "Defines the certificate reference when Certificate user authentication mode is selected.",
+ "type": {
+ "$id": "225",
+ "kind": "model",
+ "name": "DeviceRegistryX509Credentials",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509Credentials",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The x509 certificate for authentication mode Certificate.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "226",
+ "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": "227",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.X509Credentials.certificateSecretName",
+ "serializationOptions": {
+ "$id": "228",
+ "json": {
+ "$id": "229",
+ "name": "certificateSecretName"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Authentication.x509Credentials",
+ "serializationOptions": {
+ "$id": "230",
+ "json": {
+ "$id": "231",
+ "name": "x509Credentials"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.authentication",
+ "serializationOptions": {
+ "$id": "232",
+ "json": {
+ "$id": "233",
+ "name": "authentication"
+ }
+ }
+ },
+ {
+ "$id": "234",
+ "kind": "property",
+ "name": "additionalConfiguration",
+ "serializedName": "additionalConfiguration",
+ "doc": "Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).",
+ "type": {
+ "$id": "235",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.additionalConfiguration",
+ "serializationOptions": {
+ "$id": "236",
+ "json": {
+ "$id": "237",
+ "name": "additionalConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "238",
+ "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": "239",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.discoveredAssetEndpointProfileRef",
+ "serializationOptions": {
+ "$id": "240",
+ "json": {
+ "$id": "241",
+ "name": "discoveredAssetEndpointProfileRef"
+ }
+ }
+ },
+ {
+ "$id": "242",
+ "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": "243",
+ "kind": "model",
+ "name": "AssetEndpointProfileStatus",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatus",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset endpoint profile status properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "244",
+ "kind": "property",
+ "name": "errors",
+ "serializedName": "errors",
+ "doc": "Array object to transfer and persist errors that originate from the Edge.",
+ "type": {
+ "$id": "245",
+ "kind": "array",
+ "name": "ArrayAssetEndpointProfileStatusError",
+ "valueType": {
+ "$id": "246",
+ "kind": "model",
+ "name": "AssetEndpointProfileStatusError",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset endpoint profile status error properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "247",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "Error code for classification of errors (ex: 400, 404, 500, etc.).",
+ "type": {
+ "$id": "248",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError.code",
+ "serializationOptions": {
+ "$id": "249",
+ "json": {
+ "$id": "250",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "251",
+ "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": "252",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatusError.message",
+ "serializationOptions": {
+ "$id": "253",
+ "json": {
+ "$id": "254",
+ "name": "message"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileStatus.errors",
+ "serializationOptions": {
+ "$id": "255",
+ "json": {
+ "$id": "256",
+ "name": "errors"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.status",
+ "serializationOptions": {
+ "$id": "257",
+ "json": {
+ "$id": "258",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "259",
+ "kind": "property",
+ "name": "provisioningState",
+ "serializedName": "provisioningState",
+ "doc": "Provisioning state of the resource.",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfileProperties.provisioningState",
+ "serializationOptions": {
+ "$id": "260",
+ "json": {
+ "$id": "261",
+ "name": "provisioningState"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.properties",
+ "serializationOptions": {
+ "$id": "262",
+ "json": {
+ "$id": "263",
+ "name": "properties"
+ }
+ }
+ },
+ {
+ "$id": "264",
+ "kind": "property",
+ "name": "extendedLocation",
+ "serializedName": "extendedLocation",
+ "doc": "The extended location.",
+ "type": {
+ "$id": "265",
+ "kind": "model",
+ "name": "DeviceRegistryExtendedLocation",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "The extended location.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "266",
+ "kind": "property",
+ "name": "ExtendedLocationType",
+ "serializedName": "type",
+ "doc": "The extended location type.",
+ "type": {
+ "$id": "267",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation.type",
+ "serializationOptions": {
+ "$id": "268",
+ "json": {
+ "$id": "269",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "270",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The extended location name.",
+ "type": {
+ "$id": "271",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.ExtendedLocation.name",
+ "serializationOptions": {
+ "$id": "272",
+ "json": {
+ "$id": "273",
+ "name": "name"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfile.extendedLocation",
+ "serializationOptions": {
+ "$id": "274",
+ "json": {
+ "$id": "275",
+ "name": "extendedLocation"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "194"
+ },
+ {
+ "$ref": "208"
+ },
+ {
+ "$ref": "213"
+ },
+ {
+ "$ref": "225"
+ },
+ {
+ "$ref": "243"
+ },
+ {
+ "$ref": "246"
+ },
+ {
+ "$ref": "265"
+ },
+ {
+ "$ref": "182"
+ },
+ {
+ "$id": "276",
+ "kind": "model",
+ "name": "ArmOperationStatusResourceProvisioningState",
+ "namespace": "Azure.ResourceManager",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus",
+ "usage": "LroPolling",
+ "doc": "Standard Azure Resource Manager operation status response",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "277",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The operation status",
+ "type": {
+ "$ref": "32"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status",
+ "serializationOptions": {
+ "$id": "278",
+ "json": {
+ "$id": "279",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "280",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the operationStatus resource",
+ "type": {
+ "$id": "281",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name",
+ "serializationOptions": {
+ "$id": "282",
+ "json": {
+ "$id": "283",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "284",
+ "kind": "property",
+ "name": "startTime",
+ "serializedName": "startTime",
+ "doc": "Operation start time",
+ "type": {
+ "$id": "285",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "286",
+ "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": "287",
+ "json": {
+ "$id": "288",
+ "name": "startTime"
+ }
+ }
+ },
+ {
+ "$id": "289",
+ "kind": "property",
+ "name": "endTime",
+ "serializedName": "endTime",
+ "doc": "Operation complete time",
+ "type": {
+ "$id": "290",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "291",
+ "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": "292",
+ "json": {
+ "$id": "293",
+ "name": "endTime"
+ }
+ }
+ },
+ {
+ "$id": "294",
+ "kind": "property",
+ "name": "percentComplete",
+ "serializedName": "percentComplete",
+ "doc": "The progress made toward completing the operation",
+ "type": {
+ "$id": "295",
+ "kind": "float64",
+ "name": "float64",
+ "crossLanguageDefinitionId": "TypeSpec.float64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete",
+ "serializationOptions": {
+ "$id": "296",
+ "json": {
+ "$id": "297",
+ "name": "percentComplete"
+ }
+ }
+ },
+ {
+ "$id": "298",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "Errors that occurred if the operation ended with Canceled or Failed status",
+ "type": {
+ "$ref": "139"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error",
+ "serializationOptions": {
+ "$id": "299",
+ "json": {
+ "$id": "300",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "301",
+ "kind": "model",
+ "name": "AssetEndpointProfileUpdate",
+ "namespace": "Azure.ResourceManager.Foundations",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
+ "usage": "Input,Json",
+ "doc": "The type used for update operations of the AssetEndpointProfile.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "302",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Resource tags.",
+ "type": {
+ "$id": "303",
+ "kind": "dict",
+ "keyType": {
+ "$id": "304",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "305",
+ "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": "306",
+ "json": {
+ "$id": "307",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "308",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "309",
+ "kind": "model",
+ "name": "AssetEndpointProfileUpdateProperties",
+ "namespace": "Azure.ResourceManager.Foundations",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
+ "usage": "Input,Json",
+ "doc": "The updatable properties of the AssetEndpointProfile.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "310",
+ "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": "311",
+ "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": "312",
+ "json": {
+ "$id": "313",
+ "name": "targetAddress"
+ }
+ }
+ },
+ {
+ "$id": "314",
+ "kind": "property",
+ "name": "endpointProfileType",
+ "serializedName": "endpointProfileType",
+ "doc": "Defines the configuration for the connector type that is being used with the endpoint profile.",
+ "type": {
+ "$id": "315",
+ "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": "316",
+ "json": {
+ "$id": "317",
+ "name": "endpointProfileType"
+ }
+ }
+ },
+ {
+ "$id": "318",
+ "kind": "property",
+ "name": "authentication",
+ "serializedName": "authentication",
+ "doc": "Defines the client authentication mechanism to the server.",
+ "type": {
+ "$ref": "208"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.authentication",
+ "serializationOptions": {
+ "$id": "319",
+ "json": {
+ "$id": "320",
+ "name": "authentication"
+ }
+ }
+ },
+ {
+ "$id": "321",
+ "kind": "property",
+ "name": "additionalConfiguration",
+ "serializedName": "additionalConfiguration",
+ "doc": "Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).",
+ "type": {
+ "$id": "322",
+ "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": "323",
+ "json": {
+ "$id": "324",
+ "name": "additionalConfiguration"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties",
+ "serializationOptions": {
+ "$id": "325",
+ "json": {
+ "$id": "326",
+ "name": "properties"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "309"
+ },
+ {
+ "$id": "327",
+ "kind": "model",
+ "name": "AssetEndpointProfileListResult",
+ "namespace": "Azure.ResourceManager",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult",
+ "usage": "Output,Json",
+ "doc": "The response of a AssetEndpointProfile list operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "328",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The AssetEndpointProfile items on this page",
+ "type": {
+ "$id": "329",
+ "kind": "array",
+ "name": "ArrayAssetEndpointProfile",
+ "valueType": {
+ "$ref": "181"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value",
+ "serializationOptions": {
+ "$id": "330",
+ "json": {
+ "$id": "331",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "332",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "333",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "334",
+ "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": "335",
+ "json": {
+ "$id": "336",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "337",
+ "kind": "model",
+ "name": "DeviceRegistryAsset",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Asset definition.",
+ "decorators": [],
+ "baseModel": {
+ "$ref": "182"
+ },
+ "properties": [
+ {
+ "$id": "338",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "339",
+ "kind": "model",
+ "name": "AssetProperties",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "340",
+ "kind": "property",
+ "name": "uuid",
+ "serializedName": "uuid",
+ "doc": "Globally unique, immutable, non-reusable id.",
+ "type": {
+ "$id": "341",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.uuid",
+ "serializationOptions": {
+ "$id": "342",
+ "json": {
+ "$id": "343",
+ "name": "uuid"
+ }
+ }
+ },
+ {
+ "$id": "344",
+ "kind": "property",
+ "name": "IsEnabled",
+ "serializedName": "enabled",
+ "doc": "Enabled/Disabled status of the asset.",
+ "type": {
+ "$id": "345",
+ "kind": "boolean",
+ "name": "boolean",
+ "crossLanguageDefinitionId": "TypeSpec.boolean",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.enabled",
+ "serializationOptions": {
+ "$id": "346",
+ "json": {
+ "$id": "347",
+ "name": "enabled"
+ }
+ }
+ },
+ {
+ "$id": "348",
+ "kind": "property",
+ "name": "externalAssetId",
+ "serializedName": "externalAssetId",
+ "doc": "Asset id provided by the customer.",
+ "type": {
+ "$id": "349",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.externalAssetId",
+ "serializationOptions": {
+ "$id": "350",
+ "json": {
+ "$id": "351",
+ "name": "externalAssetId"
+ }
+ }
+ },
+ {
+ "$id": "352",
+ "kind": "property",
+ "name": "displayName",
+ "serializedName": "displayName",
+ "doc": "Human-readable display name.",
+ "type": {
+ "$id": "353",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.displayName",
+ "serializationOptions": {
+ "$id": "354",
+ "json": {
+ "$id": "355",
+ "name": "displayName"
+ }
+ }
+ },
+ {
+ "$id": "356",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "Human-readable description of the asset.",
+ "type": {
+ "$id": "357",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.description",
+ "serializationOptions": {
+ "$id": "358",
+ "json": {
+ "$id": "359",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "360",
+ "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": "361",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.assetEndpointProfileRef",
+ "serializationOptions": {
+ "$id": "362",
+ "json": {
+ "$id": "363",
+ "name": "assetEndpointProfileRef"
+ }
+ }
+ },
+ {
+ "$id": "364",
+ "kind": "property",
+ "name": "version",
+ "serializedName": "version",
+ "doc": "An integer that is incremented each time the resource is modified.",
+ "type": {
+ "$id": "365",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.version",
+ "serializationOptions": {
+ "$id": "366",
+ "json": {
+ "$id": "367",
+ "name": "version"
+ }
+ }
+ },
+ {
+ "$id": "368",
+ "kind": "property",
+ "name": "manufacturer",
+ "serializedName": "manufacturer",
+ "doc": "Asset manufacturer name.",
+ "type": {
+ "$id": "369",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.manufacturer",
+ "serializationOptions": {
+ "$id": "370",
+ "json": {
+ "$id": "371",
+ "name": "manufacturer"
+ }
+ }
+ },
+ {
+ "$id": "372",
+ "kind": "property",
+ "name": "manufacturerUri",
+ "serializedName": "manufacturerUri",
+ "doc": "Asset manufacturer URI.",
+ "type": {
+ "$id": "373",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.manufacturerUri",
+ "serializationOptions": {
+ "$id": "374",
+ "json": {
+ "$id": "375",
+ "name": "manufacturerUri"
+ }
+ }
+ },
+ {
+ "$id": "376",
+ "kind": "property",
+ "name": "model",
+ "serializedName": "model",
+ "doc": "Asset model name.",
+ "type": {
+ "$id": "377",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.model",
+ "serializationOptions": {
+ "$id": "378",
+ "json": {
+ "$id": "379",
+ "name": "model"
+ }
+ }
+ },
+ {
+ "$id": "380",
+ "kind": "property",
+ "name": "productCode",
+ "serializedName": "productCode",
+ "doc": "Asset product code.",
+ "type": {
+ "$id": "381",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.productCode",
+ "serializationOptions": {
+ "$id": "382",
+ "json": {
+ "$id": "383",
+ "name": "productCode"
+ }
+ }
+ },
+ {
+ "$id": "384",
+ "kind": "property",
+ "name": "hardwareRevision",
+ "serializedName": "hardwareRevision",
+ "doc": "Revision number of the hardware.",
+ "type": {
+ "$id": "385",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.hardwareRevision",
+ "serializationOptions": {
+ "$id": "386",
+ "json": {
+ "$id": "387",
+ "name": "hardwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "388",
+ "kind": "property",
+ "name": "softwareRevision",
+ "serializedName": "softwareRevision",
+ "doc": "Revision number of the software.",
+ "type": {
+ "$id": "389",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.softwareRevision",
+ "serializationOptions": {
+ "$id": "390",
+ "json": {
+ "$id": "391",
+ "name": "softwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "392",
+ "kind": "property",
+ "name": "documentationUri",
+ "serializedName": "documentationUri",
+ "doc": "Reference to the documentation.",
+ "type": {
+ "$id": "393",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.documentationUri",
+ "serializationOptions": {
+ "$id": "394",
+ "json": {
+ "$id": "395",
+ "name": "documentationUri"
+ }
+ }
+ },
+ {
+ "$id": "396",
+ "kind": "property",
+ "name": "serialNumber",
+ "serializedName": "serialNumber",
+ "doc": "Asset serial number.",
+ "type": {
+ "$id": "397",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.serialNumber",
+ "serializationOptions": {
+ "$id": "398",
+ "json": {
+ "$id": "399",
+ "name": "serialNumber"
+ }
+ }
+ },
+ {
+ "$id": "400",
+ "kind": "property",
+ "name": "attributes",
+ "serializedName": "attributes",
+ "doc": "A set of key-value pairs that contain custom attributes set by the customer.",
+ "type": {
+ "$id": "401",
+ "kind": "dict",
+ "keyType": {
+ "$id": "402",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "403",
+ "kind": "unknown",
+ "name": "unknown",
+ "crossLanguageDefinitionId": "",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.attributes",
+ "serializationOptions": {
+ "$id": "404",
+ "json": {
+ "$id": "405",
+ "name": "attributes"
+ }
+ }
+ },
+ {
+ "$id": "406",
+ "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": "407",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "408",
+ "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": "409",
+ "json": {
+ "$id": "410",
+ "name": "discoveredAssetRefs"
+ }
+ }
+ },
+ {
+ "$id": "411",
+ "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": "412",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultDatasetsConfiguration",
+ "serializationOptions": {
+ "$id": "413",
+ "json": {
+ "$id": "414",
+ "name": "defaultDatasetsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "415",
+ "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": "416",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultEventsConfiguration",
+ "serializationOptions": {
+ "$id": "417",
+ "json": {
+ "$id": "418",
+ "name": "defaultEventsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "419",
+ "kind": "property",
+ "name": "defaultTopic",
+ "serializedName": "defaultTopic",
+ "doc": "Object that describes the default topic information for the asset.",
+ "type": {
+ "$id": "420",
+ "kind": "model",
+ "name": "DeviceRegistryTopic",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Object that describes the topic information.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "421",
+ "kind": "property",
+ "name": "path",
+ "serializedName": "path",
+ "doc": "The topic path for messages published to an MQTT broker.",
+ "type": {
+ "$id": "422",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic.path",
+ "serializationOptions": {
+ "$id": "423",
+ "json": {
+ "$id": "424",
+ "name": "path"
+ }
+ }
+ },
+ {
+ "$id": "425",
+ "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": "40"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Topic.retain",
+ "serializationOptions": {
+ "$id": "426",
+ "json": {
+ "$id": "427",
+ "name": "retain"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.defaultTopic",
+ "serializationOptions": {
+ "$id": "428",
+ "json": {
+ "$id": "429",
+ "name": "defaultTopic"
+ }
+ }
+ },
+ {
+ "$id": "430",
+ "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": "431",
+ "kind": "array",
+ "name": "ArrayDataset",
+ "valueType": {
+ "$id": "432",
+ "kind": "model",
+ "name": "DeviceRegistryDataset",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the dataset properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "433",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Name of the dataset.",
+ "type": {
+ "$id": "434",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.name",
+ "serializationOptions": {
+ "$id": "435",
+ "json": {
+ "$id": "436",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "437",
+ "kind": "property",
+ "name": "datasetConfiguration",
+ "serializedName": "datasetConfiguration",
+ "doc": "Stringified JSON that contains connector-specific JSON string that describes configuration for the specific dataset.",
+ "type": {
+ "$id": "438",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.datasetConfiguration",
+ "serializationOptions": {
+ "$id": "439",
+ "json": {
+ "$id": "440",
+ "name": "datasetConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "441",
+ "kind": "property",
+ "name": "topic",
+ "serializedName": "topic",
+ "doc": "Object that describes the topic information for the specific dataset.",
+ "type": {
+ "$ref": "420"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.topic",
+ "serializationOptions": {
+ "$id": "442",
+ "json": {
+ "$id": "443",
+ "name": "topic"
+ }
+ }
+ },
+ {
+ "$id": "444",
+ "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": "445",
+ "kind": "array",
+ "name": "ArrayDataPoint",
+ "valueType": {
+ "$id": "446",
+ "kind": "model",
+ "name": "DeviceRegistryDataPoint",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPoint",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the data point properties.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "447",
+ "kind": "model",
+ "name": "DeviceRegistryDataPointBase",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the data point properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "448",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the data point.",
+ "type": {
+ "$id": "449",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.name",
+ "serializationOptions": {
+ "$id": "450",
+ "json": {
+ "$id": "451",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "452",
+ "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": "453",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.dataSource",
+ "serializationOptions": {
+ "$id": "454",
+ "json": {
+ "$id": "455",
+ "name": "dataSource"
+ }
+ }
+ },
+ {
+ "$id": "456",
+ "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": "457",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPointBase.dataPointConfiguration",
+ "serializationOptions": {
+ "$id": "458",
+ "json": {
+ "$id": "459",
+ "name": "dataPointConfiguration"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "460",
+ "kind": "property",
+ "name": "observabilityMode",
+ "serializedName": "observabilityMode",
+ "doc": "An indication of how the data point should be mapped to OpenTelemetry.",
+ "type": {
+ "$ref": "46"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.DataPoint.observabilityMode",
+ "serializationOptions": {
+ "$id": "461",
+ "json": {
+ "$id": "462",
+ "name": "observabilityMode"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Dataset.dataPoints",
+ "serializationOptions": {
+ "$id": "463",
+ "json": {
+ "$id": "464",
+ "name": "dataPoints"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.datasets",
+ "serializationOptions": {
+ "$id": "465",
+ "json": {
+ "$id": "466",
+ "name": "datasets"
+ }
+ }
+ },
+ {
+ "$id": "467",
+ "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": "468",
+ "kind": "array",
+ "name": "ArrayEvent",
+ "valueType": {
+ "$id": "469",
+ "kind": "model",
+ "name": "DeviceRegistryEvent",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Event",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the event properties.",
+ "decorators": [],
+ "baseModel": {
+ "$id": "470",
+ "kind": "model",
+ "name": "DeviceRegistryEventBase",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the event properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "471",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the event.",
+ "type": {
+ "$id": "472",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.name",
+ "serializationOptions": {
+ "$id": "473",
+ "json": {
+ "$id": "474",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "475",
+ "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": "476",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.eventNotifier",
+ "serializationOptions": {
+ "$id": "477",
+ "json": {
+ "$id": "478",
+ "name": "eventNotifier"
+ }
+ }
+ },
+ {
+ "$id": "479",
+ "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": "480",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.eventConfiguration",
+ "serializationOptions": {
+ "$id": "481",
+ "json": {
+ "$id": "482",
+ "name": "eventConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "483",
+ "kind": "property",
+ "name": "topic",
+ "serializedName": "topic",
+ "doc": "Object that describes the topic information for the specific event.",
+ "type": {
+ "$ref": "420"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.EventBase.topic",
+ "serializationOptions": {
+ "$id": "484",
+ "json": {
+ "$id": "485",
+ "name": "topic"
+ }
+ }
+ }
+ ]
+ },
+ "properties": [
+ {
+ "$id": "486",
+ "kind": "property",
+ "name": "observabilityMode",
+ "serializedName": "observabilityMode",
+ "doc": "An indication of how the event should be mapped to OpenTelemetry.",
+ "type": {
+ "$ref": "58"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Event.observabilityMode",
+ "serializationOptions": {
+ "$id": "487",
+ "json": {
+ "$id": "488",
+ "name": "observabilityMode"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.events",
+ "serializationOptions": {
+ "$id": "489",
+ "json": {
+ "$id": "490",
+ "name": "events"
+ }
+ }
+ },
+ {
+ "$id": "491",
+ "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": "492",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatus",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "493",
+ "kind": "property",
+ "name": "errors",
+ "serializedName": "errors",
+ "doc": "Array object to transfer and persist errors that originate from the Edge.",
+ "type": {
+ "$id": "494",
+ "kind": "array",
+ "name": "ArrayAssetStatusError",
+ "valueType": {
+ "$id": "495",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatusError",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status error properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "496",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "Error code for classification of errors (ex: 400, 404, 500, etc.).",
+ "type": {
+ "$id": "497",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError.code",
+ "serializationOptions": {
+ "$id": "498",
+ "json": {
+ "$id": "499",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "500",
+ "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": "501",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusError.message",
+ "serializationOptions": {
+ "$id": "502",
+ "json": {
+ "$id": "503",
+ "name": "message"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.errors",
+ "serializationOptions": {
+ "$id": "504",
+ "json": {
+ "$id": "505",
+ "name": "errors"
+ }
+ }
+ },
+ {
+ "$id": "506",
+ "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": "507",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.version",
+ "serializationOptions": {
+ "$id": "508",
+ "json": {
+ "$id": "509",
+ "name": "version"
+ }
+ }
+ },
+ {
+ "$id": "510",
+ "kind": "property",
+ "name": "datasets",
+ "serializedName": "datasets",
+ "doc": "Array of dataset statuses that describe the status of each dataset.",
+ "type": {
+ "$id": "511",
+ "kind": "array",
+ "name": "ArrayAssetStatusDataset",
+ "valueType": {
+ "$id": "512",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatusDataset",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status dataset properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "513",
+ "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": "514",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset.name",
+ "serializationOptions": {
+ "$id": "515",
+ "json": {
+ "$id": "516",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "517",
+ "kind": "property",
+ "name": "messageSchemaReference",
+ "serializedName": "messageSchemaReference",
+ "doc": "The message schema reference object.",
+ "type": {
+ "$id": "518",
+ "kind": "model",
+ "name": "MessageSchemaReference",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the message schema reference properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "519",
+ "kind": "property",
+ "name": "schemaRegistryNamespace",
+ "serializedName": "schemaRegistryNamespace",
+ "doc": "The message schema registry namespace.",
+ "type": {
+ "$id": "520",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaRegistryNamespace",
+ "serializationOptions": {
+ "$id": "521",
+ "json": {
+ "$id": "522",
+ "name": "schemaRegistryNamespace"
+ }
+ }
+ },
+ {
+ "$id": "523",
+ "kind": "property",
+ "name": "schemaName",
+ "serializedName": "schemaName",
+ "doc": "The message schema name.",
+ "type": {
+ "$id": "524",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaName",
+ "serializationOptions": {
+ "$id": "525",
+ "json": {
+ "$id": "526",
+ "name": "schemaName"
+ }
+ }
+ },
+ {
+ "$id": "527",
+ "kind": "property",
+ "name": "schemaVersion",
+ "serializedName": "schemaVersion",
+ "doc": "The message schema version.",
+ "type": {
+ "$id": "528",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.MessageSchemaReference.schemaVersion",
+ "serializationOptions": {
+ "$id": "529",
+ "json": {
+ "$id": "530",
+ "name": "schemaVersion"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusDataset.messageSchemaReference",
+ "serializationOptions": {
+ "$id": "531",
+ "json": {
+ "$id": "532",
+ "name": "messageSchemaReference"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.datasets",
+ "serializationOptions": {
+ "$id": "533",
+ "json": {
+ "$id": "534",
+ "name": "datasets"
+ }
+ }
+ },
+ {
+ "$id": "535",
+ "kind": "property",
+ "name": "events",
+ "serializedName": "events",
+ "doc": "Array of event statuses that describe the status of each event.",
+ "type": {
+ "$id": "536",
+ "kind": "array",
+ "name": "ArrayAssetStatusEvent",
+ "valueType": {
+ "$id": "537",
+ "kind": "model",
+ "name": "DeviceRegistryAssetStatusEvent",
+ "namespace": "Microsoft.DeviceRegistry",
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent",
+ "usage": "Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Defines the asset status event properties.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "538",
+ "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": "539",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent.name",
+ "serializationOptions": {
+ "$id": "540",
+ "json": {
+ "$id": "541",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "542",
+ "kind": "property",
+ "name": "messageSchemaReference",
+ "serializedName": "messageSchemaReference",
+ "doc": "The message schema reference object.",
+ "type": {
+ "$ref": "518"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatusEvent.messageSchemaReference",
+ "serializationOptions": {
+ "$id": "543",
+ "json": {
+ "$id": "544",
+ "name": "messageSchemaReference"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetStatus.events",
+ "serializationOptions": {
+ "$id": "545",
+ "json": {
+ "$id": "546",
+ "name": "events"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.status",
+ "serializationOptions": {
+ "$id": "547",
+ "json": {
+ "$id": "548",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "549",
+ "kind": "property",
+ "name": "provisioningState",
+ "serializedName": "provisioningState",
+ "doc": "Provisioning state of the resource.",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetProperties.provisioningState",
+ "serializationOptions": {
+ "$id": "550",
+ "json": {
+ "$id": "551",
+ "name": "provisioningState"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.properties",
+ "serializationOptions": {
+ "$id": "552",
+ "json": {
+ "$id": "553",
+ "name": "properties"
+ }
+ }
+ },
+ {
+ "$id": "554",
+ "kind": "property",
+ "name": "extendedLocation",
+ "serializedName": "extendedLocation",
+ "doc": "The extended location.",
+ "type": {
+ "$ref": "265"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Asset.extendedLocation",
+ "serializationOptions": {
+ "$id": "555",
+ "json": {
+ "$id": "556",
+ "name": "extendedLocation"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "339"
+ },
+ {
+ "$ref": "420"
+ },
+ {
+ "$ref": "432"
+ },
+ {
+ "$ref": "446"
+ },
+ {
+ "$ref": "447"
+ },
+ {
+ "$ref": "469"
+ },
+ {
+ "$ref": "470"
+ },
+ {
+ "$ref": "492"
+ },
+ {
+ "$ref": "495"
+ },
+ {
+ "$ref": "512"
+ },
+ {
+ "$ref": "518"
+ },
+ {
+ "$ref": "537"
+ },
+ {
+ "$id": "557",
+ "kind": "model",
+ "name": "AssetUpdate",
+ "namespace": "Azure.ResourceManager.Foundations",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
+ "usage": "Input,Json",
+ "doc": "The type used for update operations of the Asset.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "558",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Resource tags.",
+ "type": {
+ "$id": "559",
+ "kind": "dict",
+ "keyType": {
+ "$id": "560",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "561",
+ "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": "562",
+ "json": {
+ "$id": "563",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "564",
+ "kind": "property",
+ "name": "properties",
+ "serializedName": "properties",
+ "doc": "The resource-specific properties for this resource.",
+ "type": {
+ "$id": "565",
+ "kind": "model",
+ "name": "AssetUpdateProperties",
+ "namespace": "Azure.ResourceManager.Foundations",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
+ "usage": "Input,Json",
+ "doc": "The updatable properties of the Asset.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "566",
+ "kind": "property",
+ "name": "IsEnabled",
+ "serializedName": "enabled",
+ "doc": "Enabled/Disabled status of the asset.",
+ "type": {
+ "$id": "567",
+ "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": "568",
+ "json": {
+ "$id": "569",
+ "name": "enabled"
+ }
+ }
+ },
+ {
+ "$id": "570",
+ "kind": "property",
+ "name": "displayName",
+ "serializedName": "displayName",
+ "doc": "Human-readable display name.",
+ "type": {
+ "$id": "571",
+ "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": "572",
+ "json": {
+ "$id": "573",
+ "name": "displayName"
+ }
+ }
+ },
+ {
+ "$id": "574",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "Human-readable description of the asset.",
+ "type": {
+ "$id": "575",
+ "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": "576",
+ "json": {
+ "$id": "577",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "578",
+ "kind": "property",
+ "name": "manufacturer",
+ "serializedName": "manufacturer",
+ "doc": "Asset manufacturer name.",
+ "type": {
+ "$id": "579",
+ "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": "580",
+ "json": {
+ "$id": "581",
+ "name": "manufacturer"
+ }
+ }
+ },
+ {
+ "$id": "582",
+ "kind": "property",
+ "name": "manufacturerUri",
+ "serializedName": "manufacturerUri",
+ "doc": "Asset manufacturer URI.",
+ "type": {
+ "$id": "583",
+ "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": "584",
+ "json": {
+ "$id": "585",
+ "name": "manufacturerUri"
+ }
+ }
+ },
+ {
+ "$id": "586",
+ "kind": "property",
+ "name": "model",
+ "serializedName": "model",
+ "doc": "Asset model name.",
+ "type": {
+ "$id": "587",
+ "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": "588",
+ "json": {
+ "$id": "589",
+ "name": "model"
+ }
+ }
+ },
+ {
+ "$id": "590",
+ "kind": "property",
+ "name": "productCode",
+ "serializedName": "productCode",
+ "doc": "Asset product code.",
+ "type": {
+ "$id": "591",
+ "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": "592",
+ "json": {
+ "$id": "593",
+ "name": "productCode"
+ }
+ }
+ },
+ {
+ "$id": "594",
+ "kind": "property",
+ "name": "hardwareRevision",
+ "serializedName": "hardwareRevision",
+ "doc": "Revision number of the hardware.",
+ "type": {
+ "$id": "595",
+ "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": "596",
+ "json": {
+ "$id": "597",
+ "name": "hardwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "598",
+ "kind": "property",
+ "name": "softwareRevision",
+ "serializedName": "softwareRevision",
+ "doc": "Revision number of the software.",
+ "type": {
+ "$id": "599",
+ "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": "600",
+ "json": {
+ "$id": "601",
+ "name": "softwareRevision"
+ }
+ }
+ },
+ {
+ "$id": "602",
+ "kind": "property",
+ "name": "documentationUri",
+ "serializedName": "documentationUri",
+ "doc": "Reference to the documentation.",
+ "type": {
+ "$id": "603",
+ "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": "604",
+ "json": {
+ "$id": "605",
+ "name": "documentationUri"
+ }
+ }
+ },
+ {
+ "$id": "606",
+ "kind": "property",
+ "name": "serialNumber",
+ "serializedName": "serialNumber",
+ "doc": "Asset serial number.",
+ "type": {
+ "$id": "607",
+ "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": "608",
+ "json": {
+ "$id": "609",
+ "name": "serialNumber"
+ }
+ }
+ },
+ {
+ "$id": "610",
+ "kind": "property",
+ "name": "attributes",
+ "serializedName": "attributes",
+ "doc": "A set of key-value pairs that contain custom attributes set by the customer.",
+ "type": {
+ "$id": "611",
+ "kind": "dict",
+ "keyType": {
+ "$id": "612",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "613",
+ "kind": "unknown",
+ "name": "unknown",
+ "crossLanguageDefinitionId": "",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.attributes",
+ "serializationOptions": {
+ "$id": "614",
+ "json": {
+ "$id": "615",
+ "name": "attributes"
+ }
+ }
+ },
+ {
+ "$id": "616",
+ "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": "617",
+ "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": "618",
+ "json": {
+ "$id": "619",
+ "name": "defaultDatasetsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "620",
+ "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": "621",
+ "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": "622",
+ "json": {
+ "$id": "623",
+ "name": "defaultEventsConfiguration"
+ }
+ }
+ },
+ {
+ "$id": "624",
+ "kind": "property",
+ "name": "defaultTopic",
+ "serializedName": "defaultTopic",
+ "doc": "Object that describes the default topic information for the asset.",
+ "type": {
+ "$ref": "420"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.defaultTopic",
+ "serializationOptions": {
+ "$id": "625",
+ "json": {
+ "$id": "626",
+ "name": "defaultTopic"
+ }
+ }
+ },
+ {
+ "$id": "627",
+ "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": "628",
+ "kind": "array",
+ "name": "ArrayDataset",
+ "valueType": {
+ "$ref": "432"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.datasets",
+ "serializationOptions": {
+ "$id": "629",
+ "json": {
+ "$id": "630",
+ "name": "datasets"
+ }
+ }
+ },
+ {
+ "$id": "631",
+ "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": "632",
+ "kind": "array",
+ "name": "ArrayEvent",
+ "valueType": {
+ "$ref": "469"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.events",
+ "serializationOptions": {
+ "$id": "633",
+ "json": {
+ "$id": "634",
+ "name": "events"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties",
+ "serializationOptions": {
+ "$id": "635",
+ "json": {
+ "$id": "636",
+ "name": "properties"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "565"
+ },
+ {
+ "$id": "637",
+ "kind": "model",
+ "name": "AssetListResult",
+ "namespace": "Azure.ResourceManager",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult",
+ "usage": "Output,Json",
+ "doc": "The response of a Asset list operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "638",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Asset items on this page",
+ "type": {
+ "$id": "639",
+ "kind": "array",
+ "name": "ArrayAsset",
+ "valueType": {
+ "$ref": "337"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value",
+ "serializationOptions": {
+ "$id": "640",
+ "json": {
+ "$id": "641",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "642",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "643",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "644",
+ "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": "645",
+ "json": {
+ "$id": "646",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "647",
+ "kind": "model",
+ "name": "OperationListResult",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "648",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Operation items on this page",
+ "type": {
+ "$id": "649",
+ "kind": "array",
+ "name": "ArrayOperation",
+ "valueType": {
+ "$id": "650",
+ "kind": "model",
+ "name": "Operation",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "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": "651",
+ "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": "652",
+ "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": "653",
+ "json": {
+ "$id": "654",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "655",
+ "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": "656",
+ "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": "657",
+ "json": {
+ "$id": "658",
+ "name": "isDataAction"
+ }
+ }
+ },
+ {
+ "$id": "659",
+ "kind": "property",
+ "name": "display",
+ "serializedName": "display",
+ "doc": "Localized display information for this particular operation.",
+ "type": {
+ "$id": "660",
+ "kind": "model",
+ "name": "OperationDisplay",
+ "namespace": "Azure.ResourceManager.CommonTypes",
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay",
+ "usage": "Output,Json",
+ "doc": "Localized display information for and operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "661",
+ "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": "662",
+ "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": "663",
+ "json": {
+ "$id": "664",
+ "name": "provider"
+ }
+ }
+ },
+ {
+ "$id": "665",
+ "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": "666",
+ "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": "667",
+ "json": {
+ "$id": "668",
+ "name": "resource"
+ }
+ }
+ },
+ {
+ "$id": "669",
+ "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": "670",
+ "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": "671",
+ "json": {
+ "$id": "672",
+ "name": "operation"
+ }
+ }
+ },
+ {
+ "$id": "673",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
+ "type": {
+ "$id": "674",
+ "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": "675",
+ "json": {
+ "$id": "676",
+ "name": "description"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display",
+ "serializationOptions": {
+ "$id": "677",
+ "json": {
+ "$id": "678",
+ "name": "display"
+ }
+ }
+ },
+ {
+ "$id": "679",
+ "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": "64"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin",
+ "serializationOptions": {
+ "$id": "680",
+ "json": {
+ "$id": "681",
+ "name": "origin"
+ }
+ }
+ },
+ {
+ "$id": "682",
+ "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": "72"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType",
+ "serializationOptions": {
+ "$id": "683",
+ "json": {
+ "$id": "684",
+ "name": "actionType"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.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.CommonTypes.OperationListResult.nextLink",
+ "serializationOptions": {
+ "$id": "690",
+ "json": {
+ "$id": "691",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "650"
+ },
+ {
+ "$ref": "660"
+ }
+ ],
+ "clients": [
+ {
+ "$id": "692",
+ "name": "DeviceRegistryClient",
+ "namespace": "Microsoft.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": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry"
+ },
+ {
+ "$id": "697",
+ "name": "Operations",
+ "namespace": "Microsoft.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "698",
+ "name": "list",
+ "resourceName": "Operations",
+ "doc": "List the operations for the provider",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "699",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "700",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "701",
+ "type": {
+ "$id": "702",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "703",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "704",
+ "kind": "constant",
+ "valueType": {
+ "$id": "705",
+ "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": "706",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "647"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/providers/Microsoft.DeviceRegistry/operations",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "707",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "708",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "709",
+ "kind": "http",
+ "name": "List_Operations",
+ "description": "List_Operations",
+ "filePath": "2024-11-01/List_Operations.json",
+ "parameters": [
+ {
+ "$id": "710",
+ "parameter": {
+ "$ref": "699"
+ },
+ "value": {
+ "$id": "711",
+ "kind": "string",
+ "type": {
+ "$ref": "700"
+ },
+ "value": "2024-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "712",
+ "response": {
+ "$ref": "706"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "713",
+ "kind": "model",
+ "type": {
+ "$ref": "647"
+ },
+ "value": {
+ "$id": "714",
+ "value": {
+ "$id": "715",
+ "kind": "array",
+ "type": {
+ "$ref": "649"
+ },
+ "value": [
+ {
+ "$id": "716",
+ "kind": "model",
+ "type": {
+ "$ref": "650"
+ },
+ "value": {
+ "$id": "717",
+ "name": {
+ "$id": "718",
+ "kind": "string",
+ "type": {
+ "$ref": "652"
+ },
+ "value": "Microsoft.DeviceRegistry/assets/write"
+ },
+ "display": {
+ "$id": "719",
+ "kind": "model",
+ "type": {
+ "$ref": "660"
+ },
+ "value": {
+ "$id": "720",
+ "provider": {
+ "$id": "721",
+ "kind": "string",
+ "type": {
+ "$ref": "662"
+ },
+ "value": "Microsoft Azure Device Registry"
+ },
+ "resource": {
+ "$id": "722",
+ "kind": "string",
+ "type": {
+ "$ref": "666"
+ },
+ "value": "Asset"
+ },
+ "operation": {
+ "$id": "723",
+ "kind": "string",
+ "type": {
+ "$ref": "670"
+ },
+ "value": "write"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parent": "DeviceRegistryClient",
+ "parameters": [
+ {
+ "$id": "724",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "725",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url"
+ },
+ "location": "Uri",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isRequired": true,
+ "isEndpoint": true,
+ "skipUrlEncoding": false,
+ "explode": false,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "726",
+ "type": {
+ "$id": "727",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Operations"
+ },
+ {
+ "$id": "728",
+ "name": "OperationStatus",
+ "namespace": "Microsoft.DeviceRegistry",
+ "operations": [],
+ "parent": "DeviceRegistryClient",
+ "parameters": [
+ {
+ "$id": "729",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "730",
+ "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": "731",
+ "type": {
+ "$id": "732",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.OperationStatus"
+ },
+ {
+ "$id": "733",
+ "name": "Assets",
+ "namespace": "Microsoft.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "734",
+ "name": "get",
+ "resourceName": "Asset",
+ "doc": "Get a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "735",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "736",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "737",
+ "type": {
+ "$id": "738",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "739",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "740",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "741",
+ "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": "742",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "743",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "744",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "745",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "746",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "747",
+ "kind": "constant",
+ "valueType": {
+ "$id": "748",
+ "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": "749",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "337"
+ },
+ "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": "750",
+ "kind": "http",
+ "name": "Get_Asset",
+ "description": "Get_Asset",
+ "filePath": "2024-11-01/Get_Asset.json",
+ "parameters": [
+ {
+ "$id": "751",
+ "parameter": {
+ "$ref": "735"
+ },
+ "value": {
+ "$id": "752",
+ "kind": "string",
+ "type": {
+ "$ref": "736"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "753",
+ "parameter": {
+ "$ref": "739"
+ },
+ "value": {
+ "$id": "754",
+ "kind": "string",
+ "type": {
+ "$ref": "740"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "755",
+ "parameter": {
+ "$ref": "742"
+ },
+ "value": {
+ "$id": "756",
+ "kind": "string",
+ "type": {
+ "$ref": "743"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "757",
+ "parameter": {
+ "$ref": "744"
+ },
+ "value": {
+ "$id": "758",
+ "kind": "string",
+ "type": {
+ "$ref": "745"
+ },
+ "value": "my-asset"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "759",
+ "response": {
+ "$ref": "749"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "760",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "761",
+ "id": {
+ "$id": "762",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "763",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "764",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "765",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "766",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "767",
+ "type": {
+ "$id": "768",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "769",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "770",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "771",
+ "site": {
+ "$id": "772",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "773",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "774",
+ "createdBy": {
+ "$id": "775",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "776",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "777",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "778",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "779",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "780",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "781",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "782",
+ "uuid": {
+ "$id": "783",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "784",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "785",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "786",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "787",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "788",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "789",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "790",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "791",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "792",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "793",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "794",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "795",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "796",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "797",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "798",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "799",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "800",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "801",
+ "path": {
+ "$id": "802",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "803",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "804",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "805",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "806",
+ "name": {
+ "$id": "807",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "808",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "809",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "810",
+ "path": {
+ "$id": "811",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "812",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "813",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "814",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "815",
+ "name": {
+ "$id": "816",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "817",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "818",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "819",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "820",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "821",
+ "name": {
+ "$id": "822",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "823",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "824",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "825",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "826",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "827",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "828",
+ "name": {
+ "$id": "829",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "830",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "831",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "832",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "833",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "834",
+ "path": {
+ "$id": "835",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "836",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "837",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "838",
+ "name": {
+ "$id": "839",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "840",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "841",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "842",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "843",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "844",
+ "kind": "http",
+ "name": "Get_Asset_With_SyncStatus",
+ "description": "Get_Asset_With_SyncStatus",
+ "filePath": "2024-11-01/Get_Asset_With_SyncStatus.json",
+ "parameters": [
+ {
+ "$id": "845",
+ "parameter": {
+ "$ref": "735"
+ },
+ "value": {
+ "$id": "846",
+ "kind": "string",
+ "type": {
+ "$ref": "736"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "847",
+ "parameter": {
+ "$ref": "739"
+ },
+ "value": {
+ "$id": "848",
+ "kind": "string",
+ "type": {
+ "$ref": "740"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "849",
+ "parameter": {
+ "$ref": "742"
+ },
+ "value": {
+ "$id": "850",
+ "kind": "string",
+ "type": {
+ "$ref": "743"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "851",
+ "parameter": {
+ "$ref": "744"
+ },
+ "value": {
+ "$id": "852",
+ "kind": "string",
+ "type": {
+ "$ref": "745"
+ },
+ "value": "my-asset"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "853",
+ "response": {
+ "$ref": "749"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "854",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "855",
+ "id": {
+ "$id": "856",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "857",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "858",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "859",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "860",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "861",
+ "type": {
+ "$id": "862",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "863",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "864",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "865",
+ "site": {
+ "$id": "866",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "867",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "868",
+ "createdBy": {
+ "$id": "869",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "870",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "871",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "872",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "873",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "874",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "875",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "876",
+ "uuid": {
+ "$id": "877",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "878",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "879",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "880",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "881",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "882",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "883",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "884",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "885",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "886",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "887",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "888",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "889",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "890",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "891",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "892",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "893",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "894",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "895",
+ "path": {
+ "$id": "896",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "897",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "898",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "899",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "900",
+ "name": {
+ "$id": "901",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "902",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "903",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "904",
+ "path": {
+ "$id": "905",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "906",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "907",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "908",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "909",
+ "name": {
+ "$id": "910",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "911",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "912",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "913",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "914",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "915",
+ "name": {
+ "$id": "916",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "917",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "918",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "919",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "920",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "921",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "922",
+ "name": {
+ "$id": "923",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "924",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "925",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "926",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "927",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "928",
+ "path": {
+ "$id": "929",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "930",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "931",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "932",
+ "name": {
+ "$id": "933",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "934",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "935",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "936",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "status": {
+ "$id": "937",
+ "kind": "model",
+ "type": {
+ "$ref": "492"
+ },
+ "value": {
+ "$id": "938",
+ "errors": {
+ "$id": "939",
+ "kind": "array",
+ "type": {
+ "$ref": "494"
+ },
+ "value": [
+ {
+ "$id": "940",
+ "kind": "model",
+ "type": {
+ "$ref": "495"
+ },
+ "value": {
+ "$id": "941",
+ "code": {
+ "$id": "942",
+ "kind": "number",
+ "type": {
+ "$ref": "497"
+ },
+ "value": 500
+ },
+ "message": {
+ "$id": "943",
+ "kind": "string",
+ "type": {
+ "$ref": "501"
+ },
+ "value": "Internal Server Error"
+ }
+ }
+ }
+ ]
+ },
+ "version": {
+ "$id": "944",
+ "kind": "number",
+ "type": {
+ "$ref": "507"
+ },
+ "value": 1
+ },
+ "datasets": {
+ "$id": "945",
+ "kind": "array",
+ "type": {
+ "$ref": "511"
+ },
+ "value": [
+ {
+ "$id": "946",
+ "kind": "model",
+ "type": {
+ "$ref": "512"
+ },
+ "value": {
+ "$id": "947",
+ "name": {
+ "$id": "948",
+ "kind": "string",
+ "type": {
+ "$ref": "514"
+ },
+ "value": "dataset1"
+ },
+ "messageSchemaReference": {
+ "$id": "949",
+ "kind": "model",
+ "type": {
+ "$ref": "518"
+ },
+ "value": {
+ "$id": "950",
+ "schemaRegistryNamespace": {
+ "$id": "951",
+ "kind": "string",
+ "type": {
+ "$ref": "520"
+ },
+ "value": "schemans"
+ },
+ "schemaName": {
+ "$id": "952",
+ "kind": "string",
+ "type": {
+ "$ref": "524"
+ },
+ "value": "schema1"
+ },
+ "schemaVersion": {
+ "$id": "953",
+ "kind": "string",
+ "type": {
+ "$ref": "528"
+ },
+ "value": "1.0.0"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "954",
+ "kind": "array",
+ "type": {
+ "$ref": "536"
+ },
+ "value": [
+ {
+ "$id": "955",
+ "kind": "model",
+ "type": {
+ "$ref": "537"
+ },
+ "value": {
+ "$id": "956",
+ "name": {
+ "$id": "957",
+ "kind": "string",
+ "type": {
+ "$ref": "539"
+ },
+ "value": "event1"
+ },
+ "messageSchemaReference": {
+ "$id": "958",
+ "kind": "model",
+ "type": {
+ "$ref": "518"
+ },
+ "value": {
+ "$id": "959",
+ "schemaRegistryNamespace": {
+ "$id": "960",
+ "kind": "string",
+ "type": {
+ "$ref": "520"
+ },
+ "value": "schemans"
+ },
+ "schemaName": {
+ "$id": "961",
+ "kind": "string",
+ "type": {
+ "$ref": "524"
+ },
+ "value": "schema2"
+ },
+ "schemaVersion": {
+ "$id": "962",
+ "kind": "string",
+ "type": {
+ "$ref": "528"
+ },
+ "value": "1.0.0"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "963",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "964",
+ "name": "createOrReplace",
+ "resourceName": "Asset",
+ "doc": "Create a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "965",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "966",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "967",
+ "type": {
+ "$id": "968",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "969",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "970",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "971",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "972",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "973",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "974",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "975",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "976",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "977",
+ "kind": "constant",
+ "valueType": {
+ "$id": "978",
+ "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": "979",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "980",
+ "kind": "constant",
+ "valueType": {
+ "$id": "981",
+ "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": "982",
+ "name": "resource",
+ "nameInRequest": "resource",
+ "doc": "Resource create parameters.",
+ "type": {
+ "$ref": "337"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "983",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "337"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "984",
+ "statusCodes": [
+ 201
+ ],
+ "bodyType": {
+ "$ref": "337"
+ },
+ "headers": [
+ {
+ "$id": "985",
+ "name": "azureAsyncOperation",
+ "nameInResponse": "Azure-AsyncOperation",
+ "doc": "A link to the status monitor",
+ "type": {
+ "$id": "986",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "987",
+ "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": "988",
+ "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": "989",
+ "finalStateVia": 0,
+ "finalResponse": {
+ "$id": "990",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "337"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.createOrReplace",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "991",
+ "kind": "http",
+ "name": "Create_Asset_With_DiscoveredAssetRefs",
+ "description": "Create_Asset_With_DiscoveredAssetRefs",
+ "filePath": "2024-11-01/Create_Asset_With_DiscoveredAssetRef.json",
+ "parameters": [
+ {
+ "$id": "992",
+ "parameter": {
+ "$ref": "965"
+ },
+ "value": {
+ "$id": "993",
+ "kind": "string",
+ "type": {
+ "$ref": "966"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "994",
+ "parameter": {
+ "$ref": "969"
+ },
+ "value": {
+ "$id": "995",
+ "kind": "string",
+ "type": {
+ "$ref": "970"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "996",
+ "parameter": {
+ "$ref": "972"
+ },
+ "value": {
+ "$id": "997",
+ "kind": "string",
+ "type": {
+ "$ref": "973"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "998",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "999",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1000",
+ "parameter": {
+ "$ref": "982"
+ },
+ "value": {
+ "$id": "1001",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1002",
+ "location": {
+ "$id": "1003",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1004",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1005",
+ "type": {
+ "$id": "1006",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1007",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1008",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1009",
+ "site": {
+ "$id": "1010",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1011",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1012",
+ "enabled": {
+ "$id": "1013",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1014",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1015",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1016",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1017",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1018",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1019",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1020",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1021",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1022",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1023",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1024",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1025",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "discoveredAssetRefs": {
+ "$id": "1026",
+ "kind": "array",
+ "type": {
+ "$ref": "407"
+ },
+ "value": [
+ {
+ "$id": "1027",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "discoveredAsset1"
+ },
+ {
+ "$id": "1028",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "discoveredAsset2"
+ }
+ ]
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1029",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1030",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1031",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1032",
+ "path": {
+ "$id": "1033",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1034",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1035",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1036",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1037",
+ "name": {
+ "$id": "1038",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1039",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1040",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1041",
+ "path": {
+ "$id": "1042",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1043",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1044",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1045",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1046",
+ "name": {
+ "$id": "1047",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1048",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1049",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1050",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1051",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1052",
+ "name": {
+ "$id": "1053",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1054",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1055",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1056",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1057",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1058",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1059",
+ "name": {
+ "$id": "1060",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1061",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1062",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1063",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1064",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1065",
+ "path": {
+ "$id": "1066",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1067",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1068",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1069",
+ "name": {
+ "$id": "1070",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1071",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1072",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1073",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1074",
+ "response": {
+ "$ref": "983"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1075",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1076",
+ "id": {
+ "$id": "1077",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1078",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1079",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1080",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1081",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1082",
+ "type": {
+ "$id": "1083",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1084",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1085",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1086",
+ "site": {
+ "$id": "1087",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1088",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1089",
+ "createdBy": {
+ "$id": "1090",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1091",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1092",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1093",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1094",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1095",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1096",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1097",
+ "uuid": {
+ "$id": "1098",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1099",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1100",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1101",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1102",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1103",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1104",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1105",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1106",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1107",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1108",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1109",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1110",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1111",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1112",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "discoveredAssetRefs": {
+ "$id": "1113",
+ "kind": "array",
+ "type": {
+ "$ref": "407"
+ },
+ "value": [
+ {
+ "$id": "1114",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "discoveredAsset1"
+ },
+ {
+ "$id": "1115",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "discoveredAsset2"
+ }
+ ]
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1116",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1117",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1118",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1119",
+ "path": {
+ "$id": "1120",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1121",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1122",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1123",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1124",
+ "name": {
+ "$id": "1125",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1126",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1127",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1128",
+ "path": {
+ "$id": "1129",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1130",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1131",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1132",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1133",
+ "name": {
+ "$id": "1134",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1135",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1136",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1137",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1138",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1139",
+ "name": {
+ "$id": "1140",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1141",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1142",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1143",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1144",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1145",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1146",
+ "name": {
+ "$id": "1147",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1148",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1149",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1150",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1151",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1152",
+ "path": {
+ "$id": "1153",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1154",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1155",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1156",
+ "name": {
+ "$id": "1157",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1158",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1159",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1160",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1161",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1162",
+ "response": {
+ "$ref": "984"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1163",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1164",
+ "id": {
+ "$id": "1165",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1166",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1167",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1168",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1169",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1170",
+ "type": {
+ "$id": "1171",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1172",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1173",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1174",
+ "site": {
+ "$id": "1175",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1176",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1177",
+ "createdBy": {
+ "$id": "1178",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1179",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1180",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1181",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1182",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1183",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1184",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1185",
+ "uuid": {
+ "$id": "1186",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1187",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1188",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1189",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1190",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1191",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1192",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1193",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1194",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1195",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1196",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1197",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1198",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1199",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1200",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "discoveredAssetRefs": {
+ "$id": "1201",
+ "kind": "array",
+ "type": {
+ "$ref": "407"
+ },
+ "value": [
+ {
+ "$id": "1202",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "discoveredAsset1"
+ },
+ {
+ "$id": "1203",
+ "kind": "string",
+ "type": {
+ "$ref": "408"
+ },
+ "value": "discoveredAsset2"
+ }
+ ]
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1204",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1205",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1206",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1207",
+ "path": {
+ "$id": "1208",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1209",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1210",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1211",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1212",
+ "name": {
+ "$id": "1213",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1214",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1215",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1216",
+ "path": {
+ "$id": "1217",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1218",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1219",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1220",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1221",
+ "name": {
+ "$id": "1222",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1223",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1224",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1225",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1226",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1227",
+ "name": {
+ "$id": "1228",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1229",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1230",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1231",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1232",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1233",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1234",
+ "name": {
+ "$id": "1235",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1236",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1237",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1238",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1239",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1240",
+ "path": {
+ "$id": "1241",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1242",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1243",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1244",
+ "name": {
+ "$id": "1245",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1246",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1247",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1248",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1249",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1250",
+ "kind": "http",
+ "name": "Create_Asset_With_ExternalAssetId",
+ "description": "Create_Asset_With_ExternalAssetId",
+ "filePath": "2024-11-01/Create_Asset_With_ExternalAssetId.json",
+ "parameters": [
+ {
+ "$id": "1251",
+ "parameter": {
+ "$ref": "965"
+ },
+ "value": {
+ "$id": "1252",
+ "kind": "string",
+ "type": {
+ "$ref": "966"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "1253",
+ "parameter": {
+ "$ref": "969"
+ },
+ "value": {
+ "$id": "1254",
+ "kind": "string",
+ "type": {
+ "$ref": "970"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1255",
+ "parameter": {
+ "$ref": "972"
+ },
+ "value": {
+ "$id": "1256",
+ "kind": "string",
+ "type": {
+ "$ref": "973"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1257",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1258",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1259",
+ "parameter": {
+ "$ref": "982"
+ },
+ "value": {
+ "$id": "1260",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1261",
+ "location": {
+ "$id": "1262",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1263",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1264",
+ "type": {
+ "$id": "1265",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1266",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1267",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1268",
+ "site": {
+ "$id": "1269",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1270",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1271",
+ "enabled": {
+ "$id": "1272",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1273",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1274",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1275",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1276",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1277",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1278",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1279",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1280",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1281",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1282",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1283",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1284",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1285",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1286",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1287",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1288",
+ "path": {
+ "$id": "1289",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1290",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1291",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1292",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1293",
+ "name": {
+ "$id": "1294",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1295",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1296",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1297",
+ "path": {
+ "$id": "1298",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1299",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1300",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1301",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1302",
+ "name": {
+ "$id": "1303",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1304",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1305",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1306",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1307",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1308",
+ "name": {
+ "$id": "1309",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1310",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1311",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1312",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1313",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1314",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1315",
+ "name": {
+ "$id": "1316",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1317",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1318",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1319",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1320",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1321",
+ "path": {
+ "$id": "1322",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1323",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1324",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1325",
+ "name": {
+ "$id": "1326",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1327",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1328",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1329",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1330",
+ "response": {
+ "$ref": "983"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1331",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1332",
+ "id": {
+ "$id": "1333",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1334",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1335",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1336",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1337",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1338",
+ "type": {
+ "$id": "1339",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1340",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1341",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1342",
+ "site": {
+ "$id": "1343",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1344",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1345",
+ "createdBy": {
+ "$id": "1346",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1347",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1348",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1349",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1350",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1351",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1352",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1353",
+ "uuid": {
+ "$id": "1354",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1355",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1356",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1357",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1358",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1359",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1360",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1361",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1362",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1363",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1364",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1365",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1366",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1367",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1368",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1369",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1370",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1371",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1372",
+ "path": {
+ "$id": "1373",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1374",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1375",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1376",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1377",
+ "name": {
+ "$id": "1378",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1379",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1380",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1381",
+ "path": {
+ "$id": "1382",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1383",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1384",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1385",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1386",
+ "name": {
+ "$id": "1387",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1388",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1389",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1390",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1391",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1392",
+ "name": {
+ "$id": "1393",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1394",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1395",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1396",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1397",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1398",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1399",
+ "name": {
+ "$id": "1400",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1401",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1402",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1403",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1404",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1405",
+ "path": {
+ "$id": "1406",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1407",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1408",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1409",
+ "name": {
+ "$id": "1410",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1411",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1412",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1413",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1414",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1415",
+ "response": {
+ "$ref": "984"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1416",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1417",
+ "id": {
+ "$id": "1418",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1419",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1420",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1421",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1422",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1423",
+ "type": {
+ "$id": "1424",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1425",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1426",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1427",
+ "site": {
+ "$id": "1428",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1429",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1430",
+ "createdBy": {
+ "$id": "1431",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1432",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1433",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1434",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1435",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1436",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1437",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1438",
+ "uuid": {
+ "$id": "1439",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1440",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1441",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1442",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1443",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1444",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1445",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1446",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1447",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1448",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1449",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1450",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1451",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1452",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1453",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1454",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1455",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1456",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1457",
+ "path": {
+ "$id": "1458",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1459",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1460",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1461",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1462",
+ "name": {
+ "$id": "1463",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1464",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1465",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1466",
+ "path": {
+ "$id": "1467",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1468",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1469",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1470",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1471",
+ "name": {
+ "$id": "1472",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1473",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1474",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1475",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1476",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1477",
+ "name": {
+ "$id": "1478",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1479",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1480",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1481",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1482",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1483",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1484",
+ "name": {
+ "$id": "1485",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1486",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1487",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1488",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1489",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1490",
+ "path": {
+ "$id": "1491",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1492",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1493",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1494",
+ "name": {
+ "$id": "1495",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1496",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1497",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1498",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1499",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1500",
+ "kind": "http",
+ "name": "Create_Asset_Without_DisplayName",
+ "description": "Create_Asset_Without_DisplayName",
+ "filePath": "2024-11-01/Create_Asset_Without_DisplayName.json",
+ "parameters": [
+ {
+ "$id": "1501",
+ "parameter": {
+ "$ref": "965"
+ },
+ "value": {
+ "$id": "1502",
+ "kind": "string",
+ "type": {
+ "$ref": "966"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "1503",
+ "parameter": {
+ "$ref": "969"
+ },
+ "value": {
+ "$id": "1504",
+ "kind": "string",
+ "type": {
+ "$ref": "970"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1505",
+ "parameter": {
+ "$ref": "972"
+ },
+ "value": {
+ "$id": "1506",
+ "kind": "string",
+ "type": {
+ "$ref": "973"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1507",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1508",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1509",
+ "parameter": {
+ "$ref": "982"
+ },
+ "value": {
+ "$id": "1510",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1511",
+ "location": {
+ "$id": "1512",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1513",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1514",
+ "type": {
+ "$id": "1515",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1516",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1517",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1518",
+ "site": {
+ "$id": "1519",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1520",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1521",
+ "enabled": {
+ "$id": "1522",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1523",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "description": {
+ "$id": "1524",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1525",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1526",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1527",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1528",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1529",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1530",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1531",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1532",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1533",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1534",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1535",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1536",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1537",
+ "path": {
+ "$id": "1538",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1539",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1540",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1541",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1542",
+ "name": {
+ "$id": "1543",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1544",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1545",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1546",
+ "path": {
+ "$id": "1547",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1548",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1549",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1550",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1551",
+ "name": {
+ "$id": "1552",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1553",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1554",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1555",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1556",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1557",
+ "name": {
+ "$id": "1558",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1559",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1560",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1561",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1562",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1563",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1564",
+ "name": {
+ "$id": "1565",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1566",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1567",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1568",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1569",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1570",
+ "path": {
+ "$id": "1571",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1572",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1573",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1574",
+ "name": {
+ "$id": "1575",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1576",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1577",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1578",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1579",
+ "response": {
+ "$ref": "983"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1580",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1581",
+ "id": {
+ "$id": "1582",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1583",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1584",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1585",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1586",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1587",
+ "type": {
+ "$id": "1588",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1589",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1590",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1591",
+ "site": {
+ "$id": "1592",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1593",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1594",
+ "createdBy": {
+ "$id": "1595",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1596",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1597",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1598",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1599",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1600",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1601",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1602",
+ "uuid": {
+ "$id": "1603",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1604",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1605",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1606",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "my-asset"
+ },
+ "description": {
+ "$id": "1607",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1608",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1609",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1610",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1611",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1612",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1613",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1614",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1615",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1616",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1617",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1618",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1619",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1620",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1621",
+ "path": {
+ "$id": "1622",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1623",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1624",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1625",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1626",
+ "name": {
+ "$id": "1627",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1628",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1629",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1630",
+ "path": {
+ "$id": "1631",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1632",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1633",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1634",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1635",
+ "name": {
+ "$id": "1636",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1637",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1638",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1639",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1640",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1641",
+ "name": {
+ "$id": "1642",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1643",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1644",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1645",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1646",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1647",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1648",
+ "name": {
+ "$id": "1649",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1650",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1651",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1652",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1653",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1654",
+ "path": {
+ "$id": "1655",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1656",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1657",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1658",
+ "name": {
+ "$id": "1659",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1660",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1661",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1662",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1663",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1664",
+ "response": {
+ "$ref": "984"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1665",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1666",
+ "id": {
+ "$id": "1667",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1668",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1669",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1670",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1671",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1672",
+ "type": {
+ "$id": "1673",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1674",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1675",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1676",
+ "site": {
+ "$id": "1677",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1678",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1679",
+ "createdBy": {
+ "$id": "1680",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1681",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1682",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1683",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1684",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1685",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1686",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1687",
+ "uuid": {
+ "$id": "1688",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1689",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1690",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "1691",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "my-asset"
+ },
+ "description": {
+ "$id": "1692",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1693",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1694",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1695",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1696",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1697",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1698",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1699",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1700",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1701",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1702",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1703",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1704",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1705",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1706",
+ "path": {
+ "$id": "1707",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1708",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1709",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1710",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1711",
+ "name": {
+ "$id": "1712",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1713",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1714",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1715",
+ "path": {
+ "$id": "1716",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1717",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1718",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1719",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1720",
+ "name": {
+ "$id": "1721",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1722",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1723",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1724",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1725",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1726",
+ "name": {
+ "$id": "1727",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1728",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1729",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1730",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1731",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1732",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1733",
+ "name": {
+ "$id": "1734",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1735",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1736",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1737",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1738",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1739",
+ "path": {
+ "$id": "1740",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1741",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1742",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1743",
+ "name": {
+ "$id": "1744",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1745",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1746",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1747",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1748",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1749",
+ "kind": "http",
+ "name": "Create_Asset_Without_ExternalAssetId",
+ "description": "Create_Asset_Without_ExternalAssetId",
+ "filePath": "2024-11-01/Create_Asset_Without_ExternalAssetId.json",
+ "parameters": [
+ {
+ "$id": "1750",
+ "parameter": {
+ "$ref": "965"
+ },
+ "value": {
+ "$id": "1751",
+ "kind": "string",
+ "type": {
+ "$ref": "966"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "1752",
+ "parameter": {
+ "$ref": "969"
+ },
+ "value": {
+ "$id": "1753",
+ "kind": "string",
+ "type": {
+ "$ref": "970"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "1754",
+ "parameter": {
+ "$ref": "972"
+ },
+ "value": {
+ "$id": "1755",
+ "kind": "string",
+ "type": {
+ "$ref": "973"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "1756",
+ "parameter": {
+ "$ref": "974"
+ },
+ "value": {
+ "$id": "1757",
+ "kind": "string",
+ "type": {
+ "$ref": "975"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "1758",
+ "parameter": {
+ "$ref": "982"
+ },
+ "value": {
+ "$id": "1759",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1760",
+ "location": {
+ "$id": "1761",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1762",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1763",
+ "type": {
+ "$id": "1764",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1765",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1766",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1767",
+ "site": {
+ "$id": "1768",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1769",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1770",
+ "enabled": {
+ "$id": "1771",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "displayName": {
+ "$id": "1772",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1773",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1774",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "manufacturer": {
+ "$id": "1775",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1776",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1777",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1778",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1779",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1780",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1781",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1782",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1783",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1784",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1785",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1786",
+ "path": {
+ "$id": "1787",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1788",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1789",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1790",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1791",
+ "name": {
+ "$id": "1792",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1793",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1794",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1795",
+ "path": {
+ "$id": "1796",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1797",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1798",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1799",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1800",
+ "name": {
+ "$id": "1801",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1802",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1803",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1804",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1805",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1806",
+ "name": {
+ "$id": "1807",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1808",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1809",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1810",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1811",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1812",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1813",
+ "name": {
+ "$id": "1814",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1815",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1816",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1817",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1818",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1819",
+ "path": {
+ "$id": "1820",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1821",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1822",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1823",
+ "name": {
+ "$id": "1824",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1825",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1826",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1827",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1828",
+ "response": {
+ "$ref": "983"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1829",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1830",
+ "id": {
+ "$id": "1831",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1832",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1833",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1834",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1835",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1836",
+ "type": {
+ "$id": "1837",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1838",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1839",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1840",
+ "site": {
+ "$id": "1841",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1842",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1843",
+ "createdBy": {
+ "$id": "1844",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1845",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1846",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1847",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1848",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1849",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1850",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1851",
+ "uuid": {
+ "$id": "1852",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1853",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1854",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "displayName": {
+ "$id": "1855",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1856",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1857",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1858",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1859",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1860",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1861",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1862",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1863",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1864",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1865",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1866",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1867",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1868",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1869",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1870",
+ "path": {
+ "$id": "1871",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1872",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1873",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1874",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1875",
+ "name": {
+ "$id": "1876",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1877",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1878",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1879",
+ "path": {
+ "$id": "1880",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1881",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1882",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1883",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1884",
+ "name": {
+ "$id": "1885",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1886",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1887",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1888",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1889",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1890",
+ "name": {
+ "$id": "1891",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1892",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1893",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1894",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1895",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1896",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1897",
+ "name": {
+ "$id": "1898",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1899",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1900",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1901",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1902",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1903",
+ "path": {
+ "$id": "1904",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1905",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1906",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1907",
+ "name": {
+ "$id": "1908",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1909",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1910",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1911",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1912",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1913",
+ "response": {
+ "$ref": "984"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1914",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "1915",
+ "id": {
+ "$id": "1916",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "1917",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "1918",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "1919",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "1920",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "1921",
+ "type": {
+ "$id": "1922",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "1923",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "1924",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "1925",
+ "site": {
+ "$id": "1926",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "1927",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "1928",
+ "createdBy": {
+ "$id": "1929",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "1930",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "1931",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "1932",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "1933",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "1934",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "1935",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "1936",
+ "uuid": {
+ "$id": "1937",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "1938",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "1939",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "displayName": {
+ "$id": "1940",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "1941",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "1942",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "1943",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "1944",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "1945",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "1946",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "1947",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "1948",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "1949",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "1950",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "1951",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "1952",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "1953",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "1954",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1955",
+ "path": {
+ "$id": "1956",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "1957",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "1958",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "1959",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "1960",
+ "name": {
+ "$id": "1961",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "1962",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "1963",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1964",
+ "path": {
+ "$id": "1965",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "1966",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "1967",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "1968",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1969",
+ "name": {
+ "$id": "1970",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "1971",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "1972",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "1973",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "1974",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "1975",
+ "name": {
+ "$id": "1976",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "1977",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "1978",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "1979",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "1980",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "1981",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1982",
+ "name": {
+ "$id": "1983",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "1984",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "1985",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "1986",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "1987",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "1988",
+ "path": {
+ "$id": "1989",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "1990",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "1991",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "1992",
+ "name": {
+ "$id": "1993",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "1994",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "1995",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "1996",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "1997",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1998",
+ "name": "update",
+ "resourceName": "Asset",
+ "doc": "Update a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1999",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2000",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2001",
+ "type": {
+ "$id": "2002",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2003",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2004",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2005",
+ "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": "2006",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2007",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2008",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "2009",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2010",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "2011",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2012",
+ "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": "2013",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2014",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2015",
+ "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": "2016",
+ "name": "properties",
+ "nameInRequest": "properties",
+ "doc": "The resource properties to be updated.",
+ "type": {
+ "$ref": "557"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2017",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "337"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "2018",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2019",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2020",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2021",
+ "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": "2022",
+ "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": "2023",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2024",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "337"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": false,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.update",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2025",
+ "kind": "http",
+ "name": "Update_Asset",
+ "description": "Update_Asset",
+ "filePath": "2024-11-01/Update_Asset.json",
+ "parameters": [
+ {
+ "$id": "2026",
+ "parameter": {
+ "$ref": "1999"
+ },
+ "value": {
+ "$id": "2027",
+ "kind": "string",
+ "type": {
+ "$ref": "2000"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2028",
+ "parameter": {
+ "$ref": "2003"
+ },
+ "value": {
+ "$id": "2029",
+ "kind": "string",
+ "type": {
+ "$ref": "2004"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2030",
+ "parameter": {
+ "$ref": "2006"
+ },
+ "value": {
+ "$id": "2031",
+ "kind": "string",
+ "type": {
+ "$ref": "2007"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2032",
+ "parameter": {
+ "$ref": "2008"
+ },
+ "value": {
+ "$id": "2033",
+ "kind": "string",
+ "type": {
+ "$ref": "2009"
+ },
+ "value": "my-asset"
+ }
+ },
+ {
+ "$id": "2034",
+ "parameter": {
+ "$ref": "2016"
+ },
+ "value": {
+ "$id": "2035",
+ "kind": "model",
+ "type": {
+ "$ref": "557"
+ },
+ "value": {
+ "$id": "2036",
+ "properties": {
+ "$id": "2037",
+ "kind": "model",
+ "type": {
+ "$ref": "565"
+ },
+ "value": {
+ "$id": "2038",
+ "enabled": {
+ "$id": "2039",
+ "kind": "boolean",
+ "type": {
+ "$ref": "567"
+ },
+ "value": false
+ },
+ "displayName": {
+ "$id": "2040",
+ "kind": "string",
+ "type": {
+ "$ref": "571"
+ },
+ "value": "NewAssetDisplayName"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2041",
+ "response": {
+ "$ref": "2017"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2042",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "2043",
+ "id": {
+ "$id": "2044",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "2045",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "2046",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2047",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2048",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2049",
+ "type": {
+ "$id": "2050",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2051",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2052",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2053",
+ "site": {
+ "$id": "2054",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2055",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2056",
+ "createdBy": {
+ "$id": "2057",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2058",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2059",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2060",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2061",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2062",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2063",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "2064",
+ "uuid": {
+ "$id": "2065",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "2066",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2067",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "2068",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "NewAssetDisplayName"
+ },
+ "description": {
+ "$id": "2069",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2070",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2071",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2072",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2073",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2074",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2075",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2076",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2077",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2078",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2079",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2080",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2081",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2082",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2083",
+ "path": {
+ "$id": "2084",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2085",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2086",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "2087",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "2088",
+ "name": {
+ "$id": "2089",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2090",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2091",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2092",
+ "path": {
+ "$id": "2093",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2094",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2095",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "2096",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2097",
+ "name": {
+ "$id": "2098",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2099",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2100",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2101",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2102",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2103",
+ "name": {
+ "$id": "2104",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2105",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2106",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2107",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2108",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "2109",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2110",
+ "name": {
+ "$id": "2111",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2112",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2113",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2114",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2115",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2116",
+ "path": {
+ "$id": "2117",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2118",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2119",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2120",
+ "name": {
+ "$id": "2121",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2122",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2123",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2124",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2125",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2126",
+ "response": {
+ "$ref": "2018"
+ },
+ "statusCode": 202
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2127",
+ "name": "delete",
+ "resourceName": "Asset",
+ "doc": "Delete a Asset",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2128",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2129",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2130",
+ "type": {
+ "$id": "2131",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2132",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2133",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2134",
+ "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": "2135",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2136",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2137",
+ "name": "assetName",
+ "nameInRequest": "assetName",
+ "doc": "Asset name parameter.",
+ "type": {
+ "$id": "2138",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2139",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2140",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2141",
+ "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": "2142",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2143",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2144",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2145",
+ "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": "2146",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ },
+ {
+ "$id": "2147",
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "DELETE",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}",
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2148",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2149",
+ "statusCodes": [
+ 204
+ ]
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.delete",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2150",
+ "kind": "http",
+ "name": "Delete_Asset",
+ "description": "Delete_Asset",
+ "filePath": "2024-11-01/Delete_Asset.json",
+ "parameters": [
+ {
+ "$id": "2151",
+ "parameter": {
+ "$ref": "2128"
+ },
+ "value": {
+ "$id": "2152",
+ "kind": "string",
+ "type": {
+ "$ref": "2129"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2153",
+ "parameter": {
+ "$ref": "2132"
+ },
+ "value": {
+ "$id": "2154",
+ "kind": "string",
+ "type": {
+ "$ref": "2133"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2155",
+ "parameter": {
+ "$ref": "2135"
+ },
+ "value": {
+ "$id": "2156",
+ "kind": "string",
+ "type": {
+ "$ref": "2136"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2157",
+ "parameter": {
+ "$ref": "2137"
+ },
+ "value": {
+ "$id": "2158",
+ "kind": "string",
+ "type": {
+ "$ref": "2138"
+ },
+ "value": "my-asset"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2159",
+ "response": {
+ "$ref": "2142"
+ },
+ "statusCode": 202
+ },
+ {
+ "$id": "2160",
+ "response": {
+ "$ref": "2147"
+ },
+ "statusCode": 204
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2161",
+ "name": "listByResourceGroup",
+ "resourceName": "Asset",
+ "doc": "List Asset resources by resource group",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2162",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2163",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2164",
+ "type": {
+ "$id": "2165",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2166",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2167",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2168",
+ "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": "2169",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2170",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2171",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2172",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2173",
+ "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": "2174",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "637"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "2175",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "2176",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listByResourceGroup",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2177",
+ "kind": "http",
+ "name": "List_Assets_ResourceGroup",
+ "description": "List_Assets_ResourceGroup",
+ "filePath": "2024-11-01/List_Assets_ResourceGroup.json",
+ "parameters": [
+ {
+ "$id": "2178",
+ "parameter": {
+ "$ref": "2162"
+ },
+ "value": {
+ "$id": "2179",
+ "kind": "string",
+ "type": {
+ "$ref": "2163"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2180",
+ "parameter": {
+ "$ref": "2166"
+ },
+ "value": {
+ "$id": "2181",
+ "kind": "string",
+ "type": {
+ "$ref": "2167"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2182",
+ "parameter": {
+ "$ref": "2169"
+ },
+ "value": {
+ "$id": "2183",
+ "kind": "string",
+ "type": {
+ "$ref": "2170"
+ },
+ "value": "myResourceGroup"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2184",
+ "response": {
+ "$ref": "2174"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2185",
+ "kind": "model",
+ "type": {
+ "$ref": "637"
+ },
+ "value": {
+ "$id": "2186",
+ "value": {
+ "$id": "2187",
+ "kind": "array",
+ "type": {
+ "$ref": "639"
+ },
+ "value": [
+ {
+ "$id": "2188",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "2189",
+ "id": {
+ "$id": "2190",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "2191",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "2192",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2193",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2194",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2195",
+ "type": {
+ "$id": "2196",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2197",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2198",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2199",
+ "site": {
+ "$id": "2200",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2201",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2202",
+ "createdBy": {
+ "$id": "2203",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2204",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2205",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2206",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2207",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2208",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2209",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "2210",
+ "uuid": {
+ "$id": "2211",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "2212",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2213",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "2214",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "2215",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2216",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2217",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2218",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2219",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2220",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2221",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2222",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2223",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2224",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2225",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2226",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2227",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2228",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2229",
+ "path": {
+ "$id": "2230",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2231",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2232",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "2233",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "2234",
+ "name": {
+ "$id": "2235",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2236",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2237",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2238",
+ "path": {
+ "$id": "2239",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2240",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2241",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "2242",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2243",
+ "name": {
+ "$id": "2244",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2245",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2246",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2247",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2248",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2249",
+ "name": {
+ "$id": "2250",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2251",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2252",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2253",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2254",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "2255",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2256",
+ "name": {
+ "$id": "2257",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2258",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2259",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2260",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2261",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2262",
+ "path": {
+ "$id": "2263",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2264",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2265",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2266",
+ "name": {
+ "$id": "2267",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2268",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2269",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2270",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2271",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2272",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "2273",
+ "id": {
+ "$id": "2274",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset1"
+ },
+ "name": {
+ "$id": "2275",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset1"
+ },
+ "type": {
+ "$id": "2276",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2277",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2278",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2279",
+ "type": {
+ "$id": "2280",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2281",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2282",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2283",
+ "site": {
+ "$id": "2284",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2285",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2286",
+ "createdBy": {
+ "$id": "2287",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2288",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2289",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2290",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2291",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2292",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2293",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "2294",
+ "uuid": {
+ "$id": "2295",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "enabled": {
+ "$id": "2296",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2297",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "9AVD7KLPU03377981"
+ },
+ "displayName": {
+ "$id": "2298",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName 1"
+ },
+ "description": {
+ "$id": "2299",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset 1"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2300",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2301",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2302",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2303",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2304",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2305",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2306",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2307",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2308",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2309",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "12-984302-792341-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2310",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2311",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2312",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2313",
+ "path": {
+ "$id": "2314",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2315",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2316",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "2317",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "2318",
+ "name": {
+ "$id": "2319",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2320",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2321",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2322",
+ "path": {
+ "$id": "2323",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2324",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2325",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "2326",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2327",
+ "name": {
+ "$id": "2328",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2329",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2330",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2331",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2332",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2333",
+ "name": {
+ "$id": "2334",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2335",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2336",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2337",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2338",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "2339",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2340",
+ "name": {
+ "$id": "2341",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2342",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2343",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2344",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2345",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2346",
+ "path": {
+ "$id": "2347",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2348",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2349",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2350",
+ "name": {
+ "$id": "2351",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2352",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2353",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2354",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2355",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2356",
+ "name": "listBySubscription",
+ "resourceName": "Asset",
+ "doc": "List Asset resources by subscription ID",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2357",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2358",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2359",
+ "type": {
+ "$id": "2360",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2361",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2362",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2363",
+ "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": "2364",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2365",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2366",
+ "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": "2367",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "637"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "2368",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "2369",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets.listBySubscription",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2370",
+ "kind": "http",
+ "name": "List_Assets_Subscription",
+ "description": "List_Assets_Subscription",
+ "filePath": "2024-11-01/List_Assets_Subscription.json",
+ "parameters": [
+ {
+ "$id": "2371",
+ "parameter": {
+ "$ref": "2357"
+ },
+ "value": {
+ "$id": "2372",
+ "kind": "string",
+ "type": {
+ "$ref": "2358"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2373",
+ "parameter": {
+ "$ref": "2361"
+ },
+ "value": {
+ "$id": "2374",
+ "kind": "string",
+ "type": {
+ "$ref": "2362"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2375",
+ "response": {
+ "$ref": "2367"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2376",
+ "kind": "model",
+ "type": {
+ "$ref": "637"
+ },
+ "value": {
+ "$id": "2377",
+ "value": {
+ "$id": "2378",
+ "kind": "array",
+ "type": {
+ "$ref": "639"
+ },
+ "value": [
+ {
+ "$id": "2379",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "2380",
+ "id": {
+ "$id": "2381",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset"
+ },
+ "name": {
+ "$id": "2382",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset"
+ },
+ "type": {
+ "$id": "2383",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2384",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2385",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2386",
+ "type": {
+ "$id": "2387",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2388",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2389",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2390",
+ "site": {
+ "$id": "2391",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2392",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2393",
+ "createdBy": {
+ "$id": "2394",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2395",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2396",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2397",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2398",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2399",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2400",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "2401",
+ "uuid": {
+ "$id": "2402",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "enabled": {
+ "$id": "2403",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2404",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "8ZBA6LRHU0A458969"
+ },
+ "displayName": {
+ "$id": "2405",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName"
+ },
+ "description": {
+ "$id": "2406",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2407",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2408",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2409",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2410",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2411",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2412",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2413",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2414",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2415",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2416",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "64-103816-519918-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2417",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2418",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2419",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2420",
+ "path": {
+ "$id": "2421",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2422",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2423",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "2424",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "2425",
+ "name": {
+ "$id": "2426",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2427",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2428",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2429",
+ "path": {
+ "$id": "2430",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2431",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2432",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "2433",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2434",
+ "name": {
+ "$id": "2435",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2436",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2437",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2438",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2439",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2440",
+ "name": {
+ "$id": "2441",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2442",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2443",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2444",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2445",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "2446",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2447",
+ "name": {
+ "$id": "2448",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2449",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2450",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2451",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2452",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2453",
+ "path": {
+ "$id": "2454",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2455",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2456",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2457",
+ "name": {
+ "$id": "2458",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2459",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2460",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2461",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2462",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2463",
+ "kind": "model",
+ "type": {
+ "$ref": "337"
+ },
+ "value": {
+ "$id": "2464",
+ "id": {
+ "$id": "2465",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assets/my-asset1"
+ },
+ "name": {
+ "$id": "2466",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-asset1"
+ },
+ "type": {
+ "$id": "2467",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assets"
+ },
+ "location": {
+ "$id": "2468",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2469",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2470",
+ "type": {
+ "$id": "2471",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2472",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2473",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2474",
+ "site": {
+ "$id": "2475",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2476",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2477",
+ "createdBy": {
+ "$id": "2478",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2479",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2480",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2481",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2482",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2483",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2484",
+ "kind": "model",
+ "type": {
+ "$ref": "339"
+ },
+ "value": {
+ "$id": "2485",
+ "uuid": {
+ "$id": "2486",
+ "kind": "string",
+ "type": {
+ "$ref": "341"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "enabled": {
+ "$id": "2487",
+ "kind": "boolean",
+ "type": {
+ "$ref": "345"
+ },
+ "value": true
+ },
+ "externalAssetId": {
+ "$id": "2488",
+ "kind": "string",
+ "type": {
+ "$ref": "349"
+ },
+ "value": "9AVD7KLPU03377981"
+ },
+ "displayName": {
+ "$id": "2489",
+ "kind": "string",
+ "type": {
+ "$ref": "353"
+ },
+ "value": "AssetDisplayName 1"
+ },
+ "description": {
+ "$id": "2490",
+ "kind": "string",
+ "type": {
+ "$ref": "357"
+ },
+ "value": "This is a sample Asset 1"
+ },
+ "assetEndpointProfileRef": {
+ "$id": "2491",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "myAssetEndpointProfile"
+ },
+ "version": {
+ "$id": "2492",
+ "kind": "number",
+ "type": {
+ "$ref": "365"
+ },
+ "value": 73766
+ },
+ "manufacturer": {
+ "$id": "2493",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "Contoso"
+ },
+ "manufacturerUri": {
+ "$id": "2494",
+ "kind": "string",
+ "type": {
+ "$ref": "373"
+ },
+ "value": "https://www.contoso.com/manufacturerUri"
+ },
+ "model": {
+ "$id": "2495",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "ContosoModel"
+ },
+ "productCode": {
+ "$id": "2496",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "SA34VDG"
+ },
+ "hardwareRevision": {
+ "$id": "2497",
+ "kind": "string",
+ "type": {
+ "$ref": "385"
+ },
+ "value": "1.0"
+ },
+ "softwareRevision": {
+ "$id": "2498",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "2.0"
+ },
+ "documentationUri": {
+ "$id": "2499",
+ "kind": "string",
+ "type": {
+ "$ref": "393"
+ },
+ "value": "https://www.example.com/manual"
+ },
+ "serialNumber": {
+ "$id": "2500",
+ "kind": "string",
+ "type": {
+ "$ref": "397"
+ },
+ "value": "12-984302-792341-8"
+ },
+ "defaultDatasetsConfiguration": {
+ "$id": "2501",
+ "kind": "string",
+ "type": {
+ "$ref": "412"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultEventsConfiguration": {
+ "$id": "2502",
+ "kind": "string",
+ "type": {
+ "$ref": "416"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "defaultTopic": {
+ "$id": "2503",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2504",
+ "path": {
+ "$id": "2505",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/defaultTopic"
+ },
+ "retain": {
+ "$id": "2506",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "datasets": {
+ "$id": "2507",
+ "kind": "array",
+ "type": {
+ "$ref": "431"
+ },
+ "value": [
+ {
+ "$id": "2508",
+ "kind": "model",
+ "type": {
+ "$ref": "432"
+ },
+ "value": {
+ "$id": "2509",
+ "name": {
+ "$id": "2510",
+ "kind": "string",
+ "type": {
+ "$ref": "434"
+ },
+ "value": "dataset1"
+ },
+ "datasetConfiguration": {
+ "$id": "2511",
+ "kind": "string",
+ "type": {
+ "$ref": "438"
+ },
+ "value": "{\"publishingInterval\":10,\"samplingInterval\":15,\"queueSize\":20}"
+ },
+ "topic": {
+ "$id": "2512",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2513",
+ "path": {
+ "$id": "2514",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/dataset1"
+ },
+ "retain": {
+ "$id": "2515",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ },
+ "dataPoints": {
+ "$id": "2516",
+ "kind": "array",
+ "type": {
+ "$ref": "445"
+ },
+ "value": [
+ {
+ "$id": "2517",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2518",
+ "name": {
+ "$id": "2519",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint1"
+ },
+ "dataSource": {
+ "$id": "2520",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt1"
+ },
+ "observabilityMode": {
+ "$id": "2521",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "Counter"
+ },
+ "dataPointConfiguration": {
+ "$id": "2522",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ },
+ {
+ "$id": "2523",
+ "kind": "model",
+ "type": {
+ "$ref": "446"
+ },
+ "value": {
+ "$id": "2524",
+ "name": {
+ "$id": "2525",
+ "kind": "string",
+ "type": {
+ "$ref": "449"
+ },
+ "value": "dataPoint2"
+ },
+ "dataSource": {
+ "$id": "2526",
+ "kind": "string",
+ "type": {
+ "$ref": "453"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt2"
+ },
+ "observabilityMode": {
+ "$id": "2527",
+ "kind": "string",
+ "type": {
+ "$ref": "46"
+ },
+ "value": "None"
+ },
+ "dataPointConfiguration": {
+ "$id": "2528",
+ "kind": "string",
+ "type": {
+ "$ref": "457"
+ },
+ "value": "{\"publishingInterval\":4,\"samplingInterval\":4,\"queueSize\":7}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "events": {
+ "$id": "2529",
+ "kind": "array",
+ "type": {
+ "$ref": "468"
+ },
+ "value": [
+ {
+ "$id": "2530",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2531",
+ "name": {
+ "$id": "2532",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event1"
+ },
+ "eventNotifier": {
+ "$id": "2533",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3"
+ },
+ "observabilityMode": {
+ "$id": "2534",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "None"
+ },
+ "eventConfiguration": {
+ "$id": "2535",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}"
+ },
+ "topic": {
+ "$id": "2536",
+ "kind": "model",
+ "type": {
+ "$ref": "420"
+ },
+ "value": {
+ "$id": "2537",
+ "path": {
+ "$id": "2538",
+ "kind": "string",
+ "type": {
+ "$ref": "422"
+ },
+ "value": "/path/event1"
+ },
+ "retain": {
+ "$id": "2539",
+ "kind": "string",
+ "type": {
+ "$ref": "40"
+ },
+ "value": "Keep"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2540",
+ "kind": "model",
+ "type": {
+ "$ref": "469"
+ },
+ "value": {
+ "$id": "2541",
+ "name": {
+ "$id": "2542",
+ "kind": "string",
+ "type": {
+ "$ref": "472"
+ },
+ "value": "event2"
+ },
+ "eventNotifier": {
+ "$id": "2543",
+ "kind": "string",
+ "type": {
+ "$ref": "476"
+ },
+ "value": "nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4"
+ },
+ "observabilityMode": {
+ "$id": "2544",
+ "kind": "string",
+ "type": {
+ "$ref": "58"
+ },
+ "value": "Log"
+ },
+ "eventConfiguration": {
+ "$id": "2545",
+ "kind": "string",
+ "type": {
+ "$ref": "480"
+ },
+ "value": "{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}"
+ }
+ }
+ }
+ ]
+ },
+ "provisioningState": {
+ "$id": "2546",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parent": "DeviceRegistryClient",
+ "parameters": [
+ {
+ "$id": "2547",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "2548",
+ "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": "2549",
+ "type": {
+ "$id": "2550",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.Assets"
+ },
+ {
+ "$id": "2551",
+ "name": "AssetEndpointProfiles",
+ "namespace": "Microsoft.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "2552",
+ "name": "get",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Get a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2553",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2554",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2555",
+ "type": {
+ "$id": "2556",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2557",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2558",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2559",
+ "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": "2560",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2561",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2562",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2563",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2564",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2565",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2566",
+ "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": "2567",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "181"
+ },
+ "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": "2568",
+ "kind": "http",
+ "name": "Get_AssetEndpointProfile",
+ "description": "Get_AssetEndpointProfile",
+ "filePath": "2024-11-01/Get_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2569",
+ "parameter": {
+ "$ref": "2553"
+ },
+ "value": {
+ "$id": "2570",
+ "kind": "string",
+ "type": {
+ "$ref": "2554"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2571",
+ "parameter": {
+ "$ref": "2557"
+ },
+ "value": {
+ "$id": "2572",
+ "kind": "string",
+ "type": {
+ "$ref": "2558"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2573",
+ "parameter": {
+ "$ref": "2560"
+ },
+ "value": {
+ "$id": "2574",
+ "kind": "string",
+ "type": {
+ "$ref": "2561"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2575",
+ "parameter": {
+ "$ref": "2562"
+ },
+ "value": {
+ "$id": "2576",
+ "kind": "string",
+ "type": {
+ "$ref": "2563"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2577",
+ "response": {
+ "$ref": "2567"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2578",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2579",
+ "id": {
+ "$id": "2580",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2581",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2582",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2583",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2584",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2585",
+ "type": {
+ "$id": "2586",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2587",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2588",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2589",
+ "site": {
+ "$id": "2590",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2591",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2592",
+ "createdBy": {
+ "$id": "2593",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2594",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2595",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2596",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2597",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2598",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2599",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2600",
+ "uuid": {
+ "$id": "2601",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "2602",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2603",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2604",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2605",
+ "method": {
+ "$id": "2606",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "2607",
+ "kind": "model",
+ "type": {
+ "$ref": "213"
+ },
+ "value": {
+ "$id": "2608",
+ "usernameSecretName": {
+ "$id": "2609",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "2610",
+ "kind": "string",
+ "type": {
+ "$ref": "219"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2611",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "2612",
+ "kind": "http",
+ "name": "Get_AssetEndpointProfile_With_SyncStatus",
+ "description": "Get_AssetEndpointProfile_With_SyncStatus",
+ "filePath": "2024-11-01/Get_AssetEndpointProfile_With_SyncStatus.json",
+ "parameters": [
+ {
+ "$id": "2613",
+ "parameter": {
+ "$ref": "2553"
+ },
+ "value": {
+ "$id": "2614",
+ "kind": "string",
+ "type": {
+ "$ref": "2554"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2615",
+ "parameter": {
+ "$ref": "2557"
+ },
+ "value": {
+ "$id": "2616",
+ "kind": "string",
+ "type": {
+ "$ref": "2558"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2617",
+ "parameter": {
+ "$ref": "2560"
+ },
+ "value": {
+ "$id": "2618",
+ "kind": "string",
+ "type": {
+ "$ref": "2561"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2619",
+ "parameter": {
+ "$ref": "2562"
+ },
+ "value": {
+ "$id": "2620",
+ "kind": "string",
+ "type": {
+ "$ref": "2563"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2621",
+ "response": {
+ "$ref": "2567"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2622",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2623",
+ "id": {
+ "$id": "2624",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2625",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2626",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2627",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2628",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2629",
+ "type": {
+ "$id": "2630",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2631",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2632",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2633",
+ "site": {
+ "$id": "2634",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2635",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2636",
+ "createdBy": {
+ "$id": "2637",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2638",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2639",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2640",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2641",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2642",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2643",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2644",
+ "uuid": {
+ "$id": "2645",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "2646",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2647",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2648",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2649",
+ "method": {
+ "$id": "2650",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "2651",
+ "kind": "model",
+ "type": {
+ "$ref": "213"
+ },
+ "value": {
+ "$id": "2652",
+ "usernameSecretName": {
+ "$id": "2653",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "2654",
+ "kind": "string",
+ "type": {
+ "$ref": "219"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "status": {
+ "$id": "2655",
+ "kind": "model",
+ "type": {
+ "$ref": "243"
+ },
+ "value": {
+ "$id": "2656",
+ "errors": {
+ "$id": "2657",
+ "kind": "array",
+ "type": {
+ "$ref": "245"
+ },
+ "value": [
+ {
+ "$id": "2658",
+ "kind": "model",
+ "type": {
+ "$ref": "246"
+ },
+ "value": {
+ "$id": "2659",
+ "code": {
+ "$id": "2660",
+ "kind": "number",
+ "type": {
+ "$ref": "248"
+ },
+ "value": 500
+ },
+ "message": {
+ "$id": "2661",
+ "kind": "string",
+ "type": {
+ "$ref": "252"
+ },
+ "value": "Internal Server Error"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2662",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2663",
+ "name": "createOrReplace",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Create a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2664",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2665",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2666",
+ "type": {
+ "$id": "2667",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2668",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2669",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2670",
+ "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": "2671",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2672",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2673",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2674",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2675",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "2676",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2677",
+ "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": "2678",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2679",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2680",
+ "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": "2681",
+ "name": "resource",
+ "nameInRequest": "resource",
+ "doc": "Resource create parameters.",
+ "type": {
+ "$ref": "181"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2682",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "181"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "2683",
+ "statusCodes": [
+ 201
+ ],
+ "bodyType": {
+ "$ref": "181"
+ },
+ "headers": [
+ {
+ "$id": "2684",
+ "name": "azureAsyncOperation",
+ "nameInResponse": "Azure-AsyncOperation",
+ "doc": "A link to the status monitor",
+ "type": {
+ "$id": "2685",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2686",
+ "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": "2687",
+ "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": "2688",
+ "finalStateVia": 0,
+ "finalResponse": {
+ "$id": "2689",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "181"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2690",
+ "kind": "http",
+ "name": "Create_AssetEndpointProfile",
+ "description": "Create_AssetEndpointProfile",
+ "filePath": "2024-11-01/Create_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2691",
+ "parameter": {
+ "$ref": "2664"
+ },
+ "value": {
+ "$id": "2692",
+ "kind": "string",
+ "type": {
+ "$ref": "2665"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2693",
+ "parameter": {
+ "$ref": "2668"
+ },
+ "value": {
+ "$id": "2694",
+ "kind": "string",
+ "type": {
+ "$ref": "2669"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2695",
+ "parameter": {
+ "$ref": "2671"
+ },
+ "value": {
+ "$id": "2696",
+ "kind": "string",
+ "type": {
+ "$ref": "2672"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2697",
+ "parameter": {
+ "$ref": "2673"
+ },
+ "value": {
+ "$id": "2698",
+ "kind": "string",
+ "type": {
+ "$ref": "2674"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ },
+ {
+ "$id": "2699",
+ "parameter": {
+ "$ref": "2681"
+ },
+ "value": {
+ "$id": "2700",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2701",
+ "location": {
+ "$id": "2702",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2703",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2704",
+ "type": {
+ "$id": "2705",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2706",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2707",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2708",
+ "site": {
+ "$id": "2709",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2710",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2711",
+ "targetAddress": {
+ "$id": "2712",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2713",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2714",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2715",
+ "method": {
+ "$id": "2716",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2717",
+ "response": {
+ "$ref": "2682"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2718",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2719",
+ "id": {
+ "$id": "2720",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2721",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2722",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2723",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2724",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2725",
+ "type": {
+ "$id": "2726",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2727",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2728",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2729",
+ "site": {
+ "$id": "2730",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2731",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2732",
+ "createdBy": {
+ "$id": "2733",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2734",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2735",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2736",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2737",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2738",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2739",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2740",
+ "uuid": {
+ "$id": "2741",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2742",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2743",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2744",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2745",
+ "method": {
+ "$id": "2746",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2747",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2748",
+ "response": {
+ "$ref": "2683"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "2749",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2750",
+ "id": {
+ "$id": "2751",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2752",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2753",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2754",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2755",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2756",
+ "type": {
+ "$id": "2757",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2758",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2759",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2760",
+ "site": {
+ "$id": "2761",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2762",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2763",
+ "createdBy": {
+ "$id": "2764",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2765",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2766",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2767",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2768",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2769",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2770",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2771",
+ "uuid": {
+ "$id": "2772",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2773",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2774",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2775",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2776",
+ "method": {
+ "$id": "2777",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2778",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "2779",
+ "kind": "http",
+ "name": "Create_AssetEndpointProfile_With_DiscoveredAepRef",
+ "description": "Create_AssetEndpointProfile_With_DiscoveredAepRef",
+ "filePath": "2024-11-01/Create_AssetEndpointProfile_With_DiscoveredAepRef.json",
+ "parameters": [
+ {
+ "$id": "2780",
+ "parameter": {
+ "$ref": "2664"
+ },
+ "value": {
+ "$id": "2781",
+ "kind": "string",
+ "type": {
+ "$ref": "2665"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2782",
+ "parameter": {
+ "$ref": "2668"
+ },
+ "value": {
+ "$id": "2783",
+ "kind": "string",
+ "type": {
+ "$ref": "2669"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2784",
+ "parameter": {
+ "$ref": "2671"
+ },
+ "value": {
+ "$id": "2785",
+ "kind": "string",
+ "type": {
+ "$ref": "2672"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2786",
+ "parameter": {
+ "$ref": "2673"
+ },
+ "value": {
+ "$id": "2787",
+ "kind": "string",
+ "type": {
+ "$ref": "2674"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ },
+ {
+ "$id": "2788",
+ "parameter": {
+ "$ref": "2681"
+ },
+ "value": {
+ "$id": "2789",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2790",
+ "location": {
+ "$id": "2791",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2792",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2793",
+ "type": {
+ "$id": "2794",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2795",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2796",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2797",
+ "site": {
+ "$id": "2798",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2799",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2800",
+ "targetAddress": {
+ "$id": "2801",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2802",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "discoveredAssetEndpointProfileRef": {
+ "$id": "2803",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "discoveredAssetEndpointProfile1"
+ },
+ "authentication": {
+ "$id": "2804",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2805",
+ "method": {
+ "$id": "2806",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2807",
+ "response": {
+ "$ref": "2682"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2808",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2809",
+ "id": {
+ "$id": "2810",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2811",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2812",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2813",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2814",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2815",
+ "type": {
+ "$id": "2816",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2817",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2818",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2819",
+ "site": {
+ "$id": "2820",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2821",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2822",
+ "createdBy": {
+ "$id": "2823",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2824",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2825",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2826",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2827",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2828",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2829",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2830",
+ "uuid": {
+ "$id": "2831",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2832",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2833",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "discoveredAssetEndpointProfileRef": {
+ "$id": "2834",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "discoveredAssetEndpointProfile1"
+ },
+ "authentication": {
+ "$id": "2835",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2836",
+ "method": {
+ "$id": "2837",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2838",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2839",
+ "response": {
+ "$ref": "2683"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "2840",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2841",
+ "id": {
+ "$id": "2842",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2843",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2844",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2845",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2846",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2847",
+ "type": {
+ "$id": "2848",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2849",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2850",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2851",
+ "site": {
+ "$id": "2852",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2853",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2854",
+ "createdBy": {
+ "$id": "2855",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2856",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2857",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2858",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2859",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2860",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2861",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2862",
+ "uuid": {
+ "$id": "2863",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2864",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2865",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "discoveredAssetEndpointProfileRef": {
+ "$id": "2866",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "discoveredAssetEndpointProfile1"
+ },
+ "authentication": {
+ "$id": "2867",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2868",
+ "method": {
+ "$id": "2869",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2870",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Accepted"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2871",
+ "name": "update",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Update a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2872",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2873",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2874",
+ "type": {
+ "$id": "2875",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2876",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2877",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2878",
+ "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": "2879",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2880",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2881",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2882",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2883",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$id": "2884",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2885",
+ "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": "2886",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2887",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2888",
+ "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": "2889",
+ "name": "properties",
+ "nameInRequest": "properties",
+ "doc": "The resource properties to be updated.",
+ "type": {
+ "$ref": "301"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2890",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "181"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ },
+ {
+ "$id": "2891",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2892",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2893",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2894",
+ "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": "2895",
+ "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": "2896",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2897",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "181"
+ }
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": false,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.update",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2898",
+ "kind": "http",
+ "name": "Update_AssetEndpointProfile",
+ "description": "Update_AssetEndpointProfile",
+ "filePath": "2024-11-01/Update_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2899",
+ "parameter": {
+ "$ref": "2872"
+ },
+ "value": {
+ "$id": "2900",
+ "kind": "string",
+ "type": {
+ "$ref": "2873"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2901",
+ "parameter": {
+ "$ref": "2876"
+ },
+ "value": {
+ "$id": "2902",
+ "kind": "string",
+ "type": {
+ "$ref": "2877"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2903",
+ "parameter": {
+ "$ref": "2879"
+ },
+ "value": {
+ "$id": "2904",
+ "kind": "string",
+ "type": {
+ "$ref": "2880"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2905",
+ "parameter": {
+ "$ref": "2881"
+ },
+ "value": {
+ "$id": "2906",
+ "kind": "string",
+ "type": {
+ "$ref": "2882"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ },
+ {
+ "$id": "2907",
+ "parameter": {
+ "$ref": "2889"
+ },
+ "value": {
+ "$id": "2908",
+ "kind": "model",
+ "type": {
+ "$ref": "301"
+ },
+ "value": {
+ "$id": "2909",
+ "properties": {
+ "$id": "2910",
+ "kind": "model",
+ "type": {
+ "$ref": "309"
+ },
+ "value": {
+ "$id": "2911",
+ "targetAddress": {
+ "$id": "2912",
+ "kind": "string",
+ "type": {
+ "$ref": "311"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2913",
+ "response": {
+ "$ref": "2890"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "2914",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "2915",
+ "id": {
+ "$id": "2916",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "2917",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "2918",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "2919",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "2920",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "2921",
+ "type": {
+ "$id": "2922",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "2923",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "2924",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "2925",
+ "site": {
+ "$id": "2926",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "2927",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "2928",
+ "createdBy": {
+ "$id": "2929",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "2930",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "2931",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "2932",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "2933",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "2934",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "2935",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "2936",
+ "uuid": {
+ "$id": "2937",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "2938",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "2939",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "2940",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "2941",
+ "method": {
+ "$id": "2942",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "2943",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "2944",
+ "response": {
+ "$ref": "2891"
+ },
+ "statusCode": 202
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2945",
+ "name": "delete",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "Delete a AssetEndpointProfile",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2946",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2947",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2948",
+ "type": {
+ "$id": "2949",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2950",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2951",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2952",
+ "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": "2953",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2954",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2955",
+ "name": "assetEndpointProfileName",
+ "nameInRequest": "assetEndpointProfileName",
+ "doc": "Asset Endpoint Profile name parameter.",
+ "type": {
+ "$id": "2956",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2957",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2958",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2959",
+ "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": "2960",
+ "statusCodes": [
+ 202
+ ],
+ "headers": [
+ {
+ "$id": "2961",
+ "name": "location",
+ "nameInResponse": "Location",
+ "doc": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": {
+ "$id": "2962",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "2963",
+ "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": "2964",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ },
+ {
+ "$id": "2965",
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "DELETE",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}",
+ "bufferResponse": true,
+ "longRunning": {
+ "$id": "2966",
+ "finalStateVia": 1,
+ "finalResponse": {
+ "$id": "2967",
+ "statusCodes": [
+ 204
+ ]
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.delete",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2968",
+ "kind": "http",
+ "name": "Delete_AssetEndpointProfile",
+ "description": "Delete_AssetEndpointProfile",
+ "filePath": "2024-11-01/Delete_AssetEndpointProfile.json",
+ "parameters": [
+ {
+ "$id": "2969",
+ "parameter": {
+ "$ref": "2946"
+ },
+ "value": {
+ "$id": "2970",
+ "kind": "string",
+ "type": {
+ "$ref": "2947"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2971",
+ "parameter": {
+ "$ref": "2950"
+ },
+ "value": {
+ "$id": "2972",
+ "kind": "string",
+ "type": {
+ "$ref": "2951"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "2973",
+ "parameter": {
+ "$ref": "2953"
+ },
+ "value": {
+ "$id": "2974",
+ "kind": "string",
+ "type": {
+ "$ref": "2954"
+ },
+ "value": "myResourceGroup"
+ }
+ },
+ {
+ "$id": "2975",
+ "parameter": {
+ "$ref": "2955"
+ },
+ "value": {
+ "$id": "2976",
+ "kind": "string",
+ "type": {
+ "$ref": "2956"
+ },
+ "value": "my-assetendpointprofile"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "2977",
+ "response": {
+ "$ref": "2960"
+ },
+ "statusCode": 202
+ },
+ {
+ "$id": "2978",
+ "response": {
+ "$ref": "2965"
+ },
+ "statusCode": 204
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "2979",
+ "name": "listByResourceGroup",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "List AssetEndpointProfile resources by resource group",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "2980",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "2981",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "2982",
+ "type": {
+ "$id": "2983",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2984",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "2985",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "2986",
+ "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": "2987",
+ "name": "resourceGroupName",
+ "nameInRequest": "resourceGroupName",
+ "doc": "The name of the resource group. The name is case insensitive.",
+ "type": {
+ "$id": "2988",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "2989",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "2990",
+ "kind": "constant",
+ "valueType": {
+ "$id": "2991",
+ "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": "2992",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "327"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "2993",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "2994",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "2995",
+ "kind": "http",
+ "name": "List_AssetEndpointProfiles_ResourceGroup",
+ "description": "List_AssetEndpointProfiles_ResourceGroup",
+ "filePath": "2024-11-01/List_AssetEndpointProfiles_ResourceGroup.json",
+ "parameters": [
+ {
+ "$id": "2996",
+ "parameter": {
+ "$ref": "2980"
+ },
+ "value": {
+ "$id": "2997",
+ "kind": "string",
+ "type": {
+ "$ref": "2981"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "2998",
+ "parameter": {
+ "$ref": "2984"
+ },
+ "value": {
+ "$id": "2999",
+ "kind": "string",
+ "type": {
+ "$ref": "2985"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "3000",
+ "parameter": {
+ "$ref": "2987"
+ },
+ "value": {
+ "$id": "3001",
+ "kind": "string",
+ "type": {
+ "$ref": "2988"
+ },
+ "value": "myResourceGroup"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3002",
+ "response": {
+ "$ref": "2992"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3003",
+ "kind": "model",
+ "type": {
+ "$ref": "327"
+ },
+ "value": {
+ "$id": "3004",
+ "value": {
+ "$id": "3005",
+ "kind": "array",
+ "type": {
+ "$ref": "329"
+ },
+ "value": [
+ {
+ "$id": "3006",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "3007",
+ "id": {
+ "$id": "3008",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "3009",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "3010",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3011",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3012",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "3013",
+ "type": {
+ "$id": "3014",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3015",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3016",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "3017",
+ "site": {
+ "$id": "3018",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3019",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3020",
+ "createdBy": {
+ "$id": "3021",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3022",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3023",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3024",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3025",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3026",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3027",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "3028",
+ "uuid": {
+ "$id": "3029",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "3030",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "3031",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3032",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "3033",
+ "method": {
+ "$id": "3034",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3035",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3036",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "3037",
+ "id": {
+ "$id": "3038",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile1"
+ },
+ "name": {
+ "$id": "3039",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile1"
+ },
+ "type": {
+ "$id": "3040",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3041",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3042",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "3043",
+ "type": {
+ "$id": "3044",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3045",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3046",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "3047",
+ "site": {
+ "$id": "3048",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3049",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3050",
+ "createdBy": {
+ "$id": "3051",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3052",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3053",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3054",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3055",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3056",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3057",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "3058",
+ "uuid": {
+ "$id": "3059",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "targetAddress": {
+ "$id": "3060",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress1"
+ },
+ "endpointProfileType": {
+ "$id": "3061",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3062",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "3063",
+ "method": {
+ "$id": "3064",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Certificate"
+ },
+ "x509Credentials": {
+ "$id": "3065",
+ "kind": "model",
+ "type": {
+ "$ref": "225"
+ },
+ "value": {
+ "$id": "3066",
+ "certificateSecretName": {
+ "$id": "3067",
+ "kind": "string",
+ "type": {
+ "$ref": "227"
+ },
+ "value": "certificatRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3068",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3069",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "3070",
+ "id": {
+ "$id": "3071",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile2"
+ },
+ "name": {
+ "$id": "3072",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile2"
+ },
+ "type": {
+ "$id": "3073",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3074",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3075",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "3076",
+ "type": {
+ "$id": "3077",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3078",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3079",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "3080",
+ "site": {
+ "$id": "3081",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3082",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3083",
+ "createdBy": {
+ "$id": "3084",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3085",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3086",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3087",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3088",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3089",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3090",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "3091",
+ "uuid": {
+ "$id": "3092",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "3093",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress2"
+ },
+ "endpointProfileType": {
+ "$id": "3094",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3095",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "3096",
+ "method": {
+ "$id": "3097",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "3098",
+ "kind": "model",
+ "type": {
+ "$ref": "213"
+ },
+ "value": {
+ "$id": "3099",
+ "usernameSecretName": {
+ "$id": "3100",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "3101",
+ "kind": "string",
+ "type": {
+ "$ref": "219"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3102",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "3103",
+ "name": "listBySubscription",
+ "resourceName": "AssetEndpointProfile",
+ "doc": "List AssetEndpointProfile resources by subscription ID",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "3104",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "3105",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "3106",
+ "type": {
+ "$id": "3107",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3108",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "3109",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "3110",
+ "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": "3111",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "3112",
+ "kind": "constant",
+ "valueType": {
+ "$id": "3113",
+ "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": "3114",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "327"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "3115",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "3116",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "3117",
+ "kind": "http",
+ "name": "List_AssetEndpointProfiles_Subscription",
+ "description": "List_AssetEndpointProfiles_Subscription",
+ "filePath": "2024-11-01/List_AssetEndpointProfiles_Subscription.json",
+ "parameters": [
+ {
+ "$id": "3118",
+ "parameter": {
+ "$ref": "3104"
+ },
+ "value": {
+ "$id": "3119",
+ "kind": "string",
+ "type": {
+ "$ref": "3105"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3120",
+ "parameter": {
+ "$ref": "3108"
+ },
+ "value": {
+ "$id": "3121",
+ "kind": "string",
+ "type": {
+ "$ref": "3109"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3122",
+ "response": {
+ "$ref": "3114"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3123",
+ "kind": "model",
+ "type": {
+ "$ref": "327"
+ },
+ "value": {
+ "$id": "3124",
+ "value": {
+ "$id": "3125",
+ "kind": "array",
+ "type": {
+ "$ref": "329"
+ },
+ "value": [
+ {
+ "$id": "3126",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "3127",
+ "id": {
+ "$id": "3128",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile"
+ },
+ "name": {
+ "$id": "3129",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile"
+ },
+ "type": {
+ "$id": "3130",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3131",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3132",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "3133",
+ "type": {
+ "$id": "3134",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3135",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3136",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "3137",
+ "site": {
+ "$id": "3138",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-1"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3139",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3140",
+ "createdBy": {
+ "$id": "3141",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3142",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3143",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3144",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3145",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3146",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3147",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "3148",
+ "uuid": {
+ "$id": "3149",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d"
+ },
+ "targetAddress": {
+ "$id": "3150",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress"
+ },
+ "endpointProfileType": {
+ "$id": "3151",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3152",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "3153",
+ "method": {
+ "$id": "3154",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Anonymous"
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3155",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3156",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "3157",
+ "id": {
+ "$id": "3158",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile1"
+ },
+ "name": {
+ "$id": "3159",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile1"
+ },
+ "type": {
+ "$id": "3160",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3161",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3162",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "3163",
+ "type": {
+ "$id": "3164",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3165",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3166",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "3167",
+ "site": {
+ "$id": "3168",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3169",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3170",
+ "createdBy": {
+ "$id": "3171",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3172",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3173",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3174",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3175",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3176",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3177",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "3178",
+ "uuid": {
+ "$id": "3179",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "7824a74f-21e1-4458-ae06-604d3a241d2c"
+ },
+ "targetAddress": {
+ "$id": "3180",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress1"
+ },
+ "endpointProfileType": {
+ "$id": "3181",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3182",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "3183",
+ "method": {
+ "$id": "3184",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "Certificate"
+ },
+ "x509Credentials": {
+ "$id": "3185",
+ "kind": "model",
+ "type": {
+ "$ref": "225"
+ },
+ "value": {
+ "$id": "3186",
+ "certificateSecretName": {
+ "$id": "3187",
+ "kind": "string",
+ "type": {
+ "$ref": "227"
+ },
+ "value": "certificatRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3188",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3189",
+ "kind": "model",
+ "type": {
+ "$ref": "181"
+ },
+ "value": {
+ "$id": "3190",
+ "id": {
+ "$id": "3191",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile2"
+ },
+ "name": {
+ "$id": "3192",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-assetendpointprofile2"
+ },
+ "type": {
+ "$id": "3193",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/assetEndpointProfiles"
+ },
+ "location": {
+ "$id": "3194",
+ "kind": "string",
+ "type": {
+ "$ref": "190"
+ },
+ "value": "West Europe"
+ },
+ "extendedLocation": {
+ "$id": "3195",
+ "kind": "model",
+ "type": {
+ "$ref": "265"
+ },
+ "value": {
+ "$id": "3196",
+ "type": {
+ "$id": "3197",
+ "kind": "string",
+ "type": {
+ "$ref": "267"
+ },
+ "value": "CustomLocation"
+ },
+ "name": {
+ "$id": "3198",
+ "kind": "string",
+ "type": {
+ "$ref": "271"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
+ }
+ }
+ },
+ "tags": {
+ "$id": "3199",
+ "kind": "dict",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "3200",
+ "site": {
+ "$id": "3201",
+ "kind": "string",
+ "type": {
+ "$ref": "186"
+ },
+ "value": "building-2"
+ }
+ }
+ },
+ "systemData": {
+ "$id": "3202",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3203",
+ "createdBy": {
+ "$id": "3204",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "createdByType": {
+ "$id": "3205",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3206",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2022-11-16T00:36:43.2516899Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3207",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "2ta23112-4596-44ff-b773-19405922bfc1"
+ },
+ "lastModifiedByType": {
+ "$id": "3208",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3209",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2022-11-16T01:37:16.0922793Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3210",
+ "kind": "model",
+ "type": {
+ "$ref": "194"
+ },
+ "value": {
+ "$id": "3211",
+ "uuid": {
+ "$id": "3212",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "1824a74f-21e1-4458-ae07-604d3a241d2e"
+ },
+ "targetAddress": {
+ "$id": "3213",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "https://www.example.com/myTargetAddress2"
+ },
+ "endpointProfileType": {
+ "$id": "3214",
+ "kind": "string",
+ "type": {
+ "$ref": "204"
+ },
+ "value": "myEndpointProfileType"
+ },
+ "authentication": {
+ "$id": "3215",
+ "kind": "model",
+ "type": {
+ "$ref": "208"
+ },
+ "value": {
+ "$id": "3216",
+ "method": {
+ "$id": "3217",
+ "kind": "string",
+ "type": {
+ "$ref": "24"
+ },
+ "value": "UsernamePassword"
+ },
+ "usernamePasswordCredentials": {
+ "$id": "3218",
+ "kind": "model",
+ "type": {
+ "$ref": "213"
+ },
+ "value": {
+ "$id": "3219",
+ "usernameSecretName": {
+ "$id": "3220",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "usernameRef"
+ },
+ "passwordSecretName": {
+ "$id": "3221",
+ "kind": "string",
+ "type": {
+ "$ref": "219"
+ },
+ "value": "passwordRef"
+ }
+ }
+ }
+ }
+ },
+ "provisioningState": {
+ "$id": "3222",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parent": "DeviceRegistryClient",
+ "parameters": [
+ {
+ "$id": "3223",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "3224",
+ "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": "3225",
+ "type": {
+ "$id": "3226",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.AssetEndpointProfiles"
+ },
+ {
+ "$id": "3227",
+ "name": "BillingContainers",
+ "namespace": "Microsoft.DeviceRegistry",
+ "operations": [
+ {
+ "$id": "3228",
+ "name": "get",
+ "resourceName": "BillingContainer",
+ "doc": "Get a BillingContainer",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "3229",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "3230",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "3231",
+ "type": {
+ "$id": "3232",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3233",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "3234",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "3235",
+ "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": "3236",
+ "name": "billingContainerName",
+ "nameInRequest": "billingContainerName",
+ "doc": "Name of the billing container.",
+ "type": {
+ "$id": "3237",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3238",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "3239",
+ "kind": "constant",
+ "valueType": {
+ "$id": "3240",
+ "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": "3241",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "80"
+ },
+ "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": "3242",
+ "kind": "http",
+ "name": "Get_BillingContainer",
+ "description": "Get_BillingContainer",
+ "filePath": "2024-11-01/Get_BillingContainer.json",
+ "parameters": [
+ {
+ "$id": "3243",
+ "parameter": {
+ "$ref": "3229"
+ },
+ "value": {
+ "$id": "3244",
+ "kind": "string",
+ "type": {
+ "$ref": "3230"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3245",
+ "parameter": {
+ "$ref": "3233"
+ },
+ "value": {
+ "$id": "3246",
+ "kind": "string",
+ "type": {
+ "$ref": "3234"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "$id": "3247",
+ "parameter": {
+ "$ref": "3236"
+ },
+ "value": {
+ "$id": "3248",
+ "kind": "string",
+ "type": {
+ "$ref": "3237"
+ },
+ "value": "my-billingContainer"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3249",
+ "response": {
+ "$ref": "3241"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3250",
+ "kind": "model",
+ "type": {
+ "$ref": "80"
+ },
+ "value": {
+ "$id": "3251",
+ "id": {
+ "$id": "3252",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer"
+ },
+ "name": {
+ "$id": "3253",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-billingContainer"
+ },
+ "type": {
+ "$id": "3254",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/billingcontainers"
+ },
+ "etag": {
+ "$id": "3255",
+ "kind": "string",
+ "type": {
+ "$ref": "133"
+ },
+ "value": "\"00001300-0000-0100-0000-6671f0170000\""
+ },
+ "systemData": {
+ "$id": "3256",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3257",
+ "createdBy": {
+ "$id": "3258",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "createdByType": {
+ "$id": "3259",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3260",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2024-05-20T21:51:21.169954Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3261",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "lastModifiedByType": {
+ "$id": "3262",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3263",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2024-06-18T20:37:41.9371846Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3264",
+ "kind": "model",
+ "type": {
+ "$ref": "126"
+ },
+ "value": {
+ "$id": "3265",
+ "provisioningState": {
+ "$id": "3266",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "3267",
+ "name": "listBySubscription",
+ "resourceName": "BillingContainer",
+ "doc": "List BillingContainer resources by subscription ID",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "3268",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "3269",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "3270",
+ "type": {
+ "$id": "3271",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-11-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "3272",
+ "name": "subscriptionId",
+ "nameInRequest": "subscriptionId",
+ "doc": "The ID of the target subscription. The value must be an UUID.",
+ "type": {
+ "$id": "3273",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "3274",
+ "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": "3275",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "3276",
+ "kind": "constant",
+ "valueType": {
+ "$id": "3277",
+ "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": "3278",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "171"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers",
+ "bufferResponse": true,
+ "paging": {
+ "$id": "3279",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "3280",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ },
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers.listBySubscription",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "3281",
+ "kind": "http",
+ "name": "List_BillingContainers_Subscription",
+ "description": "List_BillingContainers_Subscription",
+ "filePath": "2024-11-01/List_BillingContainers_Subscription.json",
+ "parameters": [
+ {
+ "$id": "3282",
+ "parameter": {
+ "$ref": "3268"
+ },
+ "value": {
+ "$id": "3283",
+ "kind": "string",
+ "type": {
+ "$ref": "3269"
+ },
+ "value": "2024-11-01"
+ }
+ },
+ {
+ "$id": "3284",
+ "parameter": {
+ "$ref": "3272"
+ },
+ "value": {
+ "$id": "3285",
+ "kind": "string",
+ "type": {
+ "$ref": "3273"
+ },
+ "value": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "3286",
+ "response": {
+ "$ref": "3278"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "3287",
+ "kind": "model",
+ "type": {
+ "$ref": "171"
+ },
+ "value": {
+ "$id": "3288",
+ "value": {
+ "$id": "3289",
+ "kind": "array",
+ "type": {
+ "$ref": "173"
+ },
+ "value": [
+ {
+ "$id": "3290",
+ "kind": "model",
+ "type": {
+ "$ref": "80"
+ },
+ "value": {
+ "$id": "3291",
+ "id": {
+ "$id": "3292",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer1"
+ },
+ "name": {
+ "$id": "3293",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-billingContainer1"
+ },
+ "type": {
+ "$id": "3294",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/billingcontainers"
+ },
+ "etag": {
+ "$id": "3295",
+ "kind": "string",
+ "type": {
+ "$ref": "133"
+ },
+ "value": "\"4b036688-0000-0100-0000-6632c7bf0000\""
+ },
+ "systemData": {
+ "$id": "3296",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3297",
+ "createdBy": {
+ "$id": "3298",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "createdByType": {
+ "$id": "3299",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3300",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2024-05-01T22:52:46.0165055Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3301",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "lastModifiedByType": {
+ "$id": "3302",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3303",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2024-05-01T22:52:46.0165055Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3304",
+ "kind": "model",
+ "type": {
+ "$ref": "126"
+ },
+ "value": {
+ "$id": "3305",
+ "provisioningState": {
+ "$id": "3306",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ },
+ {
+ "$id": "3307",
+ "kind": "model",
+ "type": {
+ "$ref": "80"
+ },
+ "value": {
+ "$id": "3308",
+ "id": {
+ "$id": "3309",
+ "kind": "string",
+ "type": {
+ "$ref": "84"
+ },
+ "value": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/billingContainers/my-billingContainer2"
+ },
+ "name": {
+ "$id": "3310",
+ "kind": "string",
+ "type": {
+ "$ref": "89"
+ },
+ "value": "my-billingContainer2"
+ },
+ "type": {
+ "$id": "3311",
+ "kind": "string",
+ "type": {
+ "$ref": "93"
+ },
+ "value": "Microsoft.DeviceRegistry/billingcontainers"
+ },
+ "etag": {
+ "$id": "3312",
+ "kind": "string",
+ "type": {
+ "$ref": "133"
+ },
+ "value": "\"4e03ed61-0000-0100-0000-6632d7200000\""
+ },
+ "systemData": {
+ "$id": "3313",
+ "kind": "model",
+ "type": {
+ "$ref": "98"
+ },
+ "value": {
+ "$id": "3314",
+ "createdBy": {
+ "$id": "3315",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "createdByType": {
+ "$id": "3316",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "createdAt": {
+ "$id": "3317",
+ "kind": "string",
+ "type": {
+ "$ref": "107"
+ },
+ "value": "2024-05-01T23:58:23.3213061Z"
+ },
+ "lastModifiedBy": {
+ "$id": "3318",
+ "kind": "string",
+ "type": {
+ "$ref": "112"
+ },
+ "value": "0e1b4448-67b9-46a1-8158-e3dade4c008e"
+ },
+ "lastModifiedByType": {
+ "$id": "3319",
+ "kind": "string",
+ "type": {
+ "$ref": "14"
+ },
+ "value": "Application"
+ },
+ "lastModifiedAt": {
+ "$id": "3320",
+ "kind": "string",
+ "type": {
+ "$ref": "119"
+ },
+ "value": "2024-05-01T23:58:23.3213061Z"
+ }
+ }
+ },
+ "properties": {
+ "$id": "3321",
+ "kind": "model",
+ "type": {
+ "$ref": "126"
+ },
+ "value": {
+ "$id": "3322",
+ "provisioningState": {
+ "$id": "3323",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "Succeeded"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "parent": "DeviceRegistryClient",
+ "parameters": [
+ {
+ "$id": "3324",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "3325",
+ "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": "3326",
+ "type": {
+ "$id": "3327",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "https://management.azure.com"
+ }
+ }
+ ],
+ "decorators": [],
+ "crossLanguageDefinitionId": "Microsoft.DeviceRegistry.BillingContainers"
+ }
+ ],
+ "auth": {
+ "$id": "3328",
+ "oAuth2": {
+ "$id": "3329",
+ "scopes": [
+ "user_impersonation"
+ ]
+ }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/Azure.Messaging.EventGrid.Namespaces.sln b/sdk/eventgrid/Azure.Messaging.EventGridV2/Azure.Messaging.EventGrid.Namespaces.sln
new file mode 100644
index 000000000000..391d7e850673
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/Azure.Messaging.EventGrid.Namespaces.sln
@@ -0,0 +1,54 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29709.97
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{ECC730C1-4AEA-420C-916A-66B19B79E4DC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventGrid.Namespaces", "src\Azure.Messaging.EventGrid.Namespaces.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
+ EndGlobalSection
+EndGlobal
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/CHANGELOG.md b/sdk/eventgrid/Azure.Messaging.EventGridV2/CHANGELOG.md
new file mode 100644
index 000000000000..8b33f0fedccc
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/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/eventgrid/Azure.Messaging.EventGridV2/Directory.Build.props b/sdk/eventgrid/Azure.Messaging.EventGridV2/Directory.Build.props
new file mode 100644
index 000000000000..63bd836ad44b
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/README.md b/sdk/eventgrid/Azure.Messaging.EventGridV2/README.md
new file mode 100644
index 000000000000..469ad554f6f8
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/README.md
@@ -0,0 +1,107 @@
+# Azure.Messaging.EventGrid.Namespaces client library for .NET
+
+Azure.Messaging.EventGrid.Namespaces is a managed service that helps developers get secret simply and securely.
+
+Use the client library for to:
+
+* [Get secret](https://docs.microsoft.com/azure)
+
+[Source code][source_root] | [Package (NuGet)][package] | [API reference documentation][reference_docs] | [Product documentation][azconfig_docs] | [Samples][source_samples]
+
+ [Source code](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/src) | [Package (NuGet)](https://www.nuget.org/packages) | [API reference documentation](https://azure.github.io/azure-sdk-for-net) | [Product documentation](https://docs.microsoft.com/azure)
+
+## Getting started
+
+This section should include everything a developer needs to do to install and create their first client connection *very quickly*.
+
+### Install the package
+
+First, provide instruction for obtaining and installing the package or library. This section might include only a single line of code, like `dotnet add package package-name`, but should enable a developer to successfully install the package from NuGet, npm, or even cloning a GitHub repository.
+
+Install the client library for .NET with [NuGet](https://www.nuget.org/ ):
+
+```dotnetcli
+dotnet add package Azure.Messaging.EventGrid.Namespaces --prerelease
+```
+
+### Prerequisites
+
+Include a section after the install command that details any requirements that must be satisfied before a developer can [authenticate](#authenticate-the-client) and test all of the snippets in the [Examples](#examples) section. For example, for Cosmos DB:
+
+> You must have an [Azure subscription](https://azure.microsoft.com/free/dotnet/) and [Cosmos DB account](https://docs.microsoft.com/azure/cosmos-db/account-overview) (SQL API). In order to take advantage of the C# 8.0 syntax, it is recommended that you compile using the [.NET Core SDK](https://dotnet.microsoft.com/download) 3.0 or higher with a [language version](https://docs.microsoft.com/dotnet/csharp/language-reference/configure-language-version#override-a-default) of `latest`. It is also possible to compile with the .NET Core SDK 2.1.x using a language version of `preview`.
+
+### Authenticate the client
+
+If your library requires authentication for use, such as for Azure services, include instructions and example code needed for initializing and authenticating.
+
+For example, include details on obtaining an account key and endpoint URI, setting environment variables for each, and initializing the client object.
+
+### Service API versions
+
+The client library targets the latest service API version by default. A client instance accepts an optional service API version parameter from its options to specify which API version service to communicate.
+
+#### Select a service API version
+
+You have the flexibility to explicitly select a supported service API version when instantiating a client by configuring its associated options. This ensures that the client can communicate with services using the specified API version.
+
+For example,
+
+```C# Snippet:CreateClientForSpecificApiVersion
+Uri endpoint = new Uri("");
+DefaultAzureCredential credential = new DefaultAzureCredential();
+ClientOptions options = new ClientOptions(ClientOptions.ServiceVersion.)
+var client = new Client(endpoint, credential, options);
+```
+
+When selecting an API version, it's important to verify that there are no breaking changes compared to the latest API version. If there are significant differences, API calls may fail due to incompatibility.
+
+Always ensure that the chosen API version is fully supported and operational for your specific use case and that it aligns with the service's versioning policy.
+
+## Key concepts
+
+The *Key concepts* section should describe the functionality of the main classes. Point out the most important and useful classes in the package (with links to their reference pages) and explain how those classes work together. Feel free to use bulleted lists, tables, code blocks, or even diagrams for clarity.
+
+Include the *Thread safety* and *Additional concepts* sections below at the end of your *Key concepts* section. You may remove or add links depending on what your library makes use of:
+
+### Thread safety
+
+We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
+
+### Additional concepts
+
+[Client options](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) |
+[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
+[Long-running operations](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt) |
+[Handling failures](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception) |
+[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) |
+[Mocking](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#mocking) |
+[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/)
+
+
+## Examples
+
+You can familiarize yourself with different APIs using [Samples](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/samples).
+
+## Troubleshooting
+
+Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery.
+
+Provide information to help developers avoid throttling or other service-enforced errors they might encounter. For example, provide guidance and examples for using retry or connection policies in the API.
+
+If the package or a related package supports it, include tips for logging or enabling instrumentation to help them debug their code.
+
+## Next steps
+
+* Provide a link to additional code examples, ideally to those sitting alongside the README in the package's `/samples` directory.
+* If appropriate, point users to other packages that might be useful.
+* If you think there's a good chance that developers might stumble across your package in error (because they're searching for specific functionality and mistakenly think the package provides that functionality), point them to the packages they might be looking for.
+
+## Contributing
+
+This is a template, but your SDK readme should include details on how to contribute code to the repo/package.
+
+
+[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization
+[style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide
+
+
\ No newline at end of file
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/api/Azure.Messaging.EventGrid.Namespaces.net8.0.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/api/Azure.Messaging.EventGrid.Namespaces.net8.0.cs
new file mode 100644
index 000000000000..19ab2d90251f
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/api/Azure.Messaging.EventGrid.Namespaces.net8.0.cs
@@ -0,0 +1,131 @@
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ public partial class AcknowledgeResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal AcknowledgeResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.AcknowledgeResult 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.Messaging.EventGrid.Namespaces.AcknowledgeResult 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 AzureMessagingEventGridNamespacesClientOptions : Azure.Core.ClientOptions
+ {
+ public AzureMessagingEventGridNamespacesClientOptions(Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions.ServiceVersion version = Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions.ServiceVersion.V2024_06_01) { }
+ public enum ServiceVersion
+ {
+ V2023_11_01 = 1,
+ V2024_06_01 = 2,
+ }
+ }
+ public partial class EventGridReceiverClient
+ {
+ protected EventGridReceiverClient() { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
+ }
+ public partial class EventGridSenderClient
+ {
+ protected EventGridSenderClient() { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
+ }
+ public partial class FailedLockToken : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal FailedLockToken() { }
+ public Azure.ResponseError Error { get { throw null; } }
+ public string LockToken { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.FailedLockToken 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.Messaging.EventGrid.Namespaces.FailedLockToken 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 static partial class MessagingEventGridNamespacesModelFactory
+ {
+ public static Azure.Messaging.EventGrid.Namespaces.AcknowledgeResult AcknowledgeResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.FailedLockToken FailedLockToken(string lockToken = null, Azure.ResponseError error = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.RejectResult RejectResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseResult ReleaseResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.RenewLocksResult RenewLocksResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ }
+ public partial class RejectResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal RejectResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.RejectResult 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.Messaging.EventGrid.Namespaces.RejectResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ReleaseDelay : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ReleaseDelay(string value) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay NoDelay { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay OneHour { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay OneMinute { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay TenMinutes { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay TenSeconds { get { throw null; } }
+ public bool Equals(Azure.Messaging.EventGrid.Namespaces.ReleaseDelay 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.Messaging.EventGrid.Namespaces.ReleaseDelay left, Azure.Messaging.EventGrid.Namespaces.ReleaseDelay right) { throw null; }
+ public static implicit operator Azure.Messaging.EventGrid.Namespaces.ReleaseDelay (string value) { throw null; }
+ public static bool operator !=(Azure.Messaging.EventGrid.Namespaces.ReleaseDelay left, Azure.Messaging.EventGrid.Namespaces.ReleaseDelay right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class ReleaseResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal ReleaseResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.ReleaseResult 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.Messaging.EventGrid.Namespaces.ReleaseResult 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 RenewLocksResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal RenewLocksResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.RenewLocksResult 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.Messaging.EventGrid.Namespaces.RenewLocksResult 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; }
+ }
+}
+namespace Microsoft.Extensions.Azure
+{
+ public static partial class MessagingEventGridNamespacesClientBuilderExtensions
+ {
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridReceiverClient(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridReceiverClient(this TBuilder builder, System.Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridReceiverClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridSenderClient(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridSenderClient(this TBuilder builder, System.Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridSenderClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration { throw null; }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/api/Azure.Messaging.EventGrid.Namespaces.netstandard2.0.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/api/Azure.Messaging.EventGrid.Namespaces.netstandard2.0.cs
new file mode 100644
index 000000000000..19ab2d90251f
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/api/Azure.Messaging.EventGrid.Namespaces.netstandard2.0.cs
@@ -0,0 +1,131 @@
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ public partial class AcknowledgeResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal AcknowledgeResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.AcknowledgeResult 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.Messaging.EventGrid.Namespaces.AcknowledgeResult 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 AzureMessagingEventGridNamespacesClientOptions : Azure.Core.ClientOptions
+ {
+ public AzureMessagingEventGridNamespacesClientOptions(Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions.ServiceVersion version = Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions.ServiceVersion.V2024_06_01) { }
+ public enum ServiceVersion
+ {
+ V2023_11_01 = 1,
+ V2024_06_01 = 2,
+ }
+ }
+ public partial class EventGridReceiverClient
+ {
+ protected EventGridReceiverClient() { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { }
+ public EventGridReceiverClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
+ }
+ public partial class EventGridSenderClient
+ {
+ protected EventGridSenderClient() { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { }
+ public EventGridSenderClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Messaging.EventGrid.Namespaces.AzureMessagingEventGridNamespacesClientOptions options) { }
+ public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
+ }
+ public partial class FailedLockToken : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal FailedLockToken() { }
+ public Azure.ResponseError Error { get { throw null; } }
+ public string LockToken { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.FailedLockToken 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.Messaging.EventGrid.Namespaces.FailedLockToken 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 static partial class MessagingEventGridNamespacesModelFactory
+ {
+ public static Azure.Messaging.EventGrid.Namespaces.AcknowledgeResult AcknowledgeResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.FailedLockToken FailedLockToken(string lockToken = null, Azure.ResponseError error = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.RejectResult RejectResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseResult ReleaseResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.RenewLocksResult RenewLocksResult(System.Collections.Generic.IEnumerable failedLockTokens = null, System.Collections.Generic.IEnumerable succeededLockTokens = null) { throw null; }
+ }
+ public partial class RejectResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal RejectResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.RejectResult 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.Messaging.EventGrid.Namespaces.RejectResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ReleaseDelay : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ReleaseDelay(string value) { throw null; }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay NoDelay { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay OneHour { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay OneMinute { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay TenMinutes { get { throw null; } }
+ public static Azure.Messaging.EventGrid.Namespaces.ReleaseDelay TenSeconds { get { throw null; } }
+ public bool Equals(Azure.Messaging.EventGrid.Namespaces.ReleaseDelay 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.Messaging.EventGrid.Namespaces.ReleaseDelay left, Azure.Messaging.EventGrid.Namespaces.ReleaseDelay right) { throw null; }
+ public static implicit operator Azure.Messaging.EventGrid.Namespaces.ReleaseDelay (string value) { throw null; }
+ public static bool operator !=(Azure.Messaging.EventGrid.Namespaces.ReleaseDelay left, Azure.Messaging.EventGrid.Namespaces.ReleaseDelay right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class ReleaseResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal ReleaseResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.ReleaseResult 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.Messaging.EventGrid.Namespaces.ReleaseResult 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 RenewLocksResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ internal RenewLocksResult() { }
+ public System.Collections.Generic.IReadOnlyList FailedLockTokens { get { throw null; } }
+ public System.Collections.Generic.IReadOnlyList SucceededLockTokens { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Messaging.EventGrid.Namespaces.RenewLocksResult 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.Messaging.EventGrid.Namespaces.RenewLocksResult 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; }
+ }
+}
+namespace Microsoft.Extensions.Azure
+{
+ public static partial class MessagingEventGridNamespacesClientBuilderExtensions
+ {
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridReceiverClient(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridReceiverClient(this TBuilder builder, System.Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridReceiverClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridSenderClient(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridSenderClient(this TBuilder builder, System.Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder { throw null; }
+ public static Azure.Core.Extensions.IAzureClientBuilder AddEventGridSenderClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration { throw null; }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Azure.Messaging.EventGrid.Namespaces.csproj b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Azure.Messaging.EventGrid.Namespaces.csproj
new file mode 100644
index 000000000000..63c432e943e1
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Azure.Messaging.EventGrid.Namespaces.csproj
@@ -0,0 +1,20 @@
+
+
+ This is the Azure.Messaging.EventGrid.Namespaces client library for developing .NET applications with rich experience.
+ Azure SDK Code Generation Azure.Messaging.EventGrid.Namespaces for Azure Data Plane
+ 1.0.0-beta.1
+ Azure.Messaging.EventGrid.Namespaces
+ $(RequiredTargetFrameworks)
+ true
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeRequest.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeRequest.Serialization.cs
new file mode 100644
index 000000000000..3a9b9f5a0937
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeRequest.Serialization.cs
@@ -0,0 +1,152 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ internal partial class AcknowledgeRequest : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(AcknowledgeRequest)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("lockTokens"u8);
+ writer.WriteStartArray();
+ foreach (var item in LockTokens)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ AcknowledgeRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(AcknowledgeRequest)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeAcknowledgeRequest(document.RootElement, options);
+ }
+
+ internal static AcknowledgeRequest DeserializeAcknowledgeRequest(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ IReadOnlyList lockTokens = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("lockTokens"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ lockTokens = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new AcknowledgeRequest(lockTokens, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(AcknowledgeRequest)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ AcknowledgeRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeAcknowledgeRequest(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(AcknowledgeRequest)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AcknowledgeRequest FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeAcknowledgeRequest(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeRequest.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeRequest.cs
new file mode 100644
index 000000000000..da487d167f8b
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeRequest.cs
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ /// The AcknowledgeRequest.
+ internal partial class AcknowledgeRequest
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// Array of lock tokens.
+ /// is null.
+ internal AcknowledgeRequest(IEnumerable lockTokens)
+ {
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ LockTokens = lockTokens.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// Array of lock tokens.
+ /// Keeps track of any properties unknown to the library.
+ internal AcknowledgeRequest(IReadOnlyList lockTokens, IDictionary serializedAdditionalRawData)
+ {
+ LockTokens = lockTokens;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal AcknowledgeRequest()
+ {
+ }
+
+ /// Array of lock tokens.
+ public IReadOnlyList LockTokens { get; }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeResult.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeResult.Serialization.cs
new file mode 100644
index 000000000000..87709aa7147d
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeResult.Serialization.cs
@@ -0,0 +1,170 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ public partial class AcknowledgeResult : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(AcknowledgeResult)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("failedLockTokens"u8);
+ writer.WriteStartArray();
+ foreach (var item in FailedLockTokens)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ writer.WritePropertyName("succeededLockTokens"u8);
+ writer.WriteStartArray();
+ foreach (var item in SucceededLockTokens)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ AcknowledgeResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(AcknowledgeResult)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeAcknowledgeResult(document.RootElement, options);
+ }
+
+ internal static AcknowledgeResult DeserializeAcknowledgeResult(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ IReadOnlyList failedLockTokens = default;
+ IReadOnlyList succeededLockTokens = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("failedLockTokens"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(FailedLockToken.DeserializeFailedLockToken(item, options));
+ }
+ failedLockTokens = array;
+ continue;
+ }
+ if (property.NameEquals("succeededLockTokens"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ succeededLockTokens = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new AcknowledgeResult(failedLockTokens, succeededLockTokens, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(AcknowledgeResult)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ AcknowledgeResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeAcknowledgeResult(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(AcknowledgeResult)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AcknowledgeResult FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeAcknowledgeResult(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeResult.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeResult.cs
new file mode 100644
index 000000000000..a30895c4a023
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AcknowledgeResult.cs
@@ -0,0 +1,83 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ /// The result of the Acknowledge operation.
+ public partial class AcknowledgeResult
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).
+ /// Array of lock tokens for the successfully acknowledged cloud events.
+ /// or is null.
+ internal AcknowledgeResult(IEnumerable failedLockTokens, IEnumerable succeededLockTokens)
+ {
+ Argument.AssertNotNull(failedLockTokens, nameof(failedLockTokens));
+ Argument.AssertNotNull(succeededLockTokens, nameof(succeededLockTokens));
+
+ FailedLockTokens = failedLockTokens.ToList();
+ SucceededLockTokens = succeededLockTokens.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).
+ /// Array of lock tokens for the successfully acknowledged cloud events.
+ /// Keeps track of any properties unknown to the library.
+ internal AcknowledgeResult(IReadOnlyList failedLockTokens, IReadOnlyList succeededLockTokens, IDictionary serializedAdditionalRawData)
+ {
+ FailedLockTokens = failedLockTokens;
+ SucceededLockTokens = succeededLockTokens;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal AcknowledgeResult()
+ {
+ }
+
+ /// Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).
+ public IReadOnlyList FailedLockTokens { get; }
+ /// Array of lock tokens for the successfully acknowledged cloud events.
+ public IReadOnlyList SucceededLockTokens { get; }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AzureMessagingEventGridNamespacesClientOptions.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AzureMessagingEventGridNamespacesClientOptions.cs
new file mode 100644
index 000000000000..028d63a6a191
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/AzureMessagingEventGridNamespacesClientOptions.cs
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using Azure.Core;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ /// Client options for Azure.Messaging.EventGrid.Namespaces library clients.
+ public partial class AzureMessagingEventGridNamespacesClientOptions : ClientOptions
+ {
+ private const ServiceVersion LatestVersion = ServiceVersion.V2024_06_01;
+
+ /// The version of the service to use.
+ public enum ServiceVersion
+ {
+ /// Service version "2023-11-01".
+ V2023_11_01 = 1,
+ /// Service version "2024-06-01".
+ V2024_06_01 = 2,
+ }
+
+ internal string Version { get; }
+
+ /// Initializes new instance of AzureMessagingEventGridNamespacesClientOptions.
+ public AzureMessagingEventGridNamespacesClientOptions(ServiceVersion version = LatestVersion)
+ {
+ Version = version switch
+ {
+ ServiceVersion.V2023_11_01 => "2023-11-01",
+ ServiceVersion.V2024_06_01 => "2024-06-01",
+ _ => throw new NotSupportedException()
+ };
+ }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/BrokerProperties.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/BrokerProperties.Serialization.cs
new file mode 100644
index 000000000000..bc10318d0710
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/BrokerProperties.Serialization.cs
@@ -0,0 +1,150 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ internal partial class BrokerProperties : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(BrokerProperties)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("lockToken"u8);
+ writer.WriteStringValue(LockToken);
+ writer.WritePropertyName("deliveryCount"u8);
+ writer.WriteNumberValue(DeliveryCount);
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ BrokerProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(BrokerProperties)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeBrokerProperties(document.RootElement, options);
+ }
+
+ internal static BrokerProperties DeserializeBrokerProperties(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string lockToken = default;
+ int deliveryCount = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("lockToken"u8))
+ {
+ lockToken = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("deliveryCount"u8))
+ {
+ deliveryCount = property.Value.GetInt32();
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new BrokerProperties(lockToken, deliveryCount, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(BrokerProperties)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ BrokerProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeBrokerProperties(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(BrokerProperties)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static BrokerProperties FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeBrokerProperties(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/BrokerProperties.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/BrokerProperties.cs
new file mode 100644
index 000000000000..78d00f1266d5
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/BrokerProperties.cs
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ /// Properties of the Event Broker operation.
+ internal partial class BrokerProperties
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// The token of the lock on the event.
+ /// The attempt count for delivering the event.
+ /// is null.
+ internal BrokerProperties(string lockToken, int deliveryCount)
+ {
+ Argument.AssertNotNull(lockToken, nameof(lockToken));
+
+ LockToken = lockToken;
+ DeliveryCount = deliveryCount;
+ }
+
+ /// Initializes a new instance of .
+ /// The token of the lock on the event.
+ /// The attempt count for delivering the event.
+ /// Keeps track of any properties unknown to the library.
+ internal BrokerProperties(string lockToken, int deliveryCount, IDictionary serializedAdditionalRawData)
+ {
+ LockToken = lockToken;
+ DeliveryCount = deliveryCount;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal BrokerProperties()
+ {
+ }
+
+ /// The token of the lock on the event.
+ public string LockToken { get; }
+ /// The attempt count for delivering the event.
+ public int DeliveryCount { get; }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/CloudEvent.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/CloudEvent.Serialization.cs
new file mode 100644
index 000000000000..054c9263ef81
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/CloudEvent.Serialization.cs
@@ -0,0 +1,262 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ internal partial class CloudEvent : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(CloudEvent)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("id"u8);
+ writer.WriteStringValue(Id);
+ writer.WritePropertyName("source"u8);
+ writer.WriteStringValue(Source);
+ if (Optional.IsDefined(Data))
+ {
+ writer.WritePropertyName("data"u8);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(Data);
+#else
+ using (JsonDocument document = JsonDocument.Parse(Data, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ if (Optional.IsDefined(DataBase64))
+ {
+ writer.WritePropertyName("data_base64"u8);
+ writer.WriteBase64StringValue(DataBase64.ToArray(), "D");
+ }
+ writer.WritePropertyName("type"u8);
+ writer.WriteStringValue(Type);
+ if (Optional.IsDefined(Time))
+ {
+ writer.WritePropertyName("time"u8);
+ writer.WriteStringValue(Time.Value, "O");
+ }
+ writer.WritePropertyName("specversion"u8);
+ writer.WriteStringValue(Specversion);
+ if (Optional.IsDefined(Dataschema))
+ {
+ writer.WritePropertyName("dataschema"u8);
+ writer.WriteStringValue(Dataschema);
+ }
+ if (Optional.IsDefined(Datacontenttype))
+ {
+ writer.WritePropertyName("datacontenttype"u8);
+ writer.WriteStringValue(Datacontenttype);
+ }
+ if (Optional.IsDefined(Subject))
+ {
+ writer.WritePropertyName("subject"u8);
+ writer.WriteStringValue(Subject);
+ }
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ CloudEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(CloudEvent)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeCloudEvent(document.RootElement, options);
+ }
+
+ internal static CloudEvent DeserializeCloudEvent(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string id = default;
+ string source = default;
+ BinaryData data = default;
+ BinaryData dataBase64 = default;
+ string type = default;
+ DateTimeOffset? time = default;
+ string specversion = default;
+ string dataschema = default;
+ string datacontenttype = default;
+ string subject = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("id"u8))
+ {
+ id = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("source"u8))
+ {
+ source = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("data"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ data = BinaryData.FromString(property.Value.GetRawText());
+ continue;
+ }
+ if (property.NameEquals("data_base64"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ dataBase64 = BinaryData.FromBytes(property.Value.GetBytesFromBase64("D"));
+ continue;
+ }
+ if (property.NameEquals("type"u8))
+ {
+ type = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("time"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ time = property.Value.GetDateTimeOffset("O");
+ continue;
+ }
+ if (property.NameEquals("specversion"u8))
+ {
+ specversion = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("dataschema"u8))
+ {
+ dataschema = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("datacontenttype"u8))
+ {
+ datacontenttype = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("subject"u8))
+ {
+ subject = property.Value.GetString();
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new CloudEvent(
+ id,
+ source,
+ data,
+ dataBase64,
+ type,
+ time,
+ specversion,
+ dataschema,
+ datacontenttype,
+ subject,
+ serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(CloudEvent)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ CloudEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeCloudEvent(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(CloudEvent)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static CloudEvent FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeCloudEvent(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/CloudEvent.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/CloudEvent.cs
new file mode 100644
index 000000000000..6d49af6075dd
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/CloudEvent.cs
@@ -0,0 +1,164 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ /// Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema.
+ internal partial class CloudEvent
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// An identifier for the event. The combination of id and source must be unique for each distinct event.
+ /// Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.
+ /// Type of event related to the originating occurrence.
+ /// The version of the CloudEvents specification which the event uses.
+ /// , , or is null.
+ public CloudEvent(string id, string source, string type, string specversion)
+ {
+ Argument.AssertNotNull(id, nameof(id));
+ Argument.AssertNotNull(source, nameof(source));
+ Argument.AssertNotNull(type, nameof(type));
+ Argument.AssertNotNull(specversion, nameof(specversion));
+
+ Id = id;
+ Source = source;
+ Type = type;
+ Specversion = specversion;
+ }
+
+ /// Initializes a new instance of .
+ /// An identifier for the event. The combination of id and source must be unique for each distinct event.
+ /// Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.
+ /// Event data specific to the event type.
+ /// Event data specific to the event type, encoded as a base64 string.
+ /// Type of event related to the originating occurrence.
+ /// The time (in UTC) the event was generated, in RFC3339 format.
+ /// The version of the CloudEvents specification which the event uses.
+ /// Identifies the schema that data adheres to.
+ /// Content type of data value.
+ /// This describes the subject of the event in the context of the event producer (identified by source).
+ /// Keeps track of any properties unknown to the library.
+ internal CloudEvent(string id, string source, BinaryData data, BinaryData dataBase64, string type, DateTimeOffset? time, string specversion, string dataschema, string datacontenttype, string subject, IDictionary serializedAdditionalRawData)
+ {
+ Id = id;
+ Source = source;
+ Data = data;
+ DataBase64 = dataBase64;
+ Type = type;
+ Time = time;
+ Specversion = specversion;
+ Dataschema = dataschema;
+ Datacontenttype = datacontenttype;
+ Subject = subject;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal CloudEvent()
+ {
+ }
+
+ /// An identifier for the event. The combination of id and source must be unique for each distinct event.
+ public string Id { get; set; }
+ /// Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.
+ public string Source { get; set; }
+ ///
+ /// Event data specific to the event type.
+ ///
+ /// To assign an object to this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ public BinaryData Data { get; set; }
+ ///
+ /// Event data specific to the event type, encoded as a base64 string.
+ ///
+ /// To assign a byte[] to this property use .
+ /// The byte[] will be serialized to a Base64 encoded string.
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromBytes(new byte[] { 1, 2, 3 })
+ /// Creates a payload of "AQID".
+ ///
+ ///
+ ///
+ ///
+ public BinaryData DataBase64 { get; set; }
+ /// Type of event related to the originating occurrence.
+ public string Type { get; set; }
+ /// The time (in UTC) the event was generated, in RFC3339 format.
+ public DateTimeOffset? Time { get; set; }
+ /// The version of the CloudEvents specification which the event uses.
+ public string Specversion { get; set; }
+ /// Identifies the schema that data adheres to.
+ public string Dataschema { get; set; }
+ /// Content type of data value.
+ public string Datacontenttype { get; set; }
+ /// This describes the subject of the event in the context of the event producer (identified by source).
+ public string Subject { get; set; }
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/EventGridReceiverClient.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/EventGridReceiverClient.cs
new file mode 100644
index 000000000000..43b45c5c3811
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/EventGridReceiverClient.cs
@@ -0,0 +1,840 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Core.Pipeline;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ // Data plane generated client.
+ /// The EventGridReceiver service client.
+ public partial class EventGridReceiverClient
+ {
+ private const string AuthorizationHeader = "Authorization";
+ private readonly AzureKeyCredential _keyCredential;
+ private const string AuthorizationApiKeyPrefix = "SharedAccessKey";
+ private static readonly string[] AuthorizationScopes = new string[] { "https://eventgrid.azure.net/.default" };
+ private readonly TokenCredential _tokenCredential;
+ private readonly HttpPipeline _pipeline;
+ private readonly Uri _endpoint;
+ private readonly string _apiVersion;
+
+ /// The ClientDiagnostics is used to provide tracing support for the client library.
+ internal ClientDiagnostics ClientDiagnostics { get; }
+
+ /// The HTTP pipeline for sending and receiving REST requests and responses.
+ public virtual HttpPipeline Pipeline => _pipeline;
+
+ /// Initializes a new instance of EventGridReceiverClient for mocking.
+ protected EventGridReceiverClient()
+ {
+ }
+
+ /// Initializes a new instance of EventGridReceiverClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// or is null.
+ public EventGridReceiverClient(Uri endpoint, AzureKeyCredential credential) : this(endpoint, credential, new AzureMessagingEventGridNamespacesClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of EventGridReceiverClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// or is null.
+ public EventGridReceiverClient(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new AzureMessagingEventGridNamespacesClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of EventGridReceiverClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// The options for configuring the client.
+ /// or is null.
+ public EventGridReceiverClient(Uri endpoint, AzureKeyCredential credential, AzureMessagingEventGridNamespacesClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new AzureMessagingEventGridNamespacesClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _keyCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential, AuthorizationHeader, AuthorizationApiKeyPrefix) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ _apiVersion = options.Version;
+ }
+
+ /// Initializes a new instance of EventGridReceiverClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// The options for configuring the client.
+ /// or is null.
+ public EventGridReceiverClient(Uri endpoint, TokenCredential credential, AzureMessagingEventGridNamespacesClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new AzureMessagingEventGridNamespacesClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _tokenCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ _apiVersion = options.Version;
+ }
+
+ /// Receive a batch of Cloud Events from a subscription.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.
+ /// Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.
+ /// The cancellation token to use.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual async Task> ReceiveAsync(string topicName, string eventSubscriptionName, int? maxEvents = null, TimeSpan? maxWaitTime = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await ReceiveAsync(topicName, eventSubscriptionName, maxEvents, maxWaitTime, context).ConfigureAwait(false);
+ return Response.FromValue(ReceiveResult.FromResponse(response), response);
+ }
+
+ /// Receive a batch of Cloud Events from a subscription.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.
+ /// Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.
+ /// The cancellation token to use.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual Response Receive(string topicName, string eventSubscriptionName, int? maxEvents = null, TimeSpan? maxWaitTime = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = Receive(topicName, eventSubscriptionName, maxEvents, maxWaitTime, context);
+ return Response.FromValue(ReceiveResult.FromResponse(response), response);
+ }
+
+ ///
+ /// [Protocol Method] Receive a batch of Cloud Events from a subscription.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.
+ /// Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual async Task ReceiveAsync(string topicName, string eventSubscriptionName, int? maxEvents, TimeSpan? maxWaitTime, RequestContext context)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Receive");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReceiveRequest(topicName, eventSubscriptionName, maxEvents, maxWaitTime, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Receive a batch of Cloud Events from a subscription.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.
+ /// Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual Response Receive(string topicName, string eventSubscriptionName, int? maxEvents, TimeSpan? maxWaitTime, RequestContext context)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Receive");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReceiveRequest(topicName, eventSubscriptionName, maxEvents, maxWaitTime, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Acknowledge a batch of Cloud Events. The response will include the set of successfully acknowledged lock tokens, along with other failed lock tokens with their corresponding error information. Successfully acknowledged events will no longer be available to be received by any consumer.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual async Task> AcknowledgeAsync(string topicName, string eventSubscriptionName, IEnumerable lockTokens, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ AcknowledgeRequest acknowledgeRequest = new AcknowledgeRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await AcknowledgeAsync(topicName, eventSubscriptionName, acknowledgeRequest.ToRequestContent(), context).ConfigureAwait(false);
+ return Response.FromValue(AcknowledgeResult.FromResponse(response), response);
+ }
+
+ /// Acknowledge a batch of Cloud Events. The response will include the set of successfully acknowledged lock tokens, along with other failed lock tokens with their corresponding error information. Successfully acknowledged events will no longer be available to be received by any consumer.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual Response Acknowledge(string topicName, string eventSubscriptionName, IEnumerable lockTokens, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ AcknowledgeRequest acknowledgeRequest = new AcknowledgeRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = Acknowledge(topicName, eventSubscriptionName, acknowledgeRequest.ToRequestContent(), context);
+ return Response.FromValue(AcknowledgeResult.FromResponse(response), response);
+ }
+
+ ///
+ /// [Protocol Method] Acknowledge a batch of Cloud Events. The response will include the set of successfully acknowledged lock tokens, along with other failed lock tokens with their corresponding error information. Successfully acknowledged events will no longer be available to be received by any consumer.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual async Task AcknowledgeAsync(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Acknowledge");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateAcknowledgeRequest(topicName, eventSubscriptionName, content, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Acknowledge a batch of Cloud Events. The response will include the set of successfully acknowledged lock tokens, along with other failed lock tokens with their corresponding error information. Successfully acknowledged events will no longer be available to be received by any consumer.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual Response Acknowledge(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Acknowledge");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateAcknowledgeRequest(topicName, eventSubscriptionName, content, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// Release cloud events with the specified delay in seconds.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual async Task> ReleaseAsync(string topicName, string eventSubscriptionName, IEnumerable lockTokens, ReleaseDelay? releaseDelayInSeconds = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ ReleaseRequest releaseRequest = new ReleaseRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await ReleaseAsync(topicName, eventSubscriptionName, releaseRequest.ToRequestContent(), releaseDelayInSeconds?.ToString(), context).ConfigureAwait(false);
+ return Response.FromValue(ReleaseResult.FromResponse(response), response);
+ }
+
+ /// Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// Release cloud events with the specified delay in seconds.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual Response Release(string topicName, string eventSubscriptionName, IEnumerable lockTokens, ReleaseDelay? releaseDelayInSeconds = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ ReleaseRequest releaseRequest = new ReleaseRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = Release(topicName, eventSubscriptionName, releaseRequest.ToRequestContent(), releaseDelayInSeconds?.ToString(), context);
+ return Response.FromValue(ReleaseResult.FromResponse(response), response);
+ }
+
+ ///
+ /// [Protocol Method] Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// Release cloud events with the specified delay in seconds. Allowed values: "0" | "10" | "60" | "600" | "3600".
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual async Task ReleaseAsync(string topicName, string eventSubscriptionName, RequestContent content, string releaseDelayInSeconds = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Release");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReleaseRequest(topicName, eventSubscriptionName, content, releaseDelayInSeconds, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// Release cloud events with the specified delay in seconds. Allowed values: "0" | "10" | "60" | "600" | "3600".
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual Response Release(string topicName, string eventSubscriptionName, RequestContent content, string releaseDelayInSeconds = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Release");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReleaseRequest(topicName, eventSubscriptionName, content, releaseDelayInSeconds, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual async Task> RejectAsync(string topicName, string eventSubscriptionName, IEnumerable lockTokens, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ RejectRequest rejectRequest = new RejectRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await RejectAsync(topicName, eventSubscriptionName, rejectRequest.ToRequestContent(), context).ConfigureAwait(false);
+ return Response.FromValue(RejectResult.FromResponse(response), response);
+ }
+
+ /// Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual Response Reject(string topicName, string eventSubscriptionName, IEnumerable lockTokens, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ RejectRequest rejectRequest = new RejectRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = Reject(topicName, eventSubscriptionName, rejectRequest.ToRequestContent(), context);
+ return Response.FromValue(RejectResult.FromResponse(response), response);
+ }
+
+ ///
+ /// [Protocol Method] Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual async Task RejectAsync(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Reject");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateRejectRequest(topicName, eventSubscriptionName, content, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual Response Reject(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.Reject");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateRejectRequest(topicName, eventSubscriptionName, content, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Renew locks for a batch of Cloud Events. The response will include the set of successfully renewed lock tokens, along with other failed lock tokens with their corresponding error information. Successfully renewed locks will ensure that the associated event is only available to the consumer that holds the renewed lock.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual async Task> RenewLocksAsync(string topicName, string eventSubscriptionName, IEnumerable lockTokens, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ RenewLocksRequest renewLocksRequest = new RenewLocksRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await RenewLocksAsync(topicName, eventSubscriptionName, renewLocksRequest.ToRequestContent(), context).ConfigureAwait(false);
+ return Response.FromValue(RenewLocksResult.FromResponse(response), response);
+ }
+
+ /// Renew locks for a batch of Cloud Events. The response will include the set of successfully renewed lock tokens, along with other failed lock tokens with their corresponding error information. Successfully renewed locks will ensure that the associated event is only available to the consumer that holds the renewed lock.
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// Array of lock tokens.
+ /// The cancellation token to use.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ internal virtual Response RenewLocks(string topicName, string eventSubscriptionName, IEnumerable lockTokens, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(lockTokens, nameof(lockTokens));
+
+ RenewLocksRequest renewLocksRequest = new RenewLocksRequest(lockTokens.ToList(), null);
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = RenewLocks(topicName, eventSubscriptionName, renewLocksRequest.ToRequestContent(), context);
+ return Response.FromValue(RenewLocksResult.FromResponse(response), response);
+ }
+
+ ///
+ /// [Protocol Method] Renew locks for a batch of Cloud Events. The response will include the set of successfully renewed lock tokens, along with other failed lock tokens with their corresponding error information. Successfully renewed locks will ensure that the associated event is only available to the consumer that holds the renewed lock.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual async Task RenewLocksAsync(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.RenewLocks");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateRenewLocksRequest(topicName, eventSubscriptionName, content, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Renew locks for a batch of Cloud Events. The response will include the set of successfully renewed lock tokens, along with other failed lock tokens with their corresponding error information. Successfully renewed locks will ensure that the associated event is only available to the consumer that holds the renewed lock.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// Topic Name.
+ /// Event Subscription Name.
+ /// The content to send as the body of the request.
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// , or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ internal virtual Response RenewLocks(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNullOrEmpty(eventSubscriptionName, nameof(eventSubscriptionName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("EventGridReceiverClient.RenewLocks");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateRenewLocksRequest(topicName, eventSubscriptionName, content, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ internal HttpMessage CreateReceiveRequest(string topicName, string eventSubscriptionName, int? maxEvents, TimeSpan? maxWaitTime, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/topics/", false);
+ uri.AppendPath(topicName, true);
+ uri.AppendPath("/eventsubscriptions/", false);
+ uri.AppendPath(eventSubscriptionName, true);
+ uri.AppendPath(":receive", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ if (maxEvents != null)
+ {
+ uri.AppendQuery("maxEvents", maxEvents.Value, true);
+ }
+ if (maxWaitTime != null)
+ {
+ uri.AppendQuery("maxWaitTime", maxWaitTime.Value, "%s", true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateAcknowledgeRequest(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/topics/", false);
+ uri.AppendPath(topicName, true);
+ uri.AppendPath("/eventsubscriptions/", false);
+ uri.AppendPath(eventSubscriptionName, true);
+ uri.AppendPath(":acknowledge", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("Content-Type", "application/json");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateReleaseRequest(string topicName, string eventSubscriptionName, RequestContent content, string releaseDelayInSeconds, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/topics/", false);
+ uri.AppendPath(topicName, true);
+ uri.AppendPath("/eventsubscriptions/", false);
+ uri.AppendPath(eventSubscriptionName, true);
+ uri.AppendPath(":release", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ if (releaseDelayInSeconds != null)
+ {
+ uri.AppendQuery("releaseDelayInSeconds", releaseDelayInSeconds, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("Content-Type", "application/json");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateRejectRequest(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/topics/", false);
+ uri.AppendPath(topicName, true);
+ uri.AppendPath("/eventsubscriptions/", false);
+ uri.AppendPath(eventSubscriptionName, true);
+ uri.AppendPath(":reject", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("Content-Type", "application/json");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateRenewLocksRequest(string topicName, string eventSubscriptionName, RequestContent content, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/topics/", false);
+ uri.AppendPath(topicName, true);
+ uri.AppendPath("/eventsubscriptions/", false);
+ uri.AppendPath(eventSubscriptionName, true);
+ uri.AppendPath(":renewLock", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("Content-Type", "application/json");
+ request.Content = content;
+ return message;
+ }
+
+ private static RequestContext DefaultRequestContext = new RequestContext();
+ internal static RequestContext FromCancellationToken(CancellationToken cancellationToken = default)
+ {
+ if (!cancellationToken.CanBeCanceled)
+ {
+ return DefaultRequestContext;
+ }
+
+ return new RequestContext() { CancellationToken = cancellationToken };
+ }
+
+ private static ResponseClassifier _responseClassifier200;
+ private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 });
+ }
+}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/EventGridSenderClient.cs b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/EventGridSenderClient.cs
new file mode 100644
index 000000000000..7823b6e8d6e3
--- /dev/null
+++ b/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Generated/EventGridSenderClient.cs
@@ -0,0 +1,375 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Core.Pipeline;
+
+namespace Azure.Messaging.EventGrid.Namespaces
+{
+ // Data plane generated client.
+ /// The EventGridSender service client.
+ public partial class EventGridSenderClient
+ {
+ private const string AuthorizationHeader = "Authorization";
+ private readonly AzureKeyCredential _keyCredential;
+ private const string AuthorizationApiKeyPrefix = "SharedAccessKey";
+ private static readonly string[] AuthorizationScopes = new string[] { "https://eventgrid.azure.net/.default" };
+ private readonly TokenCredential _tokenCredential;
+ private readonly HttpPipeline _pipeline;
+ private readonly Uri _endpoint;
+ private readonly string _apiVersion;
+
+ /// The ClientDiagnostics is used to provide tracing support for the client library.
+ internal ClientDiagnostics ClientDiagnostics { get; }
+
+ /// The HTTP pipeline for sending and receiving REST requests and responses.
+ public virtual HttpPipeline Pipeline => _pipeline;
+
+ /// Initializes a new instance of EventGridSenderClient for mocking.
+ protected EventGridSenderClient()
+ {
+ }
+
+ /// Initializes a new instance of EventGridSenderClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// or is null.
+ public EventGridSenderClient(Uri endpoint, AzureKeyCredential credential) : this(endpoint, credential, new AzureMessagingEventGridNamespacesClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of EventGridSenderClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// or is null.
+ public EventGridSenderClient(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new AzureMessagingEventGridNamespacesClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of EventGridSenderClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// The options for configuring the client.
+ /// or is null.
+ public EventGridSenderClient(Uri endpoint, AzureKeyCredential credential, AzureMessagingEventGridNamespacesClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new AzureMessagingEventGridNamespacesClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _keyCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential, AuthorizationHeader, AuthorizationApiKeyPrefix) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ _apiVersion = options.Version;
+ }
+
+ /// Initializes a new instance of EventGridSenderClient.
+ /// The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.
+ /// A credential used to authenticate to an Azure Service.
+ /// The options for configuring the client.
+ /// or is null.
+ public EventGridSenderClient(Uri endpoint, TokenCredential credential, AzureMessagingEventGridNamespacesClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new AzureMessagingEventGridNamespacesClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _tokenCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ _apiVersion = options.Version;
+ }
+
+ /// Publish a single Cloud Event to a namespace topic.
+ /// Topic Name.
+ /// Single Cloud Event being published.
+ /// The cancellation token to use.
+ /// or is null.
+ /// is an empty string, and was expected to be non-empty.
+ internal virtual async Task> SendAsync(string topicName, CloudEvent @event, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNull(@event, nameof(@event));
+
+ using RequestContent content = @event.ToRequestContent();
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await SendAsync(topicName, content, context).ConfigureAwait(false);
+ return Response.FromValue(PublishResult.FromResponse(response), response);
+ }
+
+ /// Publish a single Cloud Event to a namespace topic.
+ /// Topic Name.
+ /// Single Cloud Event being published.
+ /// The cancellation token to use.
+ /// or is null.
+ /// is an empty string, and was expected to be non-empty.
+ internal virtual Response Send(string topicName, CloudEvent @event, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(topicName, nameof(topicName));
+ Argument.AssertNotNull(@event, nameof(@event));
+
+ using RequestContent content = @event.ToRequestContent();
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = Send(topicName, content, context);
+ return Response.FromValue(PublishResult.FromResponse(response), response);
+ }
+
+ ///
+ /// [Protocol Method] Publish a single Cloud Event to a namespace topic.
+ ///
+ /// -
+ ///
+ /// This