diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 98e661501f445..39b5880238e13 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -200,7 +200,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 3057cfa865e3c..8c715d3a58668 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240112.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240114.1" }, "devDependencies": { "@azure-tools/typespec-azure-core": "0.37.0", @@ -17,9 +17,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20240112.2", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240112.2.tgz", - "integrity": "sha512-k2vhLPqvhEgu2ebyCbln9cZ+O8KtytCVqJ+cM8zYLcF2PukhQlIZI8P1lR9R3Aw9KXHRqwif2YFs6lDgXkpTQw==" + "version": "3.0.0-beta.20240114.1", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240114.1.tgz", + "integrity": "sha512-lz7Z0HQpRnwm6PopjjJRPz0UnGuhQKDT1Bm21v5/AqUxJl24CeZe35dsaW34ZQ2fxC3FJl2EvZhxALlt1XYgiQ==" }, "node_modules/@azure-tools/typespec-azure-core": { "version": "0.37.0", @@ -55,11 +55,11 @@ } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20240112.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240112.2.tgz", - "integrity": "sha512-pi4VXVay7FVyua6bJJVcUzMU0R9tAYrRfL17+CvY+ADsBr58LlTcHidvQJZfPus3ImBwdEMD4H/b7ck+95jw0Q==", + "version": "0.2.0-beta.20240114.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240114.1.tgz", + "integrity": "sha512-4Iy2IFvai7Qu94NPhDzBa3+r0ggb04rkAjq548XDoiiGxDy1+kK1y6fmsnMycwg+hksE7xwPzy2KuAtmN1a3hQ==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20240112.2", + "@autorest/csharp": "3.0.0-beta.20240114.1", "json-serialize-refs": "0.1.0-0", "winston": "^3.8.2" }, diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 5297fbb75fe29..e2139bc5d7529 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,14 +1,14 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240112.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240114.1" }, "devDependencies": { - "@azure-tools/typespec-azure-core": "0.37.0", + "@typespec/compiler": "0.51.0", "@typespec/rest": "0.51.0", - "@typespec/versioning": "0.51.0", "@typespec/http": "0.51.0", + "@typespec/versioning": "0.51.0", "@azure-tools/typespec-client-generator-core": "0.37.0", - "@typespec/compiler": "0.51.0" + "@azure-tools/typespec-azure-core": "0.37.0" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Generated/Configuration.json b/sdk/communication/Azure.Communication.JobRouter/src/Generated/Configuration.json deleted file mode 100644 index 48a4b91d70593..0000000000000 --- a/sdk/communication/Azure.Communication.JobRouter/src/Generated/Configuration.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "output-folder": ".", - "namespace": "Azure.Communication.JobRouter", - "library-name": "Azure.Communication.JobRouter", - "shared-source-folders": [ - "../../TempTypeSpecFiles/Communication.JobRouter/node_modules/@autorest/csharp/Generator.Shared", - "../../TempTypeSpecFiles/Communication.JobRouter/node_modules/@autorest/csharp/Azure.Core.Shared" - ], - "model-namespace": false -} diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Generated/tspCodeModel.json b/sdk/communication/Azure.Communication.JobRouter/src/Generated/tspCodeModel.json deleted file mode 100644 index ec254b704bcf9..0000000000000 --- a/sdk/communication/Azure.Communication.JobRouter/src/Generated/tspCodeModel.json +++ /dev/null @@ -1,9477 +0,0 @@ -{ - "$id": "1", - "Name": "AzureCommunicationRoutingService", - "Description": "Azure Communication Routing Service", - "ApiVersions": [ - "2023-11-01" - ], - "Enums": [ - { - "$id": "2", - "Name": "DistributionModeKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "3", - "Name": "bestWorker", - "Value": "bestWorker", - "Description": "Discriminator value for BestWorkerMode." - }, - { - "$id": "4", - "Name": "longestIdle", - "Value": "longestIdle", - "Description": "Discriminator value for LongestIdleMode." - }, - { - "$id": "5", - "Name": "roundRobin", - "Value": "roundRobin", - "Description": "Discriminator value for RoundRobinMode." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported distribution mode types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "6", - "Name": "QueueSelectorAttachmentKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "7", - "Name": "conditional", - "Value": "conditional", - "Description": "Discriminator value for ConditionalQueueSelectorAttachment." - }, - { - "$id": "8", - "Name": "passThrough", - "Value": "passThrough", - "Description": "Discriminator value for PassThroughQueueSelectorAttachment." - }, - { - "$id": "9", - "Name": "ruleEngine", - "Value": "ruleEngine", - "Description": "Discriminator value for RuleEngineQueueSelectorAttachment." - }, - { - "$id": "10", - "Name": "static", - "Value": "static", - "Description": "Discriminator value for StaticQueueSelectorAttachment." - }, - { - "$id": "11", - "Name": "weightedAllocation", - "Value": "weightedAllocation", - "Description": "Discriminator value for WeightedAllocationQueueSelectorAttachment." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported queue selector attachment types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "12", - "Name": "RouterRuleKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "13", - "Name": "directMap", - "Value": "directMap", - "Description": "Discriminator value for DirectMapRouterRule." - }, - { - "$id": "14", - "Name": "expression", - "Value": "expression", - "Description": "Discriminator value for ExpressionRouterRule." - }, - { - "$id": "15", - "Name": "function", - "Value": "function", - "Description": "Discriminator value for FunctionRouterRule." - }, - { - "$id": "16", - "Name": "static", - "Value": "static", - "Description": "Discriminator value for StaticRouterRule." - }, - { - "$id": "17", - "Name": "webhook", - "Value": "webhook", - "Description": "Discriminator value for WebhookRouterRule." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported router rule types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "18", - "Name": "WorkerSelectorAttachmentKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "19", - "Name": "conditional", - "Value": "conditional", - "Description": "Discriminator value for ConditionalWorkerSelectorAttachment." - }, - { - "$id": "20", - "Name": "passThrough", - "Value": "passThrough", - "Description": "Discriminator value for PassThroughWorkerSelectorAttachment." - }, - { - "$id": "21", - "Name": "ruleEngine", - "Value": "ruleEngine", - "Description": "Discriminator value for RuleEngineWorkerSelectorAttachment." - }, - { - "$id": "22", - "Name": "static", - "Value": "static", - "Description": "Discriminator value for StaticWorkerSelectorAttachment." - }, - { - "$id": "23", - "Name": "weightedAllocation", - "Value": "weightedAllocation", - "Description": "Discriminator value for WeightedAllocationWorkerSelectorAttachment." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported worker selector attachment types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "24", - "Name": "ExceptionTriggerKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "25", - "Name": "queueLength", - "Value": "queueLength", - "Description": "Discriminator value for QueueLengthExceptionTrigger." - }, - { - "$id": "26", - "Name": "waitTime", - "Value": "waitTime", - "Description": "Discriminator value for WaitTimeExceptionTrigger." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported exception trigger types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "27", - "Name": "ExceptionActionKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "28", - "Name": "cancel", - "Value": "cancel", - "Description": "Discriminator value for CancelExceptionAction." - }, - { - "$id": "29", - "Name": "manualReclassify", - "Value": "manualReclassify", - "Description": "Discriminator value for ManualReclassifyExceptionAction." - }, - { - "$id": "30", - "Name": "reclassify", - "Value": "reclassify", - "Description": "Discriminator value for ReclassifyExceptionAction." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported exception action types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "31", - "Name": "RouterJobStatus", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "32", - "Name": "pendingClassification", - "Value": "pendingClassification", - "Description": "Job is waiting to be classified." - }, - { - "$id": "33", - "Name": "queued", - "Value": "queued", - "Description": "Job has been queued." - }, - { - "$id": "34", - "Name": "assigned", - "Value": "assigned", - "Description": "Job has been assigned to a worker." - }, - { - "$id": "35", - "Name": "completed", - "Value": "completed", - "Description": "Job has been completed by a worker." - }, - { - "$id": "36", - "Name": "closed", - "Value": "closed", - "Description": "Job has been closed by a worker." - }, - { - "$id": "37", - "Name": "cancelled", - "Value": "cancelled", - "Description": "Job has been cancelled." - }, - { - "$id": "38", - "Name": "classificationFailed", - "Value": "classificationFailed", - "Description": "Classification process failed for the job." - }, - { - "$id": "39", - "Name": "created", - "Value": "created", - "Description": "Job has been created." - }, - { - "$id": "40", - "Name": "pendingSchedule", - "Value": "pendingSchedule", - "Description": "Job has been created but not been scheduled yet." - }, - { - "$id": "41", - "Name": "scheduled", - "Value": "scheduled", - "Description": "Job has been scheduled successfully." - }, - { - "$id": "42", - "Name": "scheduleFailed", - "Value": "scheduleFailed", - "Description": "Job scheduling failed." - }, - { - "$id": "43", - "Name": "waitingForActivation", - "Value": "waitingForActivation", - "Description": "Job is in a suspended state and waiting for an update." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes the various status of a job.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "44", - "Name": "LabelOperator", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "45", - "Name": "equal", - "Value": "equal", - "Description": "Equal." - }, - { - "$id": "46", - "Name": "notEqual", - "Value": "notEqual", - "Description": "Not Equal." - }, - { - "$id": "47", - "Name": "lessThan", - "Value": "lessThan", - "Description": "Less than." - }, - { - "$id": "48", - "Name": "lessThanOrEqual", - "Value": "lessThanOrEqual", - "Description": "Less than or equal." - }, - { - "$id": "49", - "Name": "greaterThan", - "Value": "greaterThan", - "Description": "Greater than." - }, - { - "$id": "50", - "Name": "greaterThanOrEqual", - "Value": "greaterThanOrEqual", - "Description": "Greater than or equal." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes supported operations on label values.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "51", - "Name": "RouterWorkerSelectorStatus", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "52", - "Name": "active", - "Value": "active", - "Description": "Worker selector is valid." - }, - { - "$id": "53", - "Name": "expired", - "Value": "expired", - "Description": "Worker selector is not valid." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes the status of a worker selector.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "54", - "Name": "JobMatchingModeKind", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "55", - "Name": "queueAndMatch", - "Value": "queueAndMatch", - "Description": "Discriminator value for QueueAndMatchMode." - }, - { - "$id": "56", - "Name": "scheduleAndSuspend", - "Value": "scheduleAndSuspend", - "Description": "Discriminator value for ScheduleAndSuspendMode." - }, - { - "$id": "57", - "Name": "suspend", - "Value": "suspend", - "Description": "Discriminator value for SuspendMode." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Discriminators for supported matching mode types.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "58", - "Name": "RouterJobStatusSelector", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "59", - "Name": "all", - "Value": "all", - "Description": "Default" - }, - { - "$id": "60", - "Name": "pendingClassification", - "Value": "pendingClassification", - "Description": "Job is waiting to be classified." - }, - { - "$id": "61", - "Name": "queued", - "Value": "queued", - "Description": "Job has been queued." - }, - { - "$id": "62", - "Name": "assigned", - "Value": "assigned", - "Description": "Job has been assigned to a worker." - }, - { - "$id": "63", - "Name": "completed", - "Value": "completed", - "Description": "Job has been completed by a worker." - }, - { - "$id": "64", - "Name": "closed", - "Value": "closed", - "Description": "Job has been closed by a worker." - }, - { - "$id": "65", - "Name": "cancelled", - "Value": "cancelled", - "Description": "Job has been cancelled." - }, - { - "$id": "66", - "Name": "classificationFailed", - "Value": "classificationFailed", - "Description": "Classification process failed for the job." - }, - { - "$id": "67", - "Name": "created", - "Value": "created", - "Description": "Job has been created." - }, - { - "$id": "68", - "Name": "pendingSchedule", - "Value": "pendingSchedule", - "Description": "Job has been created but not been scheduled yet." - }, - { - "$id": "69", - "Name": "scheduled", - "Value": "scheduled", - "Description": "Job has been scheduled successfully." - }, - { - "$id": "70", - "Name": "scheduleFailed", - "Value": "scheduleFailed", - "Description": "Job scheduling failed." - }, - { - "$id": "71", - "Name": "waitingForActivation", - "Value": "waitingForActivation", - "Description": "Job is in a suspended state and waiting for an update." - }, - { - "$id": "72", - "Name": "active", - "Value": "active", - "Description": "Job is in a state of PendingClassification or Queued or Assigned or ClassificationFailed or Completed or PendingSchedule or Scheduled or ScheduleFailed or WaitingForActivation." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Enums used to filters jobs by status.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Input" - }, - { - "$id": "73", - "Name": "RouterWorkerState", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "74", - "Name": "active", - "Value": "active", - "Description": "Worker is active and available to take offers." - }, - { - "$id": "75", - "Name": "draining", - "Value": "draining", - "Description": "Worker is not active, if there are existing offers they are being revoked. No new offers are sent." - }, - { - "$id": "76", - "Name": "inactive", - "Value": "inactive", - "Description": "Worker is not active. No new offers are sent." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Enums for worker states.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "77", - "Name": "RouterWorkerStateSelector", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "78", - "Name": "active", - "Value": "active", - "Description": "Worker is active and available to take offers." - }, - { - "$id": "79", - "Name": "draining", - "Value": "draining", - "Description": "Worker is not active, if there are existing offers they are being revoked. No new offers are sent." - }, - { - "$id": "80", - "Name": "inactive", - "Value": "inactive", - "Description": "Worker is not active. No new offers are sent." - }, - { - "$id": "81", - "Name": "all", - "Value": "all", - "Description": "Worker is active or draining or inactive." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Enums used to filters workers by state", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Input" - }, - { - "$id": "82", - "Name": "ScoringRuleParameterSelector", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "83", - "Name": "jobLabels", - "Value": "jobLabels", - "Description": "Parameter to add job labels to scoring payload. Property is sent as `job`." - }, - { - "$id": "84", - "Name": "workerSelectors", - "Value": "workerSelectors", - "Description": "Parameter to add worker selectors from a job to scoring payload. Property is sent as `selectors`." - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Supported parameters for scoring workers used with BestWorkerMode.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "85", - "Name": "ExpressionRouterRuleLanguage", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "86", - "Name": "powerFx", - "Value": "powerFx", - "Description": "PowerFx" - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "Available expression languages that can be configured.", - "IsExtensible": true, - "IsNullable": false, - "Usage": "Output" - }, - { - "$id": "87", - "Name": "Versions", - "EnumValueType": "String", - "AllowedValues": [ - { - "$id": "88", - "Name": "c2023_11_01", - "Value": "2023-11-01", - "Description": "JobRouter 2023-11-01 api version" - } - ], - "Namespace": "AzureCommunicationRoutingService", - "Description": "JobRouter Versions", - "IsExtensible": true, - "IsNullable": false, - "Usage": "None" - } - ], - "Models": [ - { - "$id": "89", - "Name": "DistributionPolicy", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Policy governing how jobs are distributed to workers", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "90", - "Name": "etag", - "SerializedName": "etag", - "Description": "The entity tag for this resource.", - "Type": { - "$id": "91", - "Name": "eTag", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "92", - "Name": "id", - "SerializedName": "id", - "Description": "Id of a distribution policy.", - "Type": { - "$id": "93", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "94", - "Name": "name", - "SerializedName": "name", - "Description": "Friendly name of this policy.", - "Type": { - "$id": "95", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "96", - "Name": "offerExpiresAfterSeconds", - "SerializedName": "offerExpiresAfterSeconds", - "Description": "Number of seconds after which any offers created under this policy will be expired.", - "Type": { - "$id": "97", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "98", - "Name": "mode", - "SerializedName": "mode", - "Description": "Mode governing the specific distribution method.", - "Type": { - "$id": "99", - "Name": "DistributionMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Abstract base class for defining a distribution mode.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "100", - "Name": "minConcurrentOffers", - "SerializedName": "minConcurrentOffers", - "Description": "Governs the minimum desired number of active concurrent offers a job can have.", - "Type": { - "$id": "101", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "102", - "Name": "maxConcurrentOffers", - "SerializedName": "maxConcurrentOffers", - "Description": "Governs the maximum number of active concurrent offers a job can have.", - "Type": { - "$id": "103", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "104", - "Name": "bypassSelectors", - "SerializedName": "bypassSelectors", - "Description": "If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for a job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false.", - "Type": { - "$id": "105", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "106", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of DistributionMode.", - "Type": { - "$ref": "2" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "99" - }, - { - "$id": "107", - "Name": "PagedDistributionPolicy", - "Namespace": "Azure.Core.Foundations", - "Description": "Paged collection of DistributionPolicy items", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "108", - "Name": "value", - "SerializedName": "value", - "Description": "The DistributionPolicy items on this page", - "Type": { - "$id": "109", - "Name": "Array", - "ElementType": { - "$ref": "89" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "110", - "Name": "nextLink", - "SerializedName": "nextLink", - "Description": "The link to the next page of items", - "Type": { - "$id": "111", - "Name": "ResourceLocation", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "112", - "Name": "ClassificationPolicy", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A container for the rules that govern how jobs are classified.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "113", - "Name": "etag", - "SerializedName": "etag", - "Description": "The entity tag for this resource.", - "Type": { - "$id": "114", - "Name": "eTag", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "115", - "Name": "id", - "SerializedName": "id", - "Description": "Id of a classification policy.", - "Type": { - "$id": "116", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "117", - "Name": "name", - "SerializedName": "name", - "Description": "Friendly name of this policy.", - "Type": { - "$id": "118", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "119", - "Name": "fallbackQueueId", - "SerializedName": "fallbackQueueId", - "Description": "Id of a fallback queue to select if queue selector attachments doesn't find a match.", - "Type": { - "$id": "120", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "121", - "Name": "queueSelectorAttachments", - "SerializedName": "queueSelectorAttachments", - "Description": "Queue selector attachments used to resolve a queue for a job.", - "Type": { - "$id": "122", - "Name": "Array", - "ElementType": { - "$id": "123", - "Name": "QueueSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An attachment of queue selectors to resolve a queue to a job from a classification policy.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "124", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of QueueSelectorAttachment.", - "Type": { - "$ref": "6" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "125", - "Name": "prioritizationRule", - "SerializedName": "prioritizationRule", - "Description": "A rule to determine a priority score for a job.", - "Type": { - "$id": "126", - "Name": "RouterRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule of one of the following types:\nStaticRule: A rule providing static rules that always return the same result, regardless of input.\nDirectMapRule: A rule that return the same labels as the input labels.\nExpressionRule: A rule providing inline expression rules.\nFunctionRule: A rule providing a binding to an HTTP Triggered Azure Function.\nWebhookRule: A rule providing a binding to a webserver following OAuth2.0 authentication protocol.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "127", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of RouterRule", - "Type": { - "$ref": "12" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "128", - "Name": "workerSelectorAttachments", - "SerializedName": "workerSelectorAttachments", - "Description": "Worker selector attachments used to attach worker selectors to a job.", - "Type": { - "$id": "129", - "Name": "Array", - "ElementType": { - "$id": "130", - "Name": "WorkerSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An attachment which attaches worker selectors to a job.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "131", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of WorkerSelectorAttachment.", - "Type": { - "$ref": "18" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "123" - }, - { - "$ref": "126" - }, - { - "$ref": "130" - }, - { - "$id": "132", - "Name": "PagedClassificationPolicy", - "Namespace": "Azure.Core.Foundations", - "Description": "Paged collection of ClassificationPolicy items", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "133", - "Name": "value", - "SerializedName": "value", - "Description": "The ClassificationPolicy items on this page", - "Type": { - "$id": "134", - "Name": "Array", - "ElementType": { - "$ref": "112" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "135", - "Name": "nextLink", - "SerializedName": "nextLink", - "Description": "The link to the next page of items", - "Type": { - "$id": "136", - "Name": "ResourceLocation", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "137", - "Name": "ExceptionPolicy", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A policy that defines actions to execute when exception are triggered.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "138", - "Name": "etag", - "SerializedName": "etag", - "Description": "The entity tag for this resource.", - "Type": { - "$id": "139", - "Name": "eTag", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "140", - "Name": "id", - "SerializedName": "id", - "Description": "Id of an exception policy.", - "Type": { - "$id": "141", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "142", - "Name": "name", - "SerializedName": "name", - "Description": "Friendly name of this policy.", - "Type": { - "$id": "143", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "144", - "Name": "exceptionRules", - "SerializedName": "exceptionRules", - "Description": "A collection of exception rules on the exception policy.", - "Type": { - "$id": "145", - "Name": "Array", - "ElementType": { - "$id": "146", - "Name": "ExceptionRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule that defines actions to execute upon a specific trigger.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "147", - "Name": "id", - "SerializedName": "id", - "Description": "Id of an exception rule.", - "Type": { - "$id": "148", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "149", - "Name": "trigger", - "SerializedName": "trigger", - "Description": "The trigger for this exception rule.", - "Type": { - "$id": "150", - "Name": "ExceptionTrigger", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Abstract base class for defining a trigger for exception rules.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "151", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of ExceptionTrigger.", - "Type": { - "$ref": "24" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "152", - "Name": "actions", - "SerializedName": "actions", - "Description": "A collection of actions to perform once the exception is triggered.", - "Type": { - "$id": "153", - "Name": "Array", - "ElementType": { - "$id": "154", - "Name": "ExceptionAction", - "Namespace": "AzureCommunicationRoutingService", - "Description": "The action to take when the exception is triggered.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "155", - "Name": "id", - "SerializedName": "id", - "Description": "Unique Id of the exception action.", - "Type": { - "$id": "156", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "157", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of ExceptionAction.", - "Type": { - "$ref": "27" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "146" - }, - { - "$ref": "150" - }, - { - "$ref": "154" - }, - { - "$id": "158", - "Name": "PagedExceptionPolicy", - "Namespace": "Azure.Core.Foundations", - "Description": "Paged collection of ExceptionPolicy items", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "159", - "Name": "value", - "SerializedName": "value", - "Description": "The ExceptionPolicy items on this page", - "Type": { - "$id": "160", - "Name": "Array", - "ElementType": { - "$ref": "137" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "161", - "Name": "nextLink", - "SerializedName": "nextLink", - "Description": "The link to the next page of items", - "Type": { - "$id": "162", - "Name": "ResourceLocation", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "163", - "Name": "RouterQueue", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A queue that can contain jobs to be routed.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "164", - "Name": "etag", - "SerializedName": "etag", - "Description": "The entity tag for this resource.", - "Type": { - "$id": "165", - "Name": "eTag", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "166", - "Name": "id", - "SerializedName": "id", - "Description": "Id of a queue.", - "Type": { - "$id": "167", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "168", - "Name": "name", - "SerializedName": "name", - "Description": "Friendly name of this queue.", - "Type": { - "$id": "169", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "170", - "Name": "distributionPolicyId", - "SerializedName": "distributionPolicyId", - "Description": "Id of a distribution policy that will determine how a job is distributed to workers.", - "Type": { - "$id": "171", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "172", - "Name": "labels", - "SerializedName": "labels", - "Description": "A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "173", - "Name": "Dictionary", - "KeyType": { - "$id": "174", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "175", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "176", - "Name": "exceptionPolicyId", - "SerializedName": "exceptionPolicyId", - "Description": "Id of an exception policy that determines various job escalation rules.", - "Type": { - "$id": "177", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "178", - "Name": "PagedRouterQueue", - "Namespace": "Azure.Core.Foundations", - "Description": "Paged collection of RouterQueue items", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "179", - "Name": "value", - "SerializedName": "value", - "Description": "The RouterQueue items on this page", - "Type": { - "$id": "180", - "Name": "Array", - "ElementType": { - "$ref": "163" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "181", - "Name": "nextLink", - "SerializedName": "nextLink", - "Description": "The link to the next page of items", - "Type": { - "$id": "182", - "Name": "ResourceLocation", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "183", - "Name": "RouterJob", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A unit of work to be routed", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "184", - "Name": "etag", - "SerializedName": "etag", - "Description": "The entity tag for this resource.", - "Type": { - "$id": "185", - "Name": "eTag", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "186", - "Name": "id", - "SerializedName": "id", - "Description": "Id of a job.", - "Type": { - "$id": "187", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "188", - "Name": "channelReference", - "SerializedName": "channelReference", - "Description": "Reference to an external parent context, eg. call ID.", - "Type": { - "$id": "189", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "190", - "Name": "status", - "SerializedName": "status", - "Description": "The status of the job.", - "Type": { - "$ref": "31" - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "191", - "Name": "enqueuedAt", - "SerializedName": "enqueuedAt", - "Description": "Timestamp a job was queued in UTC.", - "Type": { - "$id": "192", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "193", - "Name": "channelId", - "SerializedName": "channelId", - "Description": "The channel identifier. eg. voice, chat, etc.", - "Type": { - "$id": "194", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "195", - "Name": "classificationPolicyId", - "SerializedName": "classificationPolicyId", - "Description": "Id of a classification policy used for classifying this job.", - "Type": { - "$id": "196", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "197", - "Name": "queueId", - "SerializedName": "queueId", - "Description": "Id of a queue that this job is queued to.", - "Type": { - "$id": "198", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "199", - "Name": "priority", - "SerializedName": "priority", - "Description": "Priority of this job.", - "Type": { - "$id": "200", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "201", - "Name": "dispositionCode", - "SerializedName": "dispositionCode", - "Description": "Reason code for cancelled or closed jobs.", - "Type": { - "$id": "202", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "203", - "Name": "requestedWorkerSelectors", - "SerializedName": "requestedWorkerSelectors", - "Description": "A collection of manually specified worker selectors, which a worker must satisfy in order to process this job.", - "Type": { - "$id": "204", - "Name": "Array", - "ElementType": { - "$id": "205", - "Name": "RouterWorkerSelector", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a condition that must be met against a set of labels for worker selection.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "206", - "Name": "key", - "SerializedName": "key", - "Description": "The label key to query against.", - "Type": { - "$id": "207", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "208", - "Name": "labelOperator", - "SerializedName": "labelOperator", - "Description": "Describes how the value of the label is compared to the value defined on the worker selector.", - "Type": { - "$ref": "44" - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "209", - "Name": "value", - "SerializedName": "value", - "Description": "The value to compare against the actual label value with the given operator. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "210", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "211", - "Name": "expiresAfterSeconds", - "SerializedName": "expiresAfterSeconds", - "Description": "Describes how long this label selector is valid in seconds.", - "Type": { - "$id": "212", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "213", - "Name": "expedite", - "SerializedName": "expedite", - "Description": "Pushes a job to the front of the queue as long as this selector is active.", - "Type": { - "$id": "214", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "215", - "Name": "status", - "SerializedName": "status", - "Description": "Status of the worker selector.", - "Type": { - "$ref": "51" - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "216", - "Name": "expiresAt", - "SerializedName": "expiresAt", - "Description": "The time at which this worker selector expires in UTC.", - "Type": { - "$id": "217", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "218", - "Name": "attachedWorkerSelectors", - "SerializedName": "attachedWorkerSelectors", - "Description": "A collection of worker selectors attached by a classification policy, which a worker must satisfy in order to process this job.", - "Type": { - "$id": "219", - "Name": "Array", - "ElementType": { - "$ref": "205" - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "220", - "Name": "labels", - "SerializedName": "labels", - "Description": "A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "221", - "Name": "Dictionary", - "KeyType": { - "$id": "222", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "223", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "224", - "Name": "assignments", - "SerializedName": "assignments", - "Description": "A collection of the assignments of the job. Key is AssignmentId.", - "Type": { - "$id": "225", - "Name": "Dictionary", - "KeyType": { - "$id": "226", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "227", - "Name": "RouterJobAssignment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Assignment details of a job to a worker.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "228", - "Name": "assignmentId", - "SerializedName": "assignmentId", - "Description": "Id of a job assignment.", - "Type": { - "$id": "229", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "230", - "Name": "workerId", - "SerializedName": "workerId", - "Description": "Id of the Worker assigned to the job.", - "Type": { - "$id": "231", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "232", - "Name": "assignedAt", - "SerializedName": "assignedAt", - "Description": "Timestamp when the job was assigned to a worker in UTC.", - "Type": { - "$id": "233", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "234", - "Name": "completedAt", - "SerializedName": "completedAt", - "Description": "Timestamp when the job was marked as completed after being assigned in UTC.", - "Type": { - "$id": "235", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "236", - "Name": "closedAt", - "SerializedName": "closedAt", - "Description": "Timestamp when the job was marked as closed after being completed in UTC.", - "Type": { - "$id": "237", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "238", - "Name": "tags", - "SerializedName": "tags", - "Description": "A set of non-identifying attributes attached to this job. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "239", - "Name": "Dictionary", - "KeyType": { - "$id": "240", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "241", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "242", - "Name": "notes", - "SerializedName": "notes", - "Description": "Notes attached to a job, sorted by timestamp.", - "Type": { - "$id": "243", - "Name": "Array", - "ElementType": { - "$id": "244", - "Name": "RouterJobNote", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A note attached to a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "245", - "Name": "message", - "SerializedName": "message", - "Description": "The message contained in the note.", - "Type": { - "$id": "246", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "247", - "Name": "addedAt", - "SerializedName": "addedAt", - "Description": "The time at which the note was added in UTC. If not provided, will default to the current time.", - "Type": { - "$id": "248", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "249", - "Name": "scheduledAt", - "SerializedName": "scheduledAt", - "Description": "If set, job will be scheduled to be enqueued at a given time.", - "Type": { - "$id": "250", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "251", - "Name": "matchingMode", - "SerializedName": "matchingMode", - "Description": "If provided, will determine how job matching will be carried out. Default mode: QueueAndMatchMode.", - "Type": { - "$id": "252", - "Name": "JobMatchingMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A matching mode of one of the following types:\nQueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued.\nScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically.\nSuspendMode: Used when matching workers to a job needs to be suspended.", - "IsNullable": false, - "DiscriminatorPropertyName": "kind", - "Usage": "Output", - "Properties": [ - { - "$id": "253", - "Name": "kind", - "SerializedName": "kind", - "Description": "The type discriminator describing a sub-type of JobMatchingMode.", - "Type": { - "$ref": "54" - }, - "IsRequired": true, - "IsReadOnly": false, - "IsDiscriminator": true - } - ] - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "205" - }, - { - "$ref": "227" - }, - { - "$ref": "244" - }, - { - "$ref": "252" - }, - { - "$id": "254", - "Name": "ReclassifyJobOptions", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Request payload for reclassifying jobs.", - "IsNullable": false, - "Usage": "Input", - "Properties": [] - }, - { - "$id": "255", - "Name": "ReclassifyJobResult", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Response payload from reclassifying a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [] - }, - { - "$id": "256", - "Name": "CancelJobOptions", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Request payload for cancelling a job.", - "IsNullable": false, - "Usage": "Input", - "Properties": [ - { - "$id": "257", - "Name": "note", - "SerializedName": "note", - "Description": "A note that will be appended to a job's Notes collection with the current timestamp.", - "Type": { - "$id": "258", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "259", - "Name": "dispositionCode", - "SerializedName": "dispositionCode", - "Description": "Indicates the outcome of a job, populate this field with your own custom values. If not provided, default value of \"Cancelled\" is set.", - "Type": { - "$id": "260", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "261", - "Name": "CancelJobResult", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Response payload from cancelling a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [] - }, - { - "$id": "262", - "Name": "CompleteJobOptions", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Request payload for completing jobs.", - "IsNullable": false, - "Usage": "Input", - "Properties": [ - { - "$id": "263", - "Name": "note", - "SerializedName": "note", - "Description": "A note that will be appended to a job's Notes collection with the current timestamp.", - "Type": { - "$id": "264", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "265", - "Name": "CompleteJobResult", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Response payload from completing a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [] - }, - { - "$id": "266", - "Name": "CloseJobOptions", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Request payload for closing jobs", - "IsNullable": false, - "Usage": "Input", - "Properties": [ - { - "$id": "267", - "Name": "dispositionCode", - "SerializedName": "dispositionCode", - "Description": "Indicates the outcome of a job, populate this field with your own custom values.", - "Type": { - "$id": "268", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "269", - "Name": "closeAt", - "SerializedName": "closeAt", - "Description": "If not provided, worker capacity is released immediately along with a JobClosedEvent notification. If provided, worker capacity is released along with a JobClosedEvent notification at a future time in UTC.", - "Type": { - "$id": "270", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "271", - "Name": "note", - "SerializedName": "note", - "Description": "A note that will be appended to a job's Notes collection with the current timestamp.", - "Type": { - "$id": "272", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "273", - "Name": "CloseJobResult", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Response payload from closing a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [] - }, - { - "$id": "274", - "Name": "PagedRouterJob", - "Namespace": "Azure.Core.Foundations", - "Description": "Paged collection of RouterJob items", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "275", - "Name": "value", - "SerializedName": "value", - "Description": "The RouterJob items on this page", - "Type": { - "$id": "276", - "Name": "Array", - "ElementType": { - "$ref": "183" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "277", - "Name": "nextLink", - "SerializedName": "nextLink", - "Description": "The link to the next page of items", - "Type": { - "$id": "278", - "Name": "ResourceLocation", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "279", - "Name": "RouterJobPositionDetails", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Position and estimated wait time for a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "280", - "Name": "jobId", - "SerializedName": "jobId", - "Description": "Id of the job these details are about.", - "Type": { - "$id": "281", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "282", - "Name": "position", - "SerializedName": "position", - "Description": "Position of the job in question within that queue.", - "Type": { - "$id": "283", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "284", - "Name": "queueId", - "SerializedName": "queueId", - "Description": "Id of the queue this job is enqueued in.", - "Type": { - "$id": "285", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "286", - "Name": "queueLength", - "SerializedName": "queueLength", - "Description": "Length of the queue: total number of enqueued jobs.", - "Type": { - "$id": "287", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "288", - "Name": "estimatedWaitTimeMinutes", - "SerializedName": "estimatedWaitTimeMinutes", - "Description": "Estimated wait time of the job rounded up to the nearest minute.", - "Type": { - "$id": "289", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "290", - "Name": "UnassignJobOptions", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Request payload for unassigning a job.", - "IsNullable": false, - "Usage": "Input", - "Properties": [ - { - "$id": "291", - "Name": "suspendMatching", - "SerializedName": "suspendMatching", - "Description": "If SuspendMatching is true, then a job is not queued for re-matching with a worker.", - "Type": { - "$id": "292", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "293", - "Name": "UnassignJobResult", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Response payload after a job has been successfully unassigned.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "294", - "Name": "jobId", - "SerializedName": "jobId", - "Description": "Id of an unassigned job.", - "Type": { - "$id": "295", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "296", - "Name": "unassignmentCount", - "SerializedName": "unassignmentCount", - "Description": "The number of times a job is unassigned. At a maximum 3.", - "Type": { - "$id": "297", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "298", - "Name": "AcceptJobOfferResult", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Response containing ids for the worker, job, and assignment from an accepted offer.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "299", - "Name": "assignmentId", - "SerializedName": "assignmentId", - "Description": "Id of job assignment that assigns a worker that has accepted an offer to a job.", - "Type": { - "$id": "300", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "301", - "Name": "jobId", - "SerializedName": "jobId", - "Description": "Id of the job assigned.", - "Type": { - "$id": "302", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "303", - "Name": "workerId", - "SerializedName": "workerId", - "Description": "Id of the worker that has been assigned this job.", - "Type": { - "$id": "304", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "305", - "Name": "DeclineJobOfferOptions", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Request payload for declining offers.", - "IsNullable": false, - "Usage": "Input", - "Properties": [ - { - "$id": "306", - "Name": "retryOfferAt", - "SerializedName": "retryOfferAt", - "Description": "If the RetryOfferAt is not provided, then this job will not be offered again to the worker who declined this job unless the worker is de-registered and re-registered. If a RetryOfferAt time is provided, then the job will be re-matched to eligible workers at the retry time in UTC. The worker that declined the job will also be eligible for the job at that time.", - "Type": { - "$id": "307", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "308", - "Name": "DeclineJobOfferResult", - "Namespace": "AzureCommunicationRoutingService", - "Accessibility": "internal", - "Description": "Response payload from declining a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [] - }, - { - "$id": "309", - "Name": "RouterQueueStatistics", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Statistics for the queue.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "310", - "Name": "queueId", - "SerializedName": "queueId", - "Description": "Id of the queue these details are about.", - "Type": { - "$id": "311", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "312", - "Name": "length", - "SerializedName": "length", - "Description": "Length of the queue: total number of enqueued jobs.", - "Type": { - "$id": "313", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "314", - "Name": "estimatedWaitTimeMinutes", - "SerializedName": "estimatedWaitTimeMinutes", - "Description": "The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority.", - "Type": { - "$id": "315", - "Name": "Dictionary", - "KeyType": { - "$id": "316", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "317", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "318", - "Name": "longestJobWaitTimeMinutes", - "SerializedName": "longestJobWaitTimeMinutes", - "Description": "The wait time of the job that has been enqueued in this queue for the longest.", - "Type": { - "$id": "319", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "320", - "Name": "RouterWorker", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An entity for jobs to be routed to.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "321", - "Name": "etag", - "SerializedName": "etag", - "Description": "The entity tag for this resource.", - "Type": { - "$id": "322", - "Name": "eTag", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "323", - "Name": "id", - "SerializedName": "id", - "Description": "Id of a worker.", - "Type": { - "$id": "324", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "325", - "Name": "state", - "SerializedName": "state", - "Description": "Current state of a worker.", - "Type": { - "$ref": "73" - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "326", - "Name": "queues", - "SerializedName": "queues", - "Description": "Collection of queue(s) that this worker can receive work from.", - "Type": { - "$id": "327", - "Name": "Array", - "ElementType": { - "$id": "328", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "329", - "Name": "capacity", - "SerializedName": "capacity", - "Description": "The total capacity score this worker has to manage multiple concurrent jobs.", - "Type": { - "$id": "330", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "331", - "Name": "labels", - "SerializedName": "labels", - "Description": "A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "332", - "Name": "Dictionary", - "KeyType": { - "$id": "333", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "334", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "335", - "Name": "tags", - "SerializedName": "tags", - "Description": "A set of non-identifying attributes attached to this worker. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "336", - "Name": "Dictionary", - "KeyType": { - "$id": "337", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "338", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "339", - "Name": "channels", - "SerializedName": "channels", - "Description": "Collection of channel(s) this worker can handle and their impact on the workers capacity.", - "Type": { - "$id": "340", - "Name": "Array", - "ElementType": { - "$id": "341", - "Name": "RouterChannel", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Represents the capacity a job in this channel will consume from a worker.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "342", - "Name": "channelId", - "SerializedName": "channelId", - "Description": "Id of a channel.", - "Type": { - "$id": "343", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "344", - "Name": "capacityCostPerJob", - "SerializedName": "capacityCostPerJob", - "Description": "The amount of capacity that an instance of a job of this channel will consume of the total worker capacity.", - "Type": { - "$id": "345", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "346", - "Name": "maxNumberOfJobs", - "SerializedName": "maxNumberOfJobs", - "Description": "The maximum number of jobs that can be supported concurrently for this channel.", - "Type": { - "$id": "347", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "348", - "Name": "offers", - "SerializedName": "offers", - "Description": "A list of active offers issued to this worker.", - "Type": { - "$id": "349", - "Name": "Array", - "ElementType": { - "$id": "350", - "Name": "RouterJobOffer", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An offer of a job to a worker.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "351", - "Name": "offerId", - "SerializedName": "offerId", - "Description": "Id of an offer.", - "Type": { - "$id": "352", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": true - }, - { - "$id": "353", - "Name": "jobId", - "SerializedName": "jobId", - "Description": "Id of the job.", - "Type": { - "$id": "354", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "355", - "Name": "capacityCost", - "SerializedName": "capacityCost", - "Description": "The capacity cost consumed by the job offer.", - "Type": { - "$id": "356", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "357", - "Name": "offeredAt", - "SerializedName": "offeredAt", - "Description": "Timestamp when the offer was created in UTC.", - "Type": { - "$id": "358", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "359", - "Name": "expiresAt", - "SerializedName": "expiresAt", - "Description": "Timestamp when the offer will expire in UTC.", - "Type": { - "$id": "360", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "361", - "Name": "assignedJobs", - "SerializedName": "assignedJobs", - "Description": "A list of assigned jobs attached to this worker.", - "Type": { - "$id": "362", - "Name": "Array", - "ElementType": { - "$id": "363", - "Name": "RouterWorkerAssignment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "The assignment for a worker to a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "364", - "Name": "assignmentId", - "SerializedName": "assignmentId", - "Description": "Id of the assignment.", - "Type": { - "$id": "365", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "366", - "Name": "jobId", - "SerializedName": "jobId", - "Description": "Id of the job assigned.", - "Type": { - "$id": "367", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "368", - "Name": "capacityCost", - "SerializedName": "capacityCost", - "Description": "The amount of capacity this assignment has consumed on the worker.", - "Type": { - "$id": "369", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "370", - "Name": "assignedAt", - "SerializedName": "assignedAt", - "Description": "The assignment time of the job in UTC.", - "Type": { - "$id": "371", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "372", - "Name": "loadRatio", - "SerializedName": "loadRatio", - "Description": "A value indicating the workers capacity. A value of '1' means all capacity is consumed. A value of '0' means no capacity is currently consumed.", - "Type": { - "$id": "373", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": true - }, - { - "$id": "374", - "Name": "availableForOffers", - "SerializedName": "availableForOffers", - "Description": "A flag indicating this worker is open to receive offers or not.", - "Type": { - "$id": "375", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "341" - }, - { - "$ref": "350" - }, - { - "$ref": "363" - }, - { - "$id": "376", - "Name": "PagedRouterWorker", - "Namespace": "Azure.Core.Foundations", - "Description": "Paged collection of RouterWorker items", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "377", - "Name": "value", - "SerializedName": "value", - "Description": "The RouterWorker items on this page", - "Type": { - "$id": "378", - "Name": "Array", - "ElementType": { - "$ref": "320" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "379", - "Name": "nextLink", - "SerializedName": "nextLink", - "Description": "The link to the next page of items", - "Type": { - "$id": "380", - "Name": "ResourceLocation", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "381", - "Name": "RouterConditionalRequestHeaders", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Provides the 'If-*' headers to enable conditional (cached) responses for JobRouter.", - "IsNullable": false, - "Usage": "None", - "Properties": [] - }, - { - "$id": "382", - "Name": "LastModifiedResponseEnvelope", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Provides the 'Last-Modified' header to enable conditional (cached) requests", - "IsNullable": false, - "Usage": "None", - "Properties": [] - }, - { - "$id": "383", - "Name": "ReclassifyJobResultWithOkResponse", - "Namespace": "AzureCommunicationRoutingService", - "Description": "OK Response payload from reclassifying a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "384", - "Name": "body", - "SerializedName": "body", - "Description": "Response payload from reclassifying a job.", - "Type": { - "$ref": "255" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "385", - "Name": "CancelJobResultWithOkResponse", - "Namespace": "AzureCommunicationRoutingService", - "Description": "OK Response payload from cancelling a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "386", - "Name": "body", - "SerializedName": "body", - "Description": "Response after cancelling a job.", - "Type": { - "$ref": "261" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "387", - "Name": "CompleteJobResultWithOkResponse", - "Namespace": "AzureCommunicationRoutingService", - "Description": "OK Response payload from completing a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "388", - "Name": "body", - "SerializedName": "body", - "Description": "Response after completing a job.", - "Type": { - "$ref": "265" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "389", - "Name": "CloseJobResultWithOkResponse", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Response payload from closing a job synchronously.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "390", - "Name": "body", - "SerializedName": "body", - "Description": "Response after closing a job.", - "Type": { - "$ref": "273" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "391", - "Name": "DeclineJobOfferResultWithOkResponse", - "Namespace": "AzureCommunicationRoutingService", - "Description": "OK Response payload from declining a job.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "392", - "Name": "body", - "SerializedName": "body", - "Description": "Response payload from declining a job.", - "Type": { - "$ref": "308" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "393", - "Name": "ScheduleAndSuspendMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a matching mode used for scheduling jobs to be queued at a future time. At the specified time, matching worker to a job will not start automatically.", - "IsNullable": false, - "DiscriminatorValue": "scheduleAndSuspend", - "Usage": "Output", - "BaseModel": { - "$ref": "252" - }, - "Properties": [ - { - "$id": "394", - "Name": "scheduleAt", - "SerializedName": "scheduleAt", - "Description": "Requested schedule time.", - "Type": { - "$id": "395", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "396", - "Name": "QueueAndMatchMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a matching mode where matching worker to a job is automatically started after job is queued successfully.", - "IsNullable": false, - "DiscriminatorValue": "queueAndMatch", - "Usage": "Output", - "BaseModel": { - "$ref": "252" - }, - "Properties": [] - }, - { - "$id": "397", - "Name": "SuspendMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a matching mode where matching worker to a job is suspended.", - "IsNullable": false, - "DiscriminatorValue": "suspend", - "Usage": "Output", - "BaseModel": { - "$ref": "252" - }, - "Properties": [] - }, - { - "$id": "398", - "Name": "BestWorkerMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Jobs are distributed to the worker with the strongest abilities available.", - "IsNullable": false, - "DiscriminatorValue": "bestWorker", - "Usage": "Output", - "BaseModel": { - "$ref": "99" - }, - "Properties": [ - { - "$id": "399", - "Name": "scoringRule", - "SerializedName": "scoringRule", - "Description": "Define a scoring rule to use, when calculating a score to determine the best worker. If not set, will use a default scoring formula that uses the number of job labels that the worker labels match, as well as the number of label selectors the worker labels match and/or exceed using a logistic function (https://en.wikipedia.org/wiki/Logistic_function).", - "Type": { - "$ref": "126" - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "400", - "Name": "scoringRuleOptions", - "SerializedName": "scoringRuleOptions", - "Description": "Options to configure 'scoringRule'. If not set, default values are used.", - "Type": { - "$id": "401", - "Name": "ScoringRuleOptions", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Encapsulates all options that can be passed as parameters for scoring rule with BestWorkerMode.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "402", - "Name": "batchSize", - "SerializedName": "batchSize", - "Description": "Set batch size when 'isBatchScoringEnabled' is set to true. Defaults to 20 if not configured.", - "Type": { - "$id": "403", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "404", - "Name": "scoringParameters", - "SerializedName": "scoringParameters", - "Description": "List of extra parameters from a job that will be sent as part of the payload to scoring rule. If not set, a job's labels (sent in the payload as `job`) and a job's worker selectors (sent in the payload as `selectors`) are added to the payload of the scoring rule by default. Note: Worker labels are always sent with scoring payload.", - "Type": { - "$id": "405", - "Name": "Array", - "ElementType": { - "$ref": "82" - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "406", - "Name": "isBatchScoringEnabled", - "SerializedName": "isBatchScoringEnabled", - "Description": "If set to true, will score workers in batches, and the parameter name of the worker labels will be sent as `workers`. By default, set to false and the parameter name for the worker labels will be sent as `worker`. Note: If enabled, use 'batchSize' to set batch size.", - "Type": { - "$id": "407", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "408", - "Name": "descendingOrder", - "SerializedName": "descendingOrder", - "Description": "If false, will sort scores by ascending order. By default, set to true.", - "Type": { - "$id": "409", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "401" - }, - { - "$id": "410", - "Name": "CancelExceptionAction", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An action that marks a job as cancelled.", - "IsNullable": false, - "DiscriminatorValue": "cancel", - "Usage": "Output", - "BaseModel": { - "$ref": "154" - }, - "Properties": [ - { - "$id": "411", - "Name": "note", - "SerializedName": "note", - "Description": "A note that will be appended to a job's notes collection with the current timestamp.", - "Type": { - "$id": "412", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "413", - "Name": "dispositionCode", - "SerializedName": "dispositionCode", - "Description": "Indicates the outcome of a job, populate this field with your own custom values.", - "Type": { - "$id": "414", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "415", - "Name": "ConditionalQueueSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a set of queue selectors that will be attached if the given condition resolves to true.", - "IsNullable": false, - "DiscriminatorValue": "conditional", - "Usage": "Output", - "BaseModel": { - "$ref": "123" - }, - "Properties": [ - { - "$id": "416", - "Name": "condition", - "SerializedName": "condition", - "Description": "The condition that must be true for the queue selectors to be attached.", - "Type": { - "$ref": "126" - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "417", - "Name": "queueSelectors", - "SerializedName": "queueSelectors", - "Description": "The queue selectors to attach.", - "Type": { - "$id": "418", - "Name": "Array", - "ElementType": { - "$id": "419", - "Name": "RouterQueueSelector", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a condition that must be met against a set of labels for queue selection.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "420", - "Name": "key", - "SerializedName": "key", - "Description": "The label key to query against.", - "Type": { - "$id": "421", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "422", - "Name": "labelOperator", - "SerializedName": "labelOperator", - "Description": "Describes how the value of the label is compared to the value defined on the label selector.", - "Type": { - "$ref": "44" - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "423", - "Name": "value", - "SerializedName": "value", - "Description": "The value to compare against the actual label value with the given operator. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "424", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$ref": "419" - }, - { - "$id": "425", - "Name": "ConditionalWorkerSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a set of worker selectors that will be attached if the given condition resolves to true.", - "IsNullable": false, - "DiscriminatorValue": "conditional", - "Usage": "Output", - "BaseModel": { - "$ref": "130" - }, - "Properties": [ - { - "$id": "426", - "Name": "condition", - "SerializedName": "condition", - "Description": "The condition that must be true for the worker selectors to be attached.", - "Type": { - "$ref": "126" - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "427", - "Name": "workerSelectors", - "SerializedName": "workerSelectors", - "Description": "The worker selectors to attach.", - "Type": { - "$id": "428", - "Name": "Array", - "ElementType": { - "$ref": "205" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "429", - "Name": "DirectMapRouterRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule that return the same labels as the input labels.", - "IsNullable": false, - "DiscriminatorValue": "directMap", - "Usage": "Output", - "BaseModel": { - "$ref": "126" - }, - "Properties": [] - }, - { - "$id": "430", - "Name": "ExpressionRouterRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule providing inline expression rules.", - "IsNullable": false, - "DiscriminatorValue": "expression", - "Usage": "Output", - "BaseModel": { - "$ref": "126" - }, - "Properties": [ - { - "$id": "431", - "Name": "language", - "SerializedName": "language", - "Description": "The expression language to compile to and execute.", - "Type": { - "$ref": "85" - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "432", - "Name": "expression", - "SerializedName": "expression", - "Description": "An expression to evaluate. Should contain return statement with calculated values.", - "Type": { - "$id": "433", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "434", - "Name": "FunctionRouterRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule providing a binding to an HTTP Triggered Azure Function.", - "IsNullable": false, - "DiscriminatorValue": "function", - "Usage": "Output", - "BaseModel": { - "$ref": "126" - }, - "Properties": [ - { - "$id": "435", - "Name": "functionUri", - "SerializedName": "functionUri", - "Description": "URL for Azure Function.", - "Type": { - "$id": "436", - "Name": "url", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "437", - "Name": "credential", - "SerializedName": "credential", - "Description": "Credentials used to access Azure function rule.", - "Type": { - "$id": "438", - "Name": "FunctionRouterRuleCredential", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Credentials used to access Azure function rule.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "439", - "Name": "functionKey", - "SerializedName": "functionKey", - "Description": "Access key scoped to a particular function.", - "Type": { - "$id": "440", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "441", - "Name": "appKey", - "SerializedName": "appKey", - "Description": "Access key scoped to a Azure Function app. This key grants access to all functions under the app.", - "Type": { - "$id": "442", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "443", - "Name": "clientId", - "SerializedName": "clientId", - "Description": "Client id, when AppKey is provided In context of Azure function, this is usually the name of the key.", - "Type": { - "$id": "444", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$ref": "438" - }, - { - "$id": "445", - "Name": "LongestIdleMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Jobs are directed to the worker who has been idle longest.", - "IsNullable": false, - "DiscriminatorValue": "longestIdle", - "Usage": "Output", - "BaseModel": { - "$ref": "99" - }, - "Properties": [] - }, - { - "$id": "446", - "Name": "ManualReclassifyExceptionAction", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An action that manually reclassifies a job by providing the queue, priority and worker selectors.", - "IsNullable": false, - "DiscriminatorValue": "manualReclassify", - "Usage": "Output", - "BaseModel": { - "$ref": "154" - }, - "Properties": [ - { - "$id": "447", - "Name": "queueId", - "SerializedName": "queueId", - "Description": "Updated QueueId.", - "Type": { - "$id": "448", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "449", - "Name": "priority", - "SerializedName": "priority", - "Description": "Updated Priority.", - "Type": { - "$id": "450", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "451", - "Name": "workerSelectors", - "SerializedName": "workerSelectors", - "Description": "Updated WorkerSelectors.", - "Type": { - "$id": "452", - "Name": "Array", - "ElementType": { - "$ref": "205" - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "453", - "Name": "OAuth2WebhookClientCredential", - "Namespace": "AzureCommunicationRoutingService", - "Description": "OAuth2.0 Credentials used to Contoso's Authorization server. Reference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "454", - "Name": "clientId", - "SerializedName": "clientId", - "Description": "ClientId for Contoso Authorization server.", - "Type": { - "$id": "455", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "456", - "Name": "clientSecret", - "SerializedName": "clientSecret", - "Description": "Client secret for Contoso Authorization server.", - "Type": { - "$id": "457", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "458", - "Name": "PassThroughQueueSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Attaches a queue selector where the value is passed through from a job's label with the same key.", - "IsNullable": false, - "DiscriminatorValue": "passThrough", - "Usage": "Output", - "BaseModel": { - "$ref": "123" - }, - "Properties": [ - { - "$id": "459", - "Name": "key", - "SerializedName": "key", - "Description": "The label key to query against.", - "Type": { - "$id": "460", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "461", - "Name": "labelOperator", - "SerializedName": "labelOperator", - "Description": "Describes how the value of the label is compared to the value pass through.", - "Type": { - "$ref": "44" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "462", - "Name": "PassThroughWorkerSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Attaches a worker selector where the value is passed through from a job's label with the same key.", - "IsNullable": false, - "DiscriminatorValue": "passThrough", - "Usage": "Output", - "BaseModel": { - "$ref": "130" - }, - "Properties": [ - { - "$id": "463", - "Name": "key", - "SerializedName": "key", - "Description": "The label key to query against.", - "Type": { - "$id": "464", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "465", - "Name": "labelOperator", - "SerializedName": "labelOperator", - "Description": "Describes how the value of the label is compared to the value pass through.", - "Type": { - "$ref": "44" - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "466", - "Name": "expiresAfterSeconds", - "SerializedName": "expiresAfterSeconds", - "Description": "Describes how long the attached label selector is valid in seconds.", - "Type": { - "$id": "467", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "468", - "Name": "QueueLengthExceptionTrigger", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Trigger for an exception action on exceeding queue length.", - "IsNullable": false, - "DiscriminatorValue": "queueLength", - "Usage": "Output", - "BaseModel": { - "$ref": "150" - }, - "Properties": [ - { - "$id": "469", - "Name": "threshold", - "SerializedName": "threshold", - "Description": "Threshold of number of jobs ahead in the queue to for this trigger to fire.", - "Type": { - "$id": "470", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "471", - "Name": "QueueWeightedAllocation", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Contains the weight percentage and queue selectors to be applied if selected for weighted distributions.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "472", - "Name": "weight", - "SerializedName": "weight", - "Description": "The percentage of this weight, expressed as a fraction of 1.", - "Type": { - "$id": "473", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "474", - "Name": "queueSelectors", - "SerializedName": "queueSelectors", - "Description": "A collection of queue selectors that will be applied if this allocation is selected.", - "Type": { - "$id": "475", - "Name": "Array", - "ElementType": { - "$ref": "419" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "476", - "Name": "ReclassifyExceptionAction", - "Namespace": "AzureCommunicationRoutingService", - "Description": "An action that modifies labels on a job and then reclassifies it.", - "IsNullable": false, - "DiscriminatorValue": "reclassify", - "Usage": "Output", - "BaseModel": { - "$ref": "154" - }, - "Properties": [ - { - "$id": "477", - "Name": "classificationPolicyId", - "SerializedName": "classificationPolicyId", - "Description": "The new classification policy that will determine queue, priority and worker selectors.", - "Type": { - "$id": "478", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "479", - "Name": "labelsToUpsert", - "SerializedName": "labelsToUpsert", - "Description": "Dictionary containing the labels to update (or add if not existing) in key-value pairs. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "480", - "Name": "Dictionary", - "KeyType": { - "$id": "481", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "ValueType": { - "$id": "482", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "483", - "Name": "RoundRobinMode", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Jobs are distributed in order to workers, starting with the worker that is after the last worker to receive a job.", - "IsNullable": false, - "DiscriminatorValue": "roundRobin", - "Usage": "Output", - "BaseModel": { - "$ref": "99" - }, - "Properties": [] - }, - { - "$id": "484", - "Name": "RuleEngineQueueSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Attaches queue selectors to a job when the RouterRule is resolved.", - "IsNullable": false, - "DiscriminatorValue": "ruleEngine", - "Usage": "Output", - "BaseModel": { - "$ref": "123" - }, - "Properties": [ - { - "$id": "485", - "Name": "rule", - "SerializedName": "rule", - "Description": "A RouterRule that resolves a collection of queue selectors to attach.", - "Type": { - "$ref": "126" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "486", - "Name": "RuleEngineWorkerSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Attaches worker selectors to a job when a RouterRule is resolved.", - "IsNullable": false, - "DiscriminatorValue": "ruleEngine", - "Usage": "Output", - "BaseModel": { - "$ref": "130" - }, - "Properties": [ - { - "$id": "487", - "Name": "rule", - "SerializedName": "rule", - "Description": "A RouterRule that resolves a collection of worker selectors to attach.", - "Type": { - "$ref": "126" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "488", - "Name": "StaticQueueSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a queue selector that will be attached to a job.", - "IsNullable": false, - "DiscriminatorValue": "static", - "Usage": "Output", - "BaseModel": { - "$ref": "123" - }, - "Properties": [ - { - "$id": "489", - "Name": "queueSelector", - "SerializedName": "queueSelector", - "Description": "The queue selector to attach.", - "Type": { - "$ref": "419" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "490", - "Name": "StaticRouterRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule providing static rules that always return the same result, regardless of input.", - "IsNullable": false, - "DiscriminatorValue": "static", - "Usage": "Output", - "BaseModel": { - "$ref": "126" - }, - "Properties": [ - { - "$id": "491", - "Name": "value", - "SerializedName": "value", - "Description": "The static value this rule always returns. Values must be primitive values - number, string, boolean.", - "Type": { - "$id": "492", - "Name": "Intrinsic", - "Kind": "unknown", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "493", - "Name": "StaticWorkerSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes a worker selector that will be attached to a job.", - "IsNullable": false, - "DiscriminatorValue": "static", - "Usage": "Output", - "BaseModel": { - "$ref": "130" - }, - "Properties": [ - { - "$id": "494", - "Name": "workerSelector", - "SerializedName": "workerSelector", - "Description": "The worker selector to attach.", - "Type": { - "$ref": "205" - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "495", - "Name": "WaitTimeExceptionTrigger", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Trigger for an exception action on exceeding wait time.", - "IsNullable": false, - "DiscriminatorValue": "waitTime", - "Usage": "Output", - "BaseModel": { - "$ref": "150" - }, - "Properties": [ - { - "$id": "496", - "Name": "thresholdSeconds", - "SerializedName": "thresholdSeconds", - "Description": "Threshold for wait time for this trigger.", - "Type": { - "$id": "497", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "498", - "Name": "WebhookRouterRule", - "Namespace": "AzureCommunicationRoutingService", - "Description": "A rule providing a binding to an external web server.", - "IsNullable": false, - "DiscriminatorValue": "webhook", - "Usage": "Output", - "BaseModel": { - "$ref": "126" - }, - "Properties": [ - { - "$id": "499", - "Name": "authorizationServerUri", - "SerializedName": "authorizationServerUri", - "Description": "Uri for Authorization Server.", - "Type": { - "$id": "500", - "Name": "url", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "501", - "Name": "clientCredential", - "SerializedName": "clientCredential", - "Description": "OAuth2.0 Credentials used to Contoso's Authorization server. Reference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/", - "Type": { - "$ref": "453" - }, - "IsRequired": false, - "IsReadOnly": false - }, - { - "$id": "502", - "Name": "webhookUri", - "SerializedName": "webhookUri", - "Description": "Uri for Contoso's Web Server.", - "Type": { - "$id": "503", - "Name": "url", - "Kind": "Uri", - "IsNullable": false - }, - "IsRequired": false, - "IsReadOnly": false - } - ] - }, - { - "$id": "504", - "Name": "WeightedAllocationQueueSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes multiple sets of queue selectors, of which one will be selected and attached according to a weighting.", - "IsNullable": false, - "DiscriminatorValue": "weightedAllocation", - "Usage": "Output", - "BaseModel": { - "$ref": "123" - }, - "Properties": [ - { - "$id": "505", - "Name": "allocations", - "SerializedName": "allocations", - "Description": "A collection of percentage based weighted allocations.", - "Type": { - "$id": "506", - "Name": "Array", - "ElementType": { - "$ref": "471" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$id": "507", - "Name": "WeightedAllocationWorkerSelectorAttachment", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Describes multiple sets of worker selectors, of which one will be selected and attached according to a weighting.", - "IsNullable": false, - "DiscriminatorValue": "weightedAllocation", - "Usage": "Output", - "BaseModel": { - "$ref": "130" - }, - "Properties": [ - { - "$id": "508", - "Name": "allocations", - "SerializedName": "allocations", - "Description": "A collection of percentage based weighted allocations.", - "Type": { - "$id": "509", - "Name": "Array", - "ElementType": { - "$id": "510", - "Name": "WorkerWeightedAllocation", - "Namespace": "AzureCommunicationRoutingService", - "Description": "Contains the weight percentage and worker selectors to be applied if selected for weighted distributions.", - "IsNullable": false, - "Usage": "Output", - "Properties": [ - { - "$id": "511", - "Name": "weight", - "SerializedName": "weight", - "Description": "The percentage of this weight, expressed as a fraction of 1.", - "Type": { - "$id": "512", - "Name": "float64", - "Kind": "Float64", - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - }, - { - "$id": "513", - "Name": "workerSelectors", - "SerializedName": "workerSelectors", - "Description": "A collection of worker selectors that will be applied if this allocation is selected.", - "Type": { - "$id": "514", - "Name": "Array", - "ElementType": { - "$ref": "205" - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - "IsNullable": false - }, - "IsRequired": true, - "IsReadOnly": false - } - ] - }, - { - "$ref": "510" - } - ], - "Clients": [ - { - "$id": "515", - "Name": "JobRouterAdministrationClient", - "Description": "", - "Operations": [ - { - "$id": "516", - "Name": "upsertDistributionPolicy", - "ResourceName": "DistributionPolicy", - "Summary": "Creates or updates a distribution policy.", - "Description": "Creates or updates a distribution policy.", - "Accessibility": "internal", - "Parameters": [ - { - "$id": "517", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Uri of your Communication resource", - "Type": { - "$id": "518", - "Name": "Uri", - "Kind": "Uri", - "IsNullable": false - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "519", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "520", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$id": "521", - "Type": { - "$id": "522", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "2023-11-01" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "523", - "Name": "distributionPolicyId", - "NameInRequest": "distributionPolicyId", - "Description": "Id of a distribution policy.", - "Type": { - "$id": "524", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "525", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Description": "This request has a JSON Merge Patch body.", - "Type": { - "$id": "526", - "Name": "Literal", - "LiteralValueType": { - "$id": "527", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "application/merge-patch+json", - "IsNullable": false - }, - "Location": "Header", - "DefaultValue": { - "$id": "528", - "Type": { - "$ref": "526" - }, - "Value": "application/merge-patch+json" - }, - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant" - }, - { - "$id": "529", - "Name": "ifMatch", - "NameInRequest": "If-Match", - "Description": "The request should only proceed if an entity matches this string.", - "Type": { - "$id": "530", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "531", - "Name": "ifUnmodifiedSince", - "NameInRequest": "If-Unmodified-Since", - "Description": "The request should only proceed if the entity was not modified after this time.", - "Type": { - "$id": "532", - "Name": "utcDateTime", - "Kind": "DateTimeRFC7231", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "533", - "Name": "resource", - "NameInRequest": "resource", - "Description": "The resource instance.", - "Type": { - "$ref": "89" - }, - "Location": "Body", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "534", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "535", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "536", - "Type": { - "$ref": "535" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "537", - "StatusCodes": [ - 201 - ], - "BodyType": { - "$ref": "89" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "538", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "539", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "540", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "541", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - }, - { - "$id": "542", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "89" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "543", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "544", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "545", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "546", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "PATCH", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/distributionPolicies/{distributionPolicyId}", - "RequestMediaTypes": [ - "application/merge-patch+json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": false - }, - { - "$id": "547", - "Name": "getDistributionPolicy", - "ResourceName": "DistributionPolicy", - "Summary": "Retrieves an existing distribution policy by Id.", - "Description": "Retrieves an existing distribution policy by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "548", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "549", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "550", - "Name": "distributionPolicyId", - "NameInRequest": "distributionPolicyId", - "Description": "Id of a distribution policy.", - "Type": { - "$id": "551", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "552", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "553", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "554", - "Type": { - "$ref": "553" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "555", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "89" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "556", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "557", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "558", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "559", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/distributionPolicies/{distributionPolicyId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "560", - "Name": "listDistributionPolicies", - "ResourceName": "DistributionPolicy", - "Summary": "Retrieves existing distribution policies.", - "Description": "Retrieves existing distribution policies.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "561", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "562", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "563", - "Name": "maxpagesize", - "NameInRequest": "maxpagesize", - "Description": "Number of objects to return per page.", - "Type": { - "$id": "564", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "565", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "566", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "567", - "Type": { - "$ref": "566" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "568", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "107" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/distributionPolicies", - "BufferResponse": true, - "Paging": { - "$id": "569", - "NextLinkName": "nextLink", - "ItemName": "value" - }, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "570", - "Name": "deleteDistributionPolicy", - "ResourceName": "DistributionPolicy", - "Summary": "Delete a distribution policy by Id.", - "Description": "Delete a distribution policy by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "571", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "572", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "573", - "Name": "distributionPolicyId", - "NameInRequest": "distributionPolicyId", - "Description": "Id of a distribution policy.", - "Type": { - "$id": "574", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "575", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "576", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "577", - "Type": { - "$ref": "576" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "578", - "StatusCodes": [ - 204 - ], - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false - } - ], - "HttpMethod": "DELETE", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/distributionPolicies/{distributionPolicyId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "579", - "Name": "upsertClassificationPolicy", - "ResourceName": "ClassificationPolicy", - "Summary": "Creates or updates a classification policy.", - "Description": "Creates or updates a classification policy.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "580", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "581", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "582", - "Name": "classificationPolicyId", - "NameInRequest": "classificationPolicyId", - "Description": "Id of a classification policy.", - "Type": { - "$id": "583", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "584", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Description": "This request has a JSON Merge Patch body.", - "Type": { - "$id": "585", - "Name": "Literal", - "LiteralValueType": { - "$id": "586", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "application/merge-patch+json", - "IsNullable": false - }, - "Location": "Header", - "DefaultValue": { - "$id": "587", - "Type": { - "$ref": "585" - }, - "Value": "application/merge-patch+json" - }, - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant" - }, - { - "$id": "588", - "Name": "ifMatch", - "NameInRequest": "If-Match", - "Description": "The request should only proceed if an entity matches this string.", - "Type": { - "$id": "589", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "590", - "Name": "ifUnmodifiedSince", - "NameInRequest": "If-Unmodified-Since", - "Description": "The request should only proceed if the entity was not modified after this time.", - "Type": { - "$id": "591", - "Name": "utcDateTime", - "Kind": "DateTimeRFC7231", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "592", - "Name": "resource", - "NameInRequest": "resource", - "Description": "The resource instance.", - "Type": { - "$ref": "112" - }, - "Location": "Body", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "593", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "594", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "595", - "Type": { - "$ref": "594" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "596", - "StatusCodes": [ - 201 - ], - "BodyType": { - "$ref": "112" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "597", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "598", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "599", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "600", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - }, - { - "$id": "601", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "112" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "602", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "603", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "604", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "605", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "PATCH", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/classificationPolicies/{classificationPolicyId}", - "RequestMediaTypes": [ - "application/merge-patch+json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": false - }, - { - "$id": "606", - "Name": "getClassificationPolicy", - "ResourceName": "ClassificationPolicy", - "Summary": "Retrieves an existing classification policy by Id.", - "Description": "Retrieves an existing classification policy by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "607", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "608", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "609", - "Name": "classificationPolicyId", - "NameInRequest": "classificationPolicyId", - "Description": "Id of a classification policy.", - "Type": { - "$id": "610", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "611", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "612", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "613", - "Type": { - "$ref": "612" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "614", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "112" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "615", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "616", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "617", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "618", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/classificationPolicies/{classificationPolicyId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "619", - "Name": "listClassificationPolicies", - "ResourceName": "ClassificationPolicy", - "Summary": "Retrieves existing classification policies.", - "Description": "Retrieves existing classification policies.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "620", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "621", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "622", - "Name": "maxpagesize", - "NameInRequest": "maxpagesize", - "Description": "Number of objects to return per page.", - "Type": { - "$id": "623", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "624", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "625", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "626", - "Type": { - "$ref": "625" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "627", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "132" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/classificationPolicies", - "BufferResponse": true, - "Paging": { - "$id": "628", - "NextLinkName": "nextLink", - "ItemName": "value" - }, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "629", - "Name": "deleteClassificationPolicy", - "ResourceName": "ClassificationPolicy", - "Summary": "Delete a classification policy by Id.", - "Description": "Delete a classification policy by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "630", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "631", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "632", - "Name": "classificationPolicyId", - "NameInRequest": "classificationPolicyId", - "Description": "Id of a classification policy.", - "Type": { - "$id": "633", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "634", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "635", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "636", - "Type": { - "$ref": "635" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "637", - "StatusCodes": [ - 204 - ], - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false - } - ], - "HttpMethod": "DELETE", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/classificationPolicies/{classificationPolicyId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "638", - "Name": "upsertExceptionPolicy", - "ResourceName": "ExceptionPolicy", - "Summary": "Creates or updates a exception policy.", - "Description": "Creates or updates a exception policy.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "639", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "640", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "641", - "Name": "exceptionPolicyId", - "NameInRequest": "exceptionPolicyId", - "Description": "Id of an exception policy.", - "Type": { - "$id": "642", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "643", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Description": "This request has a JSON Merge Patch body.", - "Type": { - "$id": "644", - "Name": "Literal", - "LiteralValueType": { - "$id": "645", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "application/merge-patch+json", - "IsNullable": false - }, - "Location": "Header", - "DefaultValue": { - "$id": "646", - "Type": { - "$ref": "644" - }, - "Value": "application/merge-patch+json" - }, - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant" - }, - { - "$id": "647", - "Name": "ifMatch", - "NameInRequest": "If-Match", - "Description": "The request should only proceed if an entity matches this string.", - "Type": { - "$id": "648", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "649", - "Name": "ifUnmodifiedSince", - "NameInRequest": "If-Unmodified-Since", - "Description": "The request should only proceed if the entity was not modified after this time.", - "Type": { - "$id": "650", - "Name": "utcDateTime", - "Kind": "DateTimeRFC7231", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "651", - "Name": "resource", - "NameInRequest": "resource", - "Description": "The resource instance.", - "Type": { - "$ref": "137" - }, - "Location": "Body", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "652", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "653", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "654", - "Type": { - "$ref": "653" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "655", - "StatusCodes": [ - 201 - ], - "BodyType": { - "$ref": "137" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "656", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "657", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "658", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "659", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - }, - { - "$id": "660", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "137" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "661", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "662", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "663", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "664", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "PATCH", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/exceptionPolicies/{exceptionPolicyId}", - "RequestMediaTypes": [ - "application/merge-patch+json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": false - }, - { - "$id": "665", - "Name": "getExceptionPolicy", - "ResourceName": "ExceptionPolicy", - "Summary": "Retrieves an existing exception policy by Id.", - "Description": "Retrieves an existing exception policy by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "666", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "667", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "668", - "Name": "exceptionPolicyId", - "NameInRequest": "exceptionPolicyId", - "Description": "Id of an exception policy.", - "Type": { - "$id": "669", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "670", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "671", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "672", - "Type": { - "$ref": "671" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "673", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "137" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "674", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "675", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "676", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "677", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/exceptionPolicies/{exceptionPolicyId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "678", - "Name": "listExceptionPolicies", - "ResourceName": "ExceptionPolicy", - "Summary": "Retrieves existing exception policies.", - "Description": "Retrieves existing exception policies.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "679", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "680", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "681", - "Name": "maxpagesize", - "NameInRequest": "maxpagesize", - "Description": "Number of objects to return per page.", - "Type": { - "$id": "682", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "683", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "684", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "685", - "Type": { - "$ref": "684" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "686", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "158" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/exceptionPolicies", - "BufferResponse": true, - "Paging": { - "$id": "687", - "NextLinkName": "nextLink", - "ItemName": "value" - }, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "688", - "Name": "deleteExceptionPolicy", - "ResourceName": "ExceptionPolicy", - "Summary": "Deletes a exception policy by Id.", - "Description": "Deletes a exception policy by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "689", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "690", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "691", - "Name": "exceptionPolicyId", - "NameInRequest": "exceptionPolicyId", - "Description": "Id of an exception policy.", - "Type": { - "$id": "692", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "693", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "694", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "695", - "Type": { - "$ref": "694" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "696", - "StatusCodes": [ - 204 - ], - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false - } - ], - "HttpMethod": "DELETE", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/exceptionPolicies/{exceptionPolicyId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "697", - "Name": "upsertQueue", - "ResourceName": "RouterQueue", - "Summary": "Creates or updates a queue.", - "Description": "Creates or updates a queue.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "698", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "699", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "700", - "Name": "queueId", - "NameInRequest": "queueId", - "Description": "Id of a queue.", - "Type": { - "$id": "701", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "702", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Description": "This request has a JSON Merge Patch body.", - "Type": { - "$id": "703", - "Name": "Literal", - "LiteralValueType": { - "$id": "704", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "application/merge-patch+json", - "IsNullable": false - }, - "Location": "Header", - "DefaultValue": { - "$id": "705", - "Type": { - "$ref": "703" - }, - "Value": "application/merge-patch+json" - }, - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant" - }, - { - "$id": "706", - "Name": "ifMatch", - "NameInRequest": "If-Match", - "Description": "The request should only proceed if an entity matches this string.", - "Type": { - "$id": "707", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "708", - "Name": "ifUnmodifiedSince", - "NameInRequest": "If-Unmodified-Since", - "Description": "The request should only proceed if the entity was not modified after this time.", - "Type": { - "$id": "709", - "Name": "utcDateTime", - "Kind": "DateTimeRFC7231", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "710", - "Name": "resource", - "NameInRequest": "resource", - "Description": "The resource instance.", - "Type": { - "$ref": "163" - }, - "Location": "Body", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "711", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "712", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "713", - "Type": { - "$ref": "712" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "714", - "StatusCodes": [ - 201 - ], - "BodyType": { - "$ref": "163" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "715", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "716", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "717", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "718", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - }, - { - "$id": "719", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "163" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "720", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "721", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "722", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "723", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "PATCH", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/queues/{queueId}", - "RequestMediaTypes": [ - "application/merge-patch+json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": false - }, - { - "$id": "724", - "Name": "getQueue", - "ResourceName": "RouterQueue", - "Summary": "Retrieves an existing queue by Id.", - "Description": "Retrieves an existing queue by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "725", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "726", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "727", - "Name": "queueId", - "NameInRequest": "queueId", - "Description": "Id of a queue.", - "Type": { - "$id": "728", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "729", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "730", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "731", - "Type": { - "$ref": "730" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "732", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "163" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "733", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "734", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "735", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "736", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/queues/{queueId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "737", - "Name": "listQueues", - "ResourceName": "RouterQueue", - "Summary": "Retrieves existing queues.", - "Description": "Retrieves existing queues.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "738", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "739", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "740", - "Name": "maxpagesize", - "NameInRequest": "maxpagesize", - "Description": "Number of objects to return per page.", - "Type": { - "$id": "741", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "742", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "743", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "744", - "Type": { - "$ref": "743" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "745", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "178" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/queues", - "BufferResponse": true, - "Paging": { - "$id": "746", - "NextLinkName": "nextLink", - "ItemName": "value" - }, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "747", - "Name": "deleteQueue", - "ResourceName": "RouterQueue", - "Summary": "Deletes a queue by Id.", - "Description": "Deletes a queue by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "748", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "749", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "750", - "Name": "queueId", - "NameInRequest": "queueId", - "Description": "Id of a queue.", - "Type": { - "$id": "751", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "752", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "753", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "754", - "Type": { - "$ref": "753" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "755", - "StatusCodes": [ - 204 - ], - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false - } - ], - "HttpMethod": "DELETE", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/queues/{queueId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - } - ], - "Protocol": { - "$id": "756" - }, - "Creatable": true - }, - { - "$id": "757", - "Name": "JobRouterClient", - "Description": "", - "Operations": [ - { - "$id": "758", - "Name": "upsertJob", - "ResourceName": "RouterJob", - "Summary": "Creates or updates a router job.", - "Description": "Creates or updates a router job.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "759", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "760", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "761", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "762", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "763", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Description": "This request has a JSON Merge Patch body.", - "Type": { - "$id": "764", - "Name": "Literal", - "LiteralValueType": { - "$id": "765", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "application/merge-patch+json", - "IsNullable": false - }, - "Location": "Header", - "DefaultValue": { - "$id": "766", - "Type": { - "$ref": "764" - }, - "Value": "application/merge-patch+json" - }, - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant" - }, - { - "$id": "767", - "Name": "ifMatch", - "NameInRequest": "If-Match", - "Description": "The request should only proceed if an entity matches this string.", - "Type": { - "$id": "768", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "769", - "Name": "ifUnmodifiedSince", - "NameInRequest": "If-Unmodified-Since", - "Description": "The request should only proceed if the entity was not modified after this time.", - "Type": { - "$id": "770", - "Name": "utcDateTime", - "Kind": "DateTimeRFC7231", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "771", - "Name": "resource", - "NameInRequest": "resource", - "Description": "The resource instance.", - "Type": { - "$ref": "183" - }, - "Location": "Body", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "772", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "773", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "774", - "Type": { - "$ref": "773" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "775", - "StatusCodes": [ - 201 - ], - "BodyType": { - "$ref": "183" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "776", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "777", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "778", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "779", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - }, - { - "$id": "780", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "183" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "781", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "782", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "783", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "784", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "PATCH", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}", - "RequestMediaTypes": [ - "application/merge-patch+json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": false - }, - { - "$id": "785", - "Name": "getJob", - "ResourceName": "RouterJob", - "Summary": "Retrieves an existing job by Id.", - "Description": "Retrieves an existing job by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "786", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "787", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "788", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "789", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "790", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "791", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "792", - "Type": { - "$ref": "791" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "793", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "183" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "794", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "795", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "796", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "797", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "798", - "Name": "deleteJob", - "ResourceName": "RouterJob", - "Summary": "Deletes a job and all of its traces.", - "Description": "Deletes a job and all of its traces.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "799", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "800", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "801", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "802", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "803", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "804", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "805", - "Type": { - "$ref": "804" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "806", - "StatusCodes": [ - 204 - ], - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false - } - ], - "HttpMethod": "DELETE", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "807", - "Name": "reclassifyJob", - "ResourceName": "JobRouterRestClient", - "Summary": "Reclassify a job.", - "Description": "Reclassify a job.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "808", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "809", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "810", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "811", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "812", - "Name": "options", - "NameInRequest": "options", - "Description": "Request object for reclassifying a job.", - "Type": { - "$ref": "254" - }, - "Location": "Body", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "813", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "814", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "815", - "Type": { - "$ref": "814" - }, - "Value": "application/json" - } - }, - { - "$id": "816", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Type": { - "$id": "817", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "818", - "Type": { - "$ref": "817" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "819", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "255" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}:reclassify", - "RequestMediaTypes": [ - "application/json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "820", - "Name": "cancelJob", - "ResourceName": "JobRouterRestClient", - "Summary": "Submits request to cancel an existing job by Id while supplying free-form cancellation reason.", - "Description": "Submits request to cancel an existing job by Id while supplying free-form cancellation reason.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "821", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "822", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "823", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "824", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "825", - "Name": "options", - "NameInRequest": "options", - "Description": "Request model for cancelling job.", - "Type": { - "$ref": "256" - }, - "Location": "Body", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "826", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "827", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "828", - "Type": { - "$ref": "827" - }, - "Value": "application/json" - } - }, - { - "$id": "829", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Type": { - "$id": "830", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "831", - "Type": { - "$ref": "830" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "832", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "261" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}:cancel", - "RequestMediaTypes": [ - "application/json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "833", - "Name": "completeJob", - "ResourceName": "JobRouterRestClient", - "Summary": "Completes an assigned job.", - "Description": "Completes an assigned job.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "834", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "835", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "836", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "837", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "838", - "Name": "assignmentId", - "NameInRequest": "assignmentId", - "Description": "Id of a job assignment.", - "Type": { - "$id": "839", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "840", - "Name": "options", - "NameInRequest": "options", - "Description": "Request model for completing job.", - "Type": { - "$ref": "262" - }, - "Location": "Body", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "841", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "842", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "843", - "Type": { - "$ref": "842" - }, - "Value": "application/json" - } - }, - { - "$id": "844", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Type": { - "$id": "845", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "846", - "Type": { - "$ref": "845" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "847", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "265" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}/assignments/{assignmentId}:complete", - "RequestMediaTypes": [ - "application/json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "848", - "Name": "closeJob", - "ResourceName": "JobRouterRestClient", - "Summary": "Closes a completed job.", - "Description": "Closes a completed job.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "849", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "850", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "851", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "852", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "853", - "Name": "assignmentId", - "NameInRequest": "assignmentId", - "Description": "Id of a job assignment.", - "Type": { - "$id": "854", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "855", - "Name": "options", - "NameInRequest": "options", - "Description": "Request model for closing job.", - "Type": { - "$ref": "266" - }, - "Location": "Body", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "856", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "857", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "858", - "Type": { - "$ref": "857" - }, - "Value": "application/json" - } - }, - { - "$id": "859", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Type": { - "$id": "860", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "861", - "Type": { - "$ref": "860" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "862", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "273" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}/assignments/{assignmentId}:close", - "RequestMediaTypes": [ - "application/json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "863", - "Name": "listJobs", - "ResourceName": "RouterJob", - "Summary": "Retrieves list of jobs based on filter parameters.", - "Description": "Retrieves list of jobs based on filter parameters.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "864", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "865", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "866", - "Name": "maxpagesize", - "NameInRequest": "maxpagesize", - "Description": "Number of objects to return per page.", - "Type": { - "$id": "867", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "868", - "Name": "status", - "NameInRequest": "status", - "Description": "If specified, filter jobs by status.", - "Type": { - "$ref": "58" - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "869", - "Name": "queueId", - "NameInRequest": "queueId", - "Description": "If specified, filter jobs by queue.", - "Type": { - "$id": "870", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "871", - "Name": "channelId", - "NameInRequest": "channelId", - "Description": "If specified, filter jobs by channel.", - "Type": { - "$id": "872", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "873", - "Name": "classificationPolicyId", - "NameInRequest": "classificationPolicyId", - "Description": "If specified, filter jobs by classificationPolicy.", - "Type": { - "$id": "874", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "875", - "Name": "scheduledBefore", - "NameInRequest": "scheduledBefore", - "Description": "If specified, filter on jobs that was scheduled before or at given timestamp. Range: (-Inf, scheduledBefore].", - "Type": { - "$id": "876", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "877", - "Name": "scheduledAfter", - "NameInRequest": "scheduledAfter", - "Description": "If specified, filter on jobs that was scheduled at or after given value. Range: [scheduledAfter, +Inf).", - "Type": { - "$id": "878", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "879", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "880", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "881", - "Type": { - "$ref": "880" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "882", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "274" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/jobs", - "BufferResponse": true, - "Paging": { - "$id": "883", - "NextLinkName": "nextLink", - "ItemName": "value" - }, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "884", - "Name": "getQueuePosition", - "ResourceName": "JobRouterRestClient", - "Summary": "Gets a job's position details.", - "Description": "Gets a job's position details.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "885", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "886", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "887", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of the job.", - "Type": { - "$id": "888", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "889", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "890", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "891", - "Type": { - "$ref": "890" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "892", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "279" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}/position", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "893", - "Name": "unassignJob", - "ResourceName": "JobRouterRestClient", - "Summary": "Unassign a job.", - "Description": "Unassign a job.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "894", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "895", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "896", - "Name": "jobId", - "NameInRequest": "jobId", - "Description": "Id of a job.", - "Type": { - "$id": "897", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "898", - "Name": "assignmentId", - "NameInRequest": "assignmentId", - "Description": "Id of a job assignment.", - "Type": { - "$id": "899", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "900", - "Name": "options", - "NameInRequest": "options", - "Description": "Request body for unassign route.", - "Type": { - "$ref": "290" - }, - "Location": "Body", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "901", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "902", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "903", - "Type": { - "$ref": "902" - }, - "Value": "application/json" - } - }, - { - "$id": "904", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Type": { - "$id": "905", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "906", - "Type": { - "$ref": "905" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "907", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "293" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/jobs/{jobId}/assignments/{assignmentId}:unassign", - "RequestMediaTypes": [ - "application/json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "908", - "Name": "acceptJobOffer", - "ResourceName": "JobRouterRestClient", - "Summary": "Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already.", - "Description": "Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "909", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "910", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "911", - "Name": "workerId", - "NameInRequest": "workerId", - "Description": "Id of a worker.", - "Type": { - "$id": "912", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "913", - "Name": "offerId", - "NameInRequest": "offerId", - "Description": "Id of an offer.", - "Type": { - "$id": "914", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "915", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "916", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "917", - "Type": { - "$ref": "916" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "918", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "298" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/workers/{workerId}/offers/{offerId}:accept", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "919", - "Name": "declineJobOffer", - "ResourceName": "JobRouterRestClient", - "Summary": "Declines an offer to work on a job.", - "Description": "Declines an offer to work on a job.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "920", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "921", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "922", - "Name": "workerId", - "NameInRequest": "workerId", - "Description": "Id of a worker.", - "Type": { - "$id": "923", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "924", - "Name": "offerId", - "NameInRequest": "offerId", - "Description": "Id of an offer.", - "Type": { - "$id": "925", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "926", - "Name": "options", - "NameInRequest": "options", - "Description": "Request model for declining offer.", - "Type": { - "$ref": "305" - }, - "Location": "Body", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "927", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "928", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "929", - "Type": { - "$ref": "928" - }, - "Value": "application/json" - } - }, - { - "$id": "930", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Type": { - "$id": "931", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "932", - "Type": { - "$ref": "931" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "933", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "308" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "POST", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/workers/{workerId}/offers/{offerId}:decline", - "RequestMediaTypes": [ - "application/json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "934", - "Name": "getQueueStatistics", - "ResourceName": "JobRouterRestClient", - "Summary": "Retrieves a queue's statistics.", - "Description": "Retrieves a queue's statistics.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "935", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "936", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "937", - "Name": "queueId", - "NameInRequest": "queueId", - "Description": "Id of the queue to retrieve statistics.", - "Type": { - "$id": "938", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "939", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "940", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "941", - "Type": { - "$ref": "940" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "942", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "309" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/queues/{queueId}/statistics", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "943", - "Name": "upsertWorker", - "ResourceName": "RouterWorker", - "Summary": "Creates or updates a worker.", - "Description": "Creates or updates a worker.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "944", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "945", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "946", - "Name": "workerId", - "NameInRequest": "workerId", - "Description": "Id of a worker.", - "Type": { - "$id": "947", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "948", - "Name": "contentType", - "NameInRequest": "Content-Type", - "Description": "This request has a JSON Merge Patch body.", - "Type": { - "$id": "949", - "Name": "Literal", - "LiteralValueType": { - "$id": "950", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Value": "application/merge-patch+json", - "IsNullable": false - }, - "Location": "Header", - "DefaultValue": { - "$id": "951", - "Type": { - "$ref": "949" - }, - "Value": "application/merge-patch+json" - }, - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant" - }, - { - "$id": "952", - "Name": "ifMatch", - "NameInRequest": "If-Match", - "Description": "The request should only proceed if an entity matches this string.", - "Type": { - "$id": "953", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "954", - "Name": "ifUnmodifiedSince", - "NameInRequest": "If-Unmodified-Since", - "Description": "The request should only proceed if the entity was not modified after this time.", - "Type": { - "$id": "955", - "Name": "utcDateTime", - "Kind": "DateTimeRFC7231", - "IsNullable": false - }, - "Location": "Header", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "956", - "Name": "resource", - "NameInRequest": "resource", - "Description": "The resource instance.", - "Type": { - "$ref": "320" - }, - "Location": "Body", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "957", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "958", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "959", - "Type": { - "$ref": "958" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "960", - "StatusCodes": [ - 201 - ], - "BodyType": { - "$ref": "320" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "961", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "962", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "963", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "964", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - }, - { - "$id": "965", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "320" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "966", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "967", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "968", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "969", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "PATCH", - "RequestBodyMediaType": "Json", - "Uri": "{endpoint}", - "Path": "/routing/workers/{workerId}", - "RequestMediaTypes": [ - "application/merge-patch+json" - ], - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": false - }, - { - "$id": "970", - "Name": "getWorker", - "ResourceName": "RouterWorker", - "Summary": "Retrieves an existing worker by Id.", - "Description": "Retrieves an existing worker by Id.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "971", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "972", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "973", - "Name": "workerId", - "NameInRequest": "workerId", - "Description": "Id of a worker.", - "Type": { - "$id": "974", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "975", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "976", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "977", - "Type": { - "$ref": "976" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "978", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "320" - }, - "BodyMediaType": "Json", - "Headers": [ - { - "$id": "979", - "Name": "ETag", - "NameInResponse": "etagHeader", - "Description": "The entity tag for the response.", - "Type": { - "$id": "980", - "Name": "string", - "Kind": "String", - "IsNullable": false - } - }, - { - "$id": "981", - "Name": "Last-Modified", - "NameInResponse": "lastModifiedTimestamp", - "Description": "The last modified timestamp.", - "Type": { - "$id": "982", - "Name": "utcDateTime", - "Kind": "DateTime", - "IsNullable": false - } - } - ], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/workers/{workerId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "983", - "Name": "deleteWorker", - "ResourceName": "RouterWorker", - "Summary": "Deletes a worker and all of its traces.", - "Description": "Deletes a worker and all of its traces.", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "984", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "985", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "986", - "Name": "workerId", - "NameInRequest": "workerId", - "Description": "Id of a worker.", - "Type": { - "$id": "987", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Path", - "IsRequired": true, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "988", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "989", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "990", - "Type": { - "$ref": "989" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "991", - "StatusCodes": [ - 204 - ], - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false - } - ], - "HttpMethod": "DELETE", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/workers/{workerId}", - "BufferResponse": true, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - }, - { - "$id": "992", - "Name": "listWorkers", - "ResourceName": "RouterWorker", - "Summary": "Retrieves existing workers.", - "Description": "Retrieves existing workers.", - "Accessibility": "internal", - "Parameters": [ - { - "$ref": "517" - }, - { - "$id": "993", - "Name": "apiVersion", - "NameInRequest": "api-version", - "Description": "The API version to use for this operation.", - "Type": { - "$id": "994", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "DefaultValue": { - "$ref": "521" - }, - "IsRequired": true, - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "995", - "Name": "maxpagesize", - "NameInRequest": "maxpagesize", - "Description": "Number of objects to return per page.", - "Type": { - "$id": "996", - "Name": "int32", - "Kind": "Int32", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "997", - "Name": "state", - "NameInRequest": "state", - "Description": "If specified, select workers by worker state.", - "Type": { - "$ref": "77" - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "998", - "Name": "channelId", - "NameInRequest": "channelId", - "Description": "If specified, select workers who have a channel configuration with this channel.", - "Type": { - "$id": "999", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "1000", - "Name": "queueId", - "NameInRequest": "queueId", - "Description": "If specified, select workers who are assigned to this queue.", - "Type": { - "$id": "1001", - "Name": "string", - "Kind": "String", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "1002", - "Name": "hasCapacity", - "NameInRequest": "hasCapacity", - "Description": "If set to true, select only workers who have capacity for the channel specified by `channelId` or for any channel if `channelId` not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false.", - "Type": { - "$id": "1003", - "Name": "boolean", - "Kind": "Boolean", - "IsNullable": false - }, - "Location": "Query", - "IsRequired": false, - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Method" - }, - { - "$id": "1004", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "1005", - "Name": "String", - "Kind": "String", - "IsNullable": false - }, - "Location": "Header", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Constant", - "DefaultValue": { - "$id": "1006", - "Type": { - "$ref": "1005" - }, - "Value": "application/json" - } - } - ], - "Responses": [ - { - "$id": "1007", - "StatusCodes": [ - 200 - ], - "BodyType": { - "$ref": "376" - }, - "BodyMediaType": "Json", - "Headers": [], - "IsErrorResponse": false, - "ContentTypes": [ - "application/json" - ] - } - ], - "HttpMethod": "GET", - "RequestBodyMediaType": "None", - "Uri": "{endpoint}", - "Path": "/routing/workers", - "BufferResponse": true, - "Paging": { - "$id": "1008", - "NextLinkName": "nextLink", - "ItemName": "value" - }, - "GenerateProtocolMethod": true, - "GenerateConvenienceMethod": true - } - ], - "Protocol": { - "$id": "1009" - }, - "Creatable": true - } - ] -} diff --git a/sdk/communication/Azure.Communication.JobRouter/tsp-location.yaml b/sdk/communication/Azure.Communication.JobRouter/tsp-location.yaml index 6a28a430e9a28..dd5e661e19c3a 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tsp-location.yaml +++ b/sdk/communication/Azure.Communication.JobRouter/tsp-location.yaml @@ -1,4 +1,4 @@ -commit: d6d9527c628f09bc81fb1b01d938872e1a681a2d +commit: eddb30ed9e2efaf4bb20f37e1499ee04efe2537b directory: specification/communication/Communication.JobRouter additionalDirectories: [] repo: Azure/azure-rest-api-specs