From f42f551126705f50dda922eb5732fa3b163f75d9 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Tue, 8 Aug 2023 21:56:40 +0000 Subject: [PATCH] git add --renormalize . --- .github/policies/resourceManagement.yml | 7894 ++++----- ...tomInfrastructureResourceGroup_Create.json | 336 +- ...tomInfrastructureResourceGroup_Create.json | 336 +- ...tomInfrastructureResourceGroup_Create.json | 336 +- ...dDatabaseConfigurationsCreateOrUpdate.json | 122 +- ...oAttachedDatabaseConfigurationsDelete.json | 28 +- ...ustoAttachedDatabaseConfigurationsGet.json | 50 +- ...edDatabaseConfigurationsListByCluster.json | 80 +- .../KustoClusterAddLanguageExtensions.json | 44 +- .../KustoClusterDetachFollowerDatabases.json | 32 +- .../KustoClusterListFollowerDatabases.json | 52 +- .../KustoClusterListLanguageExtensions.json | 44 +- ...cipalAssignmentsCheckNameAvailability.json | 42 +- ...terPrincipalAssignmentsCreateOrUpdate.json | 102 +- ...ustoClusterPrincipalAssignmentsDelete.json | 28 +- .../KustoClusterPrincipalAssignmentsGet.json | 54 +- .../KustoClusterPrincipalAssignmentsList.json | 90 +- .../KustoClusterRemoveLanguageExtensions.json | 44 +- .../KustoClustersCheckNameAvailability.json | 40 +- .../examples/KustoClustersCreateOrUpdate.json | 172 +- .../examples/KustoClustersDelete.json | 26 +- .../KustoClustersDiagnoseVirtualNetwork.json | 36 +- .../2020-06-14/examples/KustoClustersGet.json | 78 +- .../examples/KustoClustersList.json | 94 +- .../KustoClustersListByResourceGroup.json | 96 +- .../KustoClustersListResourceSkus.json | 136 +- .../examples/KustoClustersListSkus.json | 206 +- .../examples/KustoClustersStart.json | 24 +- .../examples/KustoClustersStop.json | 24 +- .../examples/KustoClustersUpdate.json | 214 +- .../KustoDataConnectionValidation.json | 60 +- ...oDataConnectionsCheckNameAvailability.json | 46 +- .../KustoDataConnectionsCreateOrUpdate.json | 118 +- .../examples/KustoDataConnectionsDelete.json | 30 +- .../examples/KustoDataConnectionsGet.json | 50 +- .../KustoDataConnectionsListByDatabase.json | 78 +- .../examples/KustoDataConnectionsUpdate.json | 118 +- .../examples/KustoDatabaseAddPrincipals.json | 138 +- .../examples/KustoDatabaseListPrincipals.json | 82 +- ...cipalAssignmentsCheckNameAvailability.json | 44 +- ...asePrincipalAssignmentsCreateOrUpdate.json | 104 +- ...stoDatabasePrincipalAssignmentsDelete.json | 30 +- .../KustoDatabasePrincipalAssignmentsGet.json | 56 +- ...KustoDatabasePrincipalAssignmentsList.json | 90 +- .../KustoDatabaseRemovePrincipals.json | 138 +- .../KustoDatabasesCheckNameAvailability.json | 42 +- .../KustoDatabasesCreateOrUpdate.json | 114 +- .../examples/KustoDatabasesDelete.json | 28 +- .../examples/KustoDatabasesGet.json | 48 +- .../examples/KustoDatabasesListByCluster.json | 72 +- .../examples/KustoDatabasesUpdate.json | 110 +- .../examples/KustoOperationsList.json | 44 +- ...dDatabaseConfigurationsCreateOrUpdate.json | 122 +- ...oAttachedDatabaseConfigurationsDelete.json | 28 +- ...ustoAttachedDatabaseConfigurationsGet.json | 50 +- ...edDatabaseConfigurationsListByCluster.json | 80 +- .../KustoClusterAddLanguageExtensions.json | 44 +- .../KustoClusterDetachFollowerDatabases.json | 32 +- .../KustoClusterListFollowerDatabases.json | 52 +- .../KustoClusterListLanguageExtensions.json | 44 +- ...cipalAssignmentsCheckNameAvailability.json | 42 +- ...terPrincipalAssignmentsCreateOrUpdate.json | 102 +- ...ustoClusterPrincipalAssignmentsDelete.json | 28 +- .../KustoClusterPrincipalAssignmentsGet.json | 54 +- .../KustoClusterPrincipalAssignmentsList.json | 90 +- .../KustoClusterRemoveLanguageExtensions.json | 44 +- .../KustoClustersCheckNameAvailability.json | 40 +- .../examples/KustoClustersCreateOrUpdate.json | 176 +- .../examples/KustoClustersDelete.json | 26 +- .../KustoClustersDiagnoseVirtualNetwork.json | 36 +- .../2020-09-18/examples/KustoClustersGet.json | 80 +- .../examples/KustoClustersList.json | 96 +- .../KustoClustersListByResourceGroup.json | 98 +- .../KustoClustersListResourceSkus.json | 136 +- .../examples/KustoClustersListSkus.json | 206 +- .../examples/KustoClustersStart.json | 24 +- .../examples/KustoClustersStop.json | 24 +- .../examples/KustoClustersUpdate.json | 222 +- ...oDataConnectionsCheckNameAvailability.json | 46 +- .../KustoDataConnectionsCreateOrUpdate.json | 118 +- .../examples/KustoDataConnectionsDelete.json | 30 +- .../examples/KustoDataConnectionsGet.json | 50 +- .../KustoDataConnectionsListByDatabase.json | 78 +- .../examples/KustoDataConnectionsUpdate.json | 118 +- .../examples/KustoDatabaseAddPrincipals.json | 138 +- .../examples/KustoDatabaseListPrincipals.json | 82 +- ...cipalAssignmentsCheckNameAvailability.json | 44 +- ...asePrincipalAssignmentsCreateOrUpdate.json | 104 +- ...stoDatabasePrincipalAssignmentsDelete.json | 30 +- .../KustoDatabasePrincipalAssignmentsGet.json | 56 +- ...KustoDatabasePrincipalAssignmentsList.json | 90 +- .../KustoDatabaseRemovePrincipals.json | 138 +- .../KustoDatabasesCheckNameAvailability.json | 42 +- .../KustoDatabasesCreateOrUpdate.json | 112 +- .../examples/KustoDatabasesDelete.json | 28 +- .../examples/KustoDatabasesGet.json | 48 +- .../examples/KustoDatabasesListByCluster.json | 72 +- .../examples/KustoDatabasesUpdate.json | 110 +- .../examples/KustoOperationsList.json | 44 +- .../examples/AnalyzeDocument_Base64.json | 40 +- .../examples/AnalyzeDocument_Url.json | 40 +- .../examples/AuthorizeCopyDocumentModel.json | 44 +- .../examples/BuildDocumentClassifier.json | 62 +- .../examples/BuildDocumentModel.json | 50 +- .../examples/ClassifyDocument_Url.json | 36 +- .../examples/ComposeDocumentModel.json | 50 +- .../examples/CopyDocumentModelTo.json | 44 +- .../examples/DeleteDocumentClassifier.json | 20 +- .../examples/DeleteDocumentModel.json | 20 +- .../examples/GetAnalyzeDocumentResult.json | 14440 ++++++++-------- .../examples/GetClassifyDocumentResult.json | 208 +- .../examples/GetDocumentClassifier.json | 64 +- .../examples/GetDocumentClassifiers.json | 114 +- .../examples/GetDocumentModel_Custom.json | 84 +- .../examples/GetDocumentModel_Prebuilt.json | 268 +- .../examples/GetDocumentModels.json | 56 +- .../examples/GetOperation.json | 52 +- .../examples/GetOperations.json | 50 +- .../examples/GetResourceDetails.json | 42 +- .../stable/2022-08-31/FormRecognizer.json | 4440 ++--- .../examples/AnalyzeDocument_Base64.json | 40 +- .../examples/AnalyzeDocument_Url.json | 40 +- .../examples/AuthorizeCopyDocumentModel.json | 44 +- .../examples/BuildDocumentModel.json | 50 +- .../examples/ComposeDocumentModel.json | 50 +- .../examples/CopyDocumentModelTo.json | 44 +- .../examples/DeleteDocumentModel.json | 20 +- .../examples/GetAnalyzeDocumentResult.json | 14438 +++++++-------- .../examples/GetDocumentModel_Custom.json | 82 +- .../examples/GetDocumentModel_Prebuilt.json | 268 +- .../examples/GetDocumentModels.json | 54 +- .../2022-08-31/examples/GetOperation.json | 52 +- .../2022-08-31/examples/GetOperations.json | 50 +- .../examples/GetResourceDetails.json | 32 +- .../examples/AnalyzeDocument_Base64.json | 40 +- .../examples/AnalyzeDocument_Url.json | 40 +- .../examples/AuthorizeCopyDocumentModel.json | 44 +- .../examples/BuildDocumentClassifier.json | 62 +- .../examples/BuildDocumentModel.json | 50 +- .../examples/ClassifyDocument_Url.json | 36 +- .../examples/ComposeDocumentModel.json | 50 +- .../examples/CopyDocumentModelTo.json | 44 +- .../examples/DeleteDocumentClassifier.json | 20 +- .../examples/DeleteDocumentModel.json | 20 +- .../examples/GetAnalyzeDocumentResult.json | 14438 +++++++-------- .../examples/GetClassifyDocumentResult.json | 202 +- .../examples/GetDocumentClassifier.json | 64 +- .../examples/GetDocumentClassifiers.json | 114 +- .../examples/GetDocumentModel_Custom.json | 84 +- .../examples/GetDocumentModel_Prebuilt.json | 268 +- .../examples/GetDocumentModels.json | 56 +- .../2023-07-31/examples/GetOperation.json | 52 +- .../2023-07-31/examples/GetOperations.json | 50 +- .../examples/GetResourceDetails.json | 42 +- ...CosmosDBMongoDBDatabasePartitionMerge.json | 116 +- .../CosmosDBSqlDatabasePartitionMerge.json | 100 +- .../desktopvirtualization.json | 5972 +++---- .../examples/ApplicationGroup_Create.json | 122 +- .../examples/ApplicationGroup_Delete.json | 56 +- .../examples/ApplicationGroup_Get.json | 58 +- .../examples/ApplicationGroup_Update.json | 78 +- .../examples/Application_Create.json | 122 +- .../examples/Application_Delete.json | 58 +- .../examples/Application_Get.json | 60 +- .../examples/Application_List.json | 100 +- .../examples/Application_Update.json | 84 +- .../examples/HostPool_Create.json | 184 +- .../examples/HostPool_Delete.json | 78 +- .../examples/HostPool_Get.json | 80 +- .../examples/HostPool_Update.json | 116 +- .../examples/OperationDescription_List.json | 54 +- .../examples/SessionHost_Delete.json | 68 +- .../examples/SessionHost_Get.json | 68 +- .../examples/SessionHost_List.json | 116 +- .../examples/SessionHost_Update.json | 80 +- .../examples/StartMenuItem_List.json | 84 +- .../examples/UserSession_Delete.json | 52 +- .../examples/UserSession_Disconnect_Post.json | 26 +- .../examples/UserSession_Get.json | 52 +- .../UserSession_SendMessage_Post.json | 34 +- .../examples/Workspace_Create.json | 106 +- .../examples/Workspace_Delete.json | 50 +- .../examples/Workspace_Get.json | 52 +- .../examples/Workspace_Update.json | 72 +- .../desktopvirtualization.json | 6010 +++---- .../examples/ApplicationGroup_Create.json | 122 +- .../examples/ApplicationGroup_Delete.json | 56 +- .../examples/ApplicationGroup_Get.json | 58 +- .../ApplicationGroup_ListByResourceGroup.json | 100 +- .../examples/ApplicationGroup_Update.json | 78 +- .../examples/Application_Create.json | 122 +- .../examples/Application_Delete.json | 58 +- .../examples/Application_Get.json | 60 +- .../examples/Application_List.json | 100 +- .../examples/Application_Update.json | 84 +- .../examples/Desktop_Get.json | 48 +- .../examples/Desktop_List.json | 54 +- .../examples/Desktop_Update.json | 60 +- .../examples/HostPool_Create.json | 184 +- .../examples/HostPool_Delete.json | 78 +- .../examples/HostPool_Get.json | 80 +- .../examples/HostPool_List.json | 140 +- .../HostPool_ListByResourceGroup.json | 142 +- .../examples/HostPool_Update.json | 116 +- .../examples/OperationDescription_List.json | 54 +- .../examples/SessionHost_Delete.json | 68 +- .../examples/SessionHost_Get.json | 68 +- .../examples/SessionHost_List.json | 116 +- .../examples/SessionHost_Update.json | 80 +- .../examples/StartMenuItem_List.json | 84 +- .../examples/UserSession_Delete.json | 52 +- .../examples/UserSession_Disconnect_Post.json | 26 +- .../examples/UserSession_Get.json | 52 +- .../examples/UserSession_List.json | 82 +- .../UserSession_SendMessage_Post.json | 34 +- .../examples/Workspace_Create.json | 106 +- .../examples/Workspace_Delete.json | 50 +- .../examples/Workspace_Get.json | 52 +- .../Workspace_ListByResourceGroup.json | 86 +- .../examples/Workspace_Update.json | 72 +- .../desktopvirtualization.json | 6064 +++---- .../examples/ApplicationGroup_Create.json | 122 +- .../examples/ApplicationGroup_Delete.json | 56 +- .../examples/ApplicationGroup_Get.json | 58 +- .../ApplicationGroup_ListByResourceGroup.json | 100 +- .../examples/ApplicationGroup_Update.json | 78 +- .../examples/Application_Create.json | 122 +- .../examples/Application_Delete.json | 58 +- .../examples/Application_Get.json | 60 +- .../examples/Application_List.json | 100 +- .../examples/Application_Update.json | 84 +- .../examples/Desktop_Get.json | 48 +- .../examples/Desktop_List.json | 54 +- .../examples/Desktop_Update.json | 60 +- .../examples/HostPool_Create.json | 188 +- .../examples/HostPool_Delete.json | 80 +- .../examples/HostPool_Get.json | 82 +- .../examples/HostPool_List.json | 144 +- .../HostPool_ListByResourceGroup.json | 146 +- .../examples/HostPool_Update.json | 122 +- .../examples/OperationDescription_List.json | 54 +- .../examples/SessionHost_Delete.json | 68 +- .../examples/SessionHost_Get.json | 68 +- .../examples/SessionHost_List.json | 116 +- .../examples/SessionHost_Update.json | 80 +- .../examples/StartMenuItem_List.json | 84 +- .../examples/UserSession_Delete.json | 52 +- .../examples/UserSession_Disconnect_Post.json | 26 +- .../examples/UserSession_Get.json | 52 +- .../examples/UserSession_List.json | 82 +- .../UserSession_SendMessage_Post.json | 34 +- .../examples/Workspace_Create.json | 106 +- .../examples/Workspace_Delete.json | 50 +- .../examples/Workspace_Get.json | 52 +- .../Workspace_ListByResourceGroup.json | 86 +- .../examples/Workspace_Update.json | 72 +- .../resource-manager/readme.csharp.md | 30 +- .../resource-manager/readme.go.md | 308 +- .../resource-manager/readme.java.md | 14 +- .../resource-manager/readme.node.md | 30 +- .../resource-manager/readme.python.md | 38 +- .../resource-manager/readme.ruby.md | 248 +- .../resource-manager/readme.typescript.md | 26 +- .../data-plane/readme.csharp.md | 24 +- .../data-plane/readme.md | 94 +- .../examples/CreateOuContainer.json | 200 +- .../examples/DeleteOuContainer.json | 40 +- .../2017-06-01/examples/GetOuContainer.json | 78 +- .../2017-06-01/examples/ListOuContainers.json | 134 +- .../examples/UpdateOuContainer.json | 144 +- .../stable/2017-06-01/oucontainer.json | 1216 +- .../examples/CreateOuContainer.json | 200 +- .../examples/DeleteOuContainer.json | 40 +- .../2020-01-01/examples/GetOuContainer.json | 78 +- .../2020-01-01/examples/ListOuContainers.json | 134 +- .../examples/UpdateOuContainer.json | 144 +- .../stable/2020-01-01/oucontainer.json | 1216 +- .../stable/2021-03-01/domainservices.json | 2076 +-- .../examples/CreateDomainService.json | 362 +- .../examples/CreateOuContainer.json | 188 +- .../examples/DeleteDomainService.json | 32 +- .../examples/DeleteOuContainer.json | 40 +- .../2021-03-01/examples/GetDomainService.json | 170 +- .../2021-03-01/examples/GetOperations.json | 126 +- .../2021-03-01/examples/GetOuContainer.json | 74 +- .../ListDomainServicesByResourceGroup.json | 176 +- .../ListDomainServicesBySubscription.json | 174 +- .../2021-03-01/examples/ListOuContainers.json | 126 +- .../examples/UpdateDomainService.json | 320 +- .../examples/UpdateOuContainer.json | 136 +- .../stable/2021-03-01/oucontainer.json | 1226 +- .../domainservices/resource-manager/readme.md | 514 +- .../examples/AzureTrafficCollectorDelete.json | 26 +- .../examples/AzureTrafficCollectorGet.json | 52 +- .../AzureTrafficCollectorUpdateTags.json | 66 +- ...eTrafficCollectorsByResourceGroupList.json | 60 +- ...reTrafficCollectorsBySubscriptionList.json | 58 +- .../examples/CollectorPoliciesList.json | 88 +- .../examples/CollectorPolicyCreate.json | 190 +- .../examples/CollectorPolicyDelete.json | 28 +- .../examples/CollectorPolicyGet.json | 82 +- .../2022-08-01/examples/OperationsList.json | 44 +- .../WebPubSub_AddConnectionToGroup.json | 22 +- .../examples/WebPubSub_AddUserToGroup.json | 22 +- .../examples/WebPubSub_CheckPermission.json | 26 +- .../WebPubSub_CloseAllConnections.json | 20 +- .../examples/WebPubSub_CloseConnection.json | 22 +- .../WebPubSub_CloseGroupConnections.json | 22 +- .../WebPubSub_CloseUserConnections.json | 22 +- .../examples/WebPubSub_ConnectionExists.json | 22 +- .../WebPubSub_GenerateClientToken.json | 30 +- .../examples/WebPubSub_GrantPermission.json | 24 +- .../examples/WebPubSub_GroupExists.json | 22 +- .../WebPubSub_RemoveConnectionFromGroup.json | 22 +- .../WebPubSub_RemoveUserFromAllGroups.json | 20 +- .../WebPubSub_RemoveUserFromGroup.json | 22 +- .../examples/WebPubSub_RevokePermission.json | 24 +- .../examples/WebPubSub_SendToAll.json | 20 +- .../examples/WebPubSub_SendToConnection.json | 22 +- .../examples/WebPubSub_SendToGroup.json | 22 +- .../examples/WebPubSub_SendToUser.json | 22 +- .../examples/WebPubSub_UserExists.json | 22 +- 322 files changed, 52338 insertions(+), 52338 deletions(-) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 0692601f9a51..7717446efda4 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -1,3947 +1,3947 @@ -id: -name: GitOps.PullRequestIssueManagement -description: GitOps.PullRequestIssueManagement primitive -owner: -resource: repository -disabled: false -where: -configuration: - resourceManagementConfiguration: - scheduledSearches: - - description: - frequencies: - - daily: - time: 1:0 - filters: - - isIssue - - isOpen - - hasLabel: - label: needs-author-feedback - - hasLabel: - label: no-recent-activity - - noActivitySince: - days: 14 - actions: - - closeIssue - - description: - frequencies: - - hourly: - hour: 6 - filters: - - isIssue - - isOpen - - hasLabel: - label: needs-author-feedback - - noActivitySince: - days: 7 - - isNotLabeledWith: - label: no-recent-activity - actions: - - addLabel: - label: no-recent-activity - - addReply: - reply: Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next **7 days**. If we don't hear back from you within **14 days** of this comment the issue will be automatically closed. Thank you! - - description: - frequencies: - - weekday: - day: Monday - time: 0:0 - filters: - - noActivitySince: - days: 14 - - isOpen - - isNotLabeledWith: - label: no-recent-activity - - isNotLabeledWith: - label: customer-reported - - isPullRequest - - isNotDraftPullRequest - actions: - - addReply: - reply: 'Hi, @${issueAuthor}. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove `no-recent-activity` label. ' - - addLabel: - label: no-recent-activity - - description: - frequencies: - - daily: - time: 13:0 - filters: - - isOpen - - hasLabel: - label: no-recent-activity - - noActivitySince: - days: 14 - - isNotLabeledWith: - label: customer-reported - actions: - - closeIssue - - addReply: - reply: Hi, @${issueAuthor}. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. - eventResponderTasks: - - if: - - payloadType: Issue_Comment - - isAction: - action: Created - - isActivitySender: - issueAuthor: True - - hasLabel: - label: needs-author-feedback - - isOpen - then: - - addLabel: - label: needs-team-attention - - removeLabel: - label: needs-author-feedback - description: - - if: - - payloadType: Issues - - not: - isAction: - action: Closed - - hasLabel: - label: no-recent-activity - then: - - removeLabel: - label: no-recent-activity - description: - - if: - - payloadType: Issue_Comment - - hasLabel: - label: no-recent-activity - then: - - removeLabel: - label: no-recent-activity - description: - - if: - - payloadType: Issues - - isAction: - action: Labeled - - hasLabel: - label: needs-triage - - not: - labelAdded: - label: needs-triage - then: - - removeLabel: - label: needs-triage - description: - - if: - - payloadType: Issues - - isOpen - - hasLabel: - label: customer-reported - - labelRemoved: - label: Service Attention - then: - - addLabel: - label: needs-team-triage - description: - - if: - - payloadType: Issues - - isAction: - action: Opened - - and: - - not: - activitySenderHasPermission: - permission: Write - - not: - activitySenderHasAssociation: - association: Member - - not: - activitySenderHasAssociation: - association: Collaborator - - not: - activitySenderHasPermission: - permission: Admin - then: - - addLabel: - label: question - description: - - if: - - or: - - payloadType: Issues - - isAction: - action: Opened - then: - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: AKS - then: - - mentionUsers: - mentionees: - - Azure/aks-pm - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Alerts Management - then: - - mentionUsers: - mentionees: - - liadtal - - yairgil - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - then: - - mentionUsers: - mentionees: - - josephkwchan - - jennyhunter-msft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - Templates - then: - - mentionUsers: - mentionees: - - Azure/deployments-owners - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - Tags - then: - - mentionUsers: - mentionees: - - rthorn17 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - Core - then: - - mentionUsers: - mentionees: - - josephkwchan - - jennyhunter-msft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - Managed Applications - then: - - mentionUsers: - mentionees: - - MSEvanhi - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - Service Catalog - then: - - mentionUsers: - mentionees: - - MSEvanhi - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARM - RBAC - then: - - mentionUsers: - mentionees: - - LizMS - - cbrooksmsft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Advisor - then: - - mentionUsers: - mentionees: - - mojayara - - Prasanna-Padmanabhan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Analysis Services - then: - - mentionUsers: - mentionees: - - athipp - - taiwu - - minghan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: API Management - then: - - mentionUsers: - mentionees: - - adrianhall - - KedarJoshi - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Application Insights - then: - - mentionUsers: - mentionees: - - azmonapplicationinsights - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: App Services - then: - - mentionUsers: - mentionees: - - antcp - - AzureAppServiceCLI - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: App Configuration - then: - - mentionUsers: - mentionees: - - jiayi11 - - avanigupta - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ARO - then: - - mentionUsers: - mentionees: - - mjudeikis - - jim-minter - - julienstroheker - - amanohar - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Attestation - then: - - mentionUsers: - mentionees: - - anilba06 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Authorization - then: - - mentionUsers: - mentionees: - - darshanhs90 - - AshishGargMicrosoft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Automation - then: - - mentionUsers: - mentionees: - - jaspkaur28 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: AVS - then: - - mentionUsers: - mentionees: - - divka78 - - amitchat - - aishu - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Azure Stack - then: - - mentionUsers: - mentionees: - - sijuman - - sarathys - - bganapa - - rakku-ms - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Batch - then: - - mentionUsers: - mentionees: - - cRui861 - - paterasMSFT - - gingi - - dpwatrous - - mksuni - - bgklein - - mscurrell - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: BatchAI - then: - - mentionUsers: - mentionees: - - matthchr - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Billing - then: - - mentionUsers: - mentionees: - - cabbpt - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Blueprint - then: - - mentionUsers: - mentionees: - - alex-frankel - - filizt - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Bot Service - then: - - mentionUsers: - mentionees: - - sgellock - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cloud Shell - then: - - mentionUsers: - mentionees: - - maertendMSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Text Analytics - then: - - mentionUsers: - mentionees: - - assafi - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Form Recognizer - then: - - mentionUsers: - mentionees: - - ctstone - - anrothMSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Anomaly Detector - then: - - mentionUsers: - mentionees: - - yingqunpku - - bowgong - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Custom Vision - then: - - mentionUsers: - mentionees: - - areddish - - tburns10 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Computer Vision - then: - - mentionUsers: - mentionees: - - ryogok - - TFR258 - - tburns10 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Face - then: - - mentionUsers: - mentionees: - - JinyuID - - dipidoo - - SteveMSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - QnA Maker - then: - - mentionUsers: - mentionees: - - bingisbestest - - nerajput1607 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Translator - then: - - mentionUsers: - mentionees: - - swmachan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Speech - then: - - mentionUsers: - mentionees: - - robch - - oscholz - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - LUIS - then: - - mentionUsers: - mentionees: - - cahann - - kayousef - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Content Moderator - then: - - mentionUsers: - mentionees: - - swiftarrow11 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Personalizer - then: - - mentionUsers: - mentionees: - - dwaijam - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Immersive Reader - then: - - mentionUsers: - mentionees: - - metanMSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Ink Recognizer - then: - - mentionUsers: - mentionees: - - olduroja - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Bing - then: - - mentionUsers: - mentionees: - - jaggerbodas-ms - - arwong - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cognitive - Mgmt - then: - - mentionUsers: - mentionees: - - yangyuan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Commerce - then: - - mentionUsers: - mentionees: - - ms-premp - - qiaozha - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - then: - - mentionUsers: - mentionees: - - Drewm3 - - TravisCragg-MSFT - - nikhilpatel909 - - sandeepraichura - - hilaryw29 - - GabstaMSFT - - ramankumarlive - - ushnaarshadkhan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - Extensions - then: - - mentionUsers: - mentionees: - - TravisCragg-MSFT - - GabstaMSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - Images - then: - - mentionUsers: - mentionees: - - TravisCragg-MSFT - - sandeepraichura - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - Managed Disks - then: - - mentionUsers: - mentionees: - - TravisCragg-MSFT - - ramankumarlive - - ushnaarshadkhan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - RDFE - then: - - mentionUsers: - mentionees: - - Drewm3 - - TravisCragg-MSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - VM - then: - - mentionUsers: - mentionees: - - Drewm3 - - TravisCragg-MSFT - - nikhilpatel909 - - sandeepraichura - - hilaryw29 - - GabstaMSFT - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Compute - VMSS - then: - - mentionUsers: - mentionees: - - TravisCragg-MSFT - - hilaryw29 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Connected Kubernetes - then: - - mentionUsers: - mentionees: - - akashkeshari - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Container Instances - then: - - mentionUsers: - mentionees: - - macolso - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Container Registry - then: - - mentionUsers: - mentionees: - - toddysm - - luisdlp - - northtyphoon - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Container Service - then: - - mentionUsers: - mentionees: - - qike-ms - - jwilder - - thomas1206 - - seanmck - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cosmos - then: - - mentionUsers: - mentionees: - - pjohari-ms - - MehaKaushik - - zfoster - - kushagraThapar - - simorenoh - - simplynaveen20 - - abinav2307 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Customer Insights - then: - - mentionUsers: - mentionees: - - shefymk - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Custom Providers - then: - - mentionUsers: - mentionees: - - manoharp - - MSEvanhi - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: CycleCloud - then: - - mentionUsers: - mentionees: - - adriankjohnson - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Bricks - then: - - mentionUsers: - mentionees: - - arindamc - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: DataBox - then: - - mentionUsers: - mentionees: - - tmvishwajit - - matdickson - - manuaery - - madhurinms - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: DataBox Edge - then: - - mentionUsers: - mentionees: - - a-t-mason - - ganzee - - manuaery - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Catalog - then: - - mentionUsers: - mentionees: - - ingave - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Factory - then: - - mentionUsers: - mentionees: - - Jingshu923 - - zhangyd2015 - - Frey-Wang - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Lake - then: - - mentionUsers: - mentionees: - - sumantmehtams - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Lake Storage Gen1 - then: - - mentionUsers: - mentionees: - - sumantmehtams - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Lake Storage Gen2 - then: - - mentionUsers: - mentionees: - - sumantmehtams - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Lake Analytics - then: - - mentionUsers: - mentionees: - - idear1203 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Lake Store - then: - - mentionUsers: - mentionees: - - sumantmehtams - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Migration - then: - - mentionUsers: - mentionees: - - radjaram - - kavitham10 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Data Share - then: - - mentionUsers: - mentionees: - - raedJarrar - - jifems - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: DevOps - then: - - mentionUsers: - mentionees: - - v-anvashist - - V-hmusukula - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Dev Spaces - then: - - mentionUsers: - mentionees: - - yuzorMa - - johnsta - - greenie-msft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Devtestlab - then: - - mentionUsers: - mentionees: - - Tanmayeekamath - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Device Provisioning Service - then: - - mentionUsers: - mentionees: - - nberdy - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Digital Twins - then: - - mentionUsers: - mentionees: - - sourabhguha - - inesk-vt - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Event Grid - then: - - mentionUsers: - mentionees: - - jfggdl - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Event Hubs - then: - - mentionUsers: - mentionees: - - Saglodha - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Functions - then: - - mentionUsers: - mentionees: - - Stefanus Hinardi - - Francisco-Gamino - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Graph.Microsoft - then: - - mentionUsers: - mentionees: - - dkershaw10 - - baywet - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Guest Configuration - then: - - mentionUsers: - mentionees: - - mgreenegit - - vivlingaiah - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: HDInsight - then: - - mentionUsers: - mentionees: - - aim-for-better - - idear1203 - - deshriva - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: HPC Cache - then: - - mentionUsers: - mentionees: - - romahamu - - omzevall - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Import Export - then: - - mentionUsers: - mentionees: - - madhurinms - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: KeyVault - then: - - mentionUsers: - mentionees: - - RandalliLama - - schaabs - - jlichwa - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Kubernetes Configuration - then: - - mentionUsers: - mentionees: - - NarayanThiru - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Azure Data Explorer - then: - - mentionUsers: - mentionees: - - ilayrn - - orhasban - - zoharHenMicrosoft - - sagivf - - Aviv-Yaniv - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Lab Services - then: - - mentionUsers: - mentionees: - - Tanmayeekamath - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Logic App - then: - - mentionUsers: - mentionees: - - Azure/azure-logicapps-team - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: LOUIS - then: - - mentionUsers: - mentionees: - - minamnmik - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Machine Learning - then: - - mentionUsers: - mentionees: - - azureml-github - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Machine Learning Compute - then: - - mentionUsers: - mentionees: - - azureml-github - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Machine Learning Experimentation - then: - - mentionUsers: - mentionees: - - aashishb - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Managed Services - then: - - mentionUsers: - mentionees: - - Lighthouse-Azure - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: MariaDB - then: - - mentionUsers: - mentionees: - - ambhatna - - savjani - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Marketplace Ordering - then: - - mentionUsers: - mentionees: - - prbansa - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Media Services - then: - - mentionUsers: - mentionees: - - akucer - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Migrate - then: - - mentionUsers: - mentionees: - - shijojoy - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Mobile Engagement - then: - - mentionUsers: - mentionees: - - kpiteira - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - then: - - mentionUsers: - mentionees: - - SameergMS - - dadunl - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - Autoscale - then: - - mentionUsers: - mentionees: - - AzMonEssential - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - ActivityLogs - then: - - mentionUsers: - mentionees: - - AzMonEssential - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - Metrics - then: - - mentionUsers: - mentionees: - - AzMonEssential - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - Diagnostic Settings - then: - - mentionUsers: - mentionees: - - AzMonEssential - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - Alerts - then: - - mentionUsers: - mentionees: - - AzmonAlerts - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - ActionGroups - then: - - mentionUsers: - mentionees: - - AzmonActionG - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - LogAnalytics - then: - - mentionUsers: - mentionees: - - AzmonLogA - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Monitor - ApplicationInsights - then: - - mentionUsers: - mentionees: - - azmonapplicationinsights - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: MySQL - then: - - mentionUsers: - mentionees: - - ambhatna - - savjani - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - then: - - mentionUsers: - mentionees: - - aznetsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Application Gateway - then: - - mentionUsers: - mentionees: - - appgwsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - CDN - then: - - mentionUsers: - mentionees: - - t-bzhan - - gxue - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - DDOS Protection - then: - - mentionUsers: - mentionees: - - ddossuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - ExpressRoute - then: - - mentionUsers: - mentionees: - - exrsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Firewall - then: - - mentionUsers: - mentionees: - - fwsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Front Door - then: - - mentionUsers: - mentionees: - - cdnfdsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Load Balancer - then: - - mentionUsers: - mentionees: - - slbsupportgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Virtual Network NAT - then: - - mentionUsers: - mentionees: - - vnetsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Network Watcher - then: - - mentionUsers: - mentionees: - - netwatchsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - DNS - then: - - mentionUsers: - mentionees: - - dnssuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Traffic Manager - then: - - mentionUsers: - mentionees: - - tmsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - VPN Gateway - then: - - mentionUsers: - mentionees: - - vpngwsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Notification Hub - then: - - mentionUsers: - mentionees: - - tjsomasundaram - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Operational Insights - then: - - mentionUsers: - mentionees: - - AzmonLogA - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Policy - then: - - mentionUsers: - mentionees: - - aperezcloud - - kenieva - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Policy Insights - then: - - mentionUsers: - mentionees: - - kenieva - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: PostgreSQL - then: - - mentionUsers: - mentionees: - - sunilagarwal - - lfittl-msft - - sr-msft - - niklarin - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Recovery Services Backup - then: - - mentionUsers: - mentionees: - - pvrk - - adityabalaji-msft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Recovery Services Site-Recovery - then: - - mentionUsers: - mentionees: - - Sharmistha-Rai - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Redis Cache - then: - - mentionUsers: - mentionees: - - yegu-ms - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Relay - then: - - mentionUsers: - mentionees: - - jfggdl - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Reservations - then: - - mentionUsers: - mentionees: - - Rkapso - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Resource Authorization - then: - - mentionUsers: - mentionees: - - darshanhs90 - - AshishGargMicrosoft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Resource Graph - then: - - mentionUsers: - mentionees: - - chiragg4u - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Resource Health - then: - - mentionUsers: - mentionees: - - stephbaron - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Scheduler - then: - - mentionUsers: - mentionees: - - derek1ee - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Search - then: - - mentionUsers: - mentionees: - - bleroy - - tjacobhi - - markheff - - miwelsh - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Security - then: - - mentionUsers: - mentionees: - - chlahav - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Service Bus - then: - - mentionUsers: - mentionees: - - Saglodha - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Service Fabric - then: - - mentionUsers: - mentionees: - - QingChenmsft - - vaishnavk - - juhacket - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Schema Registry - then: - - mentionUsers: - mentionees: - - arerlend - - alzimmermsft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SignalR - then: - - mentionUsers: - mentionees: - - sffamily - - chenkennt - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - VM - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - Backup & Restore - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - Data Security - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - Elastic Jobs - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - Managed Instance - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SQL - Replication & Failover - then: - - mentionUsers: - mentionees: - - azureSQLGitHub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Storage - then: - - mentionUsers: - mentionees: - - xgithubtriage - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Storsimple - then: - - mentionUsers: - mentionees: - - anoobbacker - - ganzee - - manuaery - - patelkunal - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Stream Analytics - then: - - mentionUsers: - mentionees: - - atpham256 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Subscription - then: - - mentionUsers: - mentionees: - - anuragdalmia - - shilpigautam - - ramaganesan-rg - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Support - then: - - mentionUsers: - mentionees: - - shahbj79 - - mit2nil - - aygoya - - ganganarayanan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Synapse - then: - - mentionUsers: - mentionees: - - wonner - - yanjungao718 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Tables - then: - - mentionUsers: - mentionees: - - klaaslanghout - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: TimeseriesInsights - then: - - mentionUsers: - mentionees: - - Shipra1Mishra - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: vFXT - then: - - mentionUsers: - mentionees: - - zhusijia26 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Web Apps - then: - - mentionUsers: - mentionees: - - AzureAppServiceCLI - - antcp - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Virtual Network - then: - - mentionUsers: - mentionees: - - vnetsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Virtual WAN - then: - - mentionUsers: - mentionees: - - vwansuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Network Virtual Appliance - then: - - mentionUsers: - mentionees: - - nvasuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Bastion - then: - - mentionUsers: - mentionees: - - bastionsuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: IoT/CLI - then: - - mentionUsers: - mentionees: - - Azure/azure-iot-cli-triage - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Azure.Spring - Cosmos - then: - - mentionUsers: - mentionees: - - kushagraThapur - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Network - Private Link - then: - - mentionUsers: - mentionees: - - privlinksuppgithub - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Azure arc enabled servers - then: - - mentionUsers: - mentionees: - - rpsqrd - - edyoung - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: SecurityInsights - then: - - mentionUsers: - mentionees: - - amirkeren - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Azure Data Explorer - then: - - mentionUsers: - mentionees: - - Ilayrn - - orhasban - - zoharHenMicrosoft - - sagivf - - Aviv-Yaniv - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Communication - then: - - mentionUsers: - mentionees: - - acsdevx-msft - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cost Management and Consumption - then: - - mentionUsers: - mentionees: - - ccmaxpcrew - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: ML-AutoML - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - Aniththa - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Hyperdrive - then: - - mentionUsers: - mentionees: - - Aniththa - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Compute - then: - - mentionUsers: - mentionees: - - nishankgu - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Core UI - then: - - mentionUsers: - mentionees: - - abeomor - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Data4ML - then: - - mentionUsers: - mentionees: - - SturgeonMi - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Designer - then: - - mentionUsers: - mentionees: - - alainli0928 - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Data Labeling - then: - - mentionUsers: - mentionees: - - kvijaykannan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-Inference - then: - - mentionUsers: - mentionees: - - shivanissambare - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ML-MLOps - then: - - mentionUsers: - mentionees: - - lostmygithubaccount - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: ML-Pipelines - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - shbijlan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: ML-Responsible AI - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - minthigpen - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: ML-Reinforcement Learning - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - keijik - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: ML-Training - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - lostmygithubaccount - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: ML-Workspace Management - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - rastala - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Spring Cloud - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - ShichaoQiu - - yuwzho - - yucwan - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cost Management-Budget - then: - - mentionUsers: - mentionees: - - ccmaxpcrew - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Consumption-Budget - then: - - mentionUsers: - mentionees: - - ccmaxpcrew - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cost Management-Query - then: - - mentionUsers: - mentionees: - - ccmixpdevs - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Consumption-Query - then: - - mentionUsers: - mentionees: - - ccmixpdevs - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cost Management-Billing - then: - - mentionUsers: - mentionees: - - ccmbpxpcrew - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Consumption-Billing - then: - - mentionUsers: - mentionees: - - ccmbpxpcrew - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cost Management-UsageDetailsAndExport - then: - - mentionUsers: - mentionees: - - TiagoCrewGitHubIssues - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Consumption-UsageDetailsandExport - then: - - mentionUsers: - mentionees: - - TiagoCrewGitHubIssues - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Consumption- RIandShowBack - then: - - mentionUsers: - mentionees: - - ccmshowbackdevs - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Serial Console - then: - - mentionUsers: - mentionees: - - CraigWiand - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Monitor - Exporter - - hasLabel: - label: Service Attention - then: - - mentionUsers: - mentionees: - - cijothomas - - reyang - - rajkumar-rangaraj - - TimothyMothra - - vishweshbankwar - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: Cost Management-RIandShowBack - then: - - mentionUsers: - mentionees: - - ccmshowbackdevs - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - - if: - - hasLabel: - label: Service Attention - - hasLabel: - label: ContainerApp - then: - - mentionUsers: - mentionees: - - calvinsID - replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. - assignMentionees: False - description: - - if: - - payloadType: Pull_Request - - isAction: - action: Opened - - and: - - not: - activitySenderHasPermission: - permission: Write - - not: - activitySenderHasAssociation: - association: Member - - not: - activitySenderHasAssociation: - association: Collaborator - - not: - activitySenderHasPermission: - permission: Admin - then: - - addLabel: - label: customer-reported - - addReply: - reply: Thank you for your contribution ${issueAuthor}! We will review the pull request and get back to you soon. - description: - - if: - - payloadType: Pull_Request - - hasLabel: - label: no-recent-activity - - or: - - isAction: - action: Synchronize - - isAction: - action: Null - - isAction: - action: Unlabeled - - isAction: - action: Edited - - isAction: - action: Null - - isAction: - action: Reopened - - isAction: - action: Labeled - - isAction: - action: Edited - then: - - removeLabel: - label: no-recent-activity - description: - - if: - - payloadType: Pull_Request - then: - - if: - - includesModifiedFiles: - files: - - specification/apimanagement/resource-manager - then: - - addLabel: - label: API Management - - if: - - includesModifiedFiles: - files: - - specification/compute/resource-manager - then: - - addLabel: - label: Compute - - if: - - includesModifiedFiles: - files: - - specification/network/resource-manager - then: - - addLabel: - label: Network - - if: - - includesModifiedFiles: - files: - - specification/sql/resource-manager - then: - - addLabel: - label: SQL - - if: - - includesModifiedFiles: - files: - - specification/storage/resource-manager - then: - - addLabel: - label: Storage - - if: - - includesModifiedFiles: - files: - - specification/synapse - then: - - addLabel: - label: Synapses - description: - - if: - - payloadType: Issue_Comment - - hasLabel: - label: no-recent-activity - - isOpen - then: - - removeLabel: - label: no-recent-activity - description: - - if: - - payloadType: Issues - - isAction: - action: Opened - - and: - - not: - activitySenderHasPermission: - permission: Write - - not: - activitySenderHasAssociation: - association: Member - - not: - activitySenderHasAssociation: - association: Collaborator - - not: - activitySenderHasPermission: - permission: Admin - then: - - addLabel: - label: customer-reported - - addLabel: - label: question - description: - - if: - - payloadType: Pull_Request - then: - - if: - - includesModifiedFiles: - files: - - dev/cognitiveservices/data-plane/Language/ - excludedFiles: - - '' - then: - - addLabel: - label: Cognitive Services - - if: - - includesModifiedFiles: - files: - - specification/analysisservices/ - excludedFiles: - - '' - then: - - addLabel: - label: Analysis Services - - if: - - includesModifiedFiles: - files: - - specification/alertsmanagement/ - excludedFiles: - - '' - then: - - addLabel: - label: Alerts Management - - if: - - includesModifiedFiles: - files: - - specification/apimanagement/ - excludedFiles: - - '' - then: - - addLabel: - label: API Management - - if: - - includesModifiedFiles: - files: - - specification/applicationinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: Insights - - if: - - includesModifiedFiles: - files: - - specification/applicationinsights/data-plane/Monitor.Exporters/ - excludedFiles: - - '' - then: - - addLabel: - label: Monitor - Exporter - - if: - - includesModifiedFiles: - files: - - specification/authorization/ - excludedFiles: - - '' - then: - - addLabel: - label: Authorization - - if: - - includesModifiedFiles: - files: - - specification/automation/ - excludedFiles: - - '' - then: - - addLabel: - label: Automation - - if: - - includesModifiedFiles: - files: - - specification/batch/ - excludedFiles: - - '' - then: - - addLabel: - label: Batch - - if: - - includesModifiedFiles: - files: - - specification/batchai/ - excludedFiles: - - '' - then: - - addLabel: - label: BatchAI - - if: - - includesModifiedFiles: - files: - - specification/billing/ - excludedFiles: - - '' - then: - - addLabel: - label: Billing - - if: - - includesModifiedFiles: - files: - - specification/cdn/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - CDN - - if: - - includesModifiedFiles: - files: - - specification/cognitiveservices/ - excludedFiles: - - '' - then: - - addLabel: - label: Cognitive Services - - if: - - includesModifiedFiles: - files: - - specification/cognitiveservices/data-plane/Language/ - excludedFiles: - - '' - then: - - addLabel: - label: Cognitive - Language - - if: - - includesModifiedFiles: - files: - - specification/compute/ - excludedFiles: - - '' - then: - - addLabel: - label: Compute - - if: - - includesModifiedFiles: - files: - - specification/containerinstance/ - excludedFiles: - - '' - then: - - addLabel: - label: Container Instances - - if: - - includesModifiedFiles: - files: - - specification/containerregistry/ - excludedFiles: - - '' - then: - - addLabel: - label: Container Registry - - if: - - includesModifiedFiles: - files: - - specification/containerservice/ - excludedFiles: - - '' - then: - - addLabel: - label: Container Service - - if: - - includesModifiedFiles: - files: - - specification/cosmos-db/ - excludedFiles: - - '' - then: - - addLabel: - label: Cosmos - - if: - - includesModifiedFiles: - files: - - specification/customer-insights/ - excludedFiles: - - '' - then: - - addLabel: - label: Customer Insights - - if: - - includesModifiedFiles: - files: - - specification/datafactory/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Factory - - if: - - includesModifiedFiles: - files: - - specification/datalake-analytics/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Lake Analytics - - if: - - includesModifiedFiles: - files: - - specification/datalake-store/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Lake Store - - if: - - includesModifiedFiles: - files: - - specification/datamigration/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Migration - - if: - - includesModifiedFiles: - files: - - specification/deviceupdate/data-plane/ - excludedFiles: - - '' - then: - - addLabel: - label: Device Update - - if: - - includesModifiedFiles: - files: - - specification/devtestlabs/ - excludedFiles: - - '' - then: - - addLabel: - label: Devtestlab - - if: - - includesModifiedFiles: - files: - - specification/dns/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - DNS - - if: - - includesModifiedFiles: - files: - - specification/eventgrid/ - excludedFiles: - - '' - then: - - addLabel: - label: Event Grid - - if: - - includesModifiedFiles: - files: - - specification/eventhub/ - excludedFiles: - - '' - then: - - addLabel: - label: Event Hubs - - if: - - includesModifiedFiles: - files: - - specification/hdinsight/ - excludedFiles: - - '' - then: - - addLabel: - label: HDInsight - - if: - - includesModifiedFiles: - files: - - specification/intune/ - excludedFiles: - - '' - then: - - addLabel: - label: Intune - - if: - - includesModifiedFiles: - files: - - specification/iothub/ - excludedFiles: - - '' - then: - - addLabel: - label: IotHub - - if: - - includesModifiedFiles: - files: - - specification/keyvault/ - excludedFiles: - - '' - then: - - addLabel: - label: KeyVault - - if: - - includesModifiedFiles: - files: - - specification/logic/ - excludedFiles: - - '' - then: - - addLabel: - label: Logic App - - if: - - includesModifiedFiles: - files: - - specification/machinelearning/ - excludedFiles: - - '' - then: - - addLabel: - label: Machine Learning - - if: - - includesModifiedFiles: - files: - - specification/machinelearningcompute/ - excludedFiles: - - '' - then: - - addLabel: - label: Machine Learning Compute - - if: - - includesModifiedFiles: - files: - - specification/mediaservices/ - excludedFiles: - - '' - then: - - addLabel: - label: Media Services - - if: - - includesModifiedFiles: - files: - - specification/mobileengagement/ - excludedFiles: - - '' - then: - - addLabel: - label: Mobile Engagement - - if: - - includesModifiedFiles: - files: - - specification/monitor/ - excludedFiles: - - '' - then: - - addLabel: - label: Monitor - - if: - - includesModifiedFiles: - files: - - specification/mysql/ - excludedFiles: - - '' - then: - - addLabel: - label: MySQL - - if: - - includesModifiedFiles: - files: - - specification/network/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - - if: - - includesModifiedFiles: - files: - - specification/notificationhubs/ - excludedFiles: - - '' - then: - - addLabel: - label: Notification Hub - - if: - - includesModifiedFiles: - files: - - specification/operationalinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: Monitor - Operational Insights - - if: - - includesModifiedFiles: - files: - - specification/operationsmanagement/ - excludedFiles: - - '' - then: - - addLabel: - label: Operations Management - - if: - - includesModifiedFiles: - files: - - specification/peering/ - excludedFiles: - - '' - then: - - addLabel: - label: Peering - - if: - - includesModifiedFiles: - files: - - specification/policyinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: Policy Insights - - if: - - includesModifiedFiles: - files: - - specification/postgresql/ - excludedFiles: - - '' - then: - - addLabel: - label: PostgreSQL - - if: - - includesModifiedFiles: - files: - - specification/provisioningservices/ - excludedFiles: - - '' - then: - - addLabel: - label: PostgreSQL - - if: - - includesModifiedFiles: - files: - - specification/recoveryservices/ - excludedFiles: - - '' - then: - - addLabel: - label: RecoveryServices - - if: - - includesModifiedFiles: - files: - - specification/recoveryservicesbackup/ - excludedFiles: - - '' - then: - - addLabel: - label: Recovery Services Backup - - if: - - includesModifiedFiles: - files: - - specification/recoveryservicessiterecovery/ - excludedFiles: - - '' - then: - - addLabel: - label: Recovery Services Site-Recovery - - if: - - includesModifiedFiles: - files: - - specification/redis/ - excludedFiles: - - '' - then: - - addLabel: - label: Redis Cache - - if: - - includesModifiedFiles: - files: - - specification/relay/ - excludedFiles: - - '' - then: - - addLabel: - label: Relay - - if: - - includesModifiedFiles: - files: - - specification/scheduler/ - excludedFiles: - - '' - then: - - addLabel: - label: Scheduler - - if: - - includesModifiedFiles: - files: - - specification/search/data-plane/ - excludedFiles: - - '' - then: - - addLabel: - label: Search - - if: - - includesModifiedFiles: - files: - - specification/search/resource-manager/ - excludedFiles: - - '' - then: - - addLabel: - label: Search - - if: - - includesModifiedFiles: - files: - - specification/service-map/ - excludedFiles: - - '' - then: - - addLabel: - label: Service Map - - if: - - includesModifiedFiles: - files: - - specification/servicebus/ - excludedFiles: - - '' - then: - - addLabel: - label: Service Bus - - if: - - includesModifiedFiles: - files: - - specification/servicefabric/ - excludedFiles: - - '' - then: - - addLabel: - label: Service Fabric - - if: - - includesModifiedFiles: - files: - - specification/sql/ - excludedFiles: - - '' - then: - - addLabel: - label: SQL - - if: - - includesModifiedFiles: - files: - - specification/storage/ - excludedFiles: - - '' - then: - - addLabel: - label: Storage - - if: - - includesModifiedFiles: - files: - - specification/storageimportexport/ - excludedFiles: - - '' - then: - - addLabel: - label: Import Export - - if: - - includesModifiedFiles: - files: - - specification/storagesync/ - excludedFiles: - - '' - then: - - addLabel: - label: StorageSync - - if: - - includesModifiedFiles: - files: - - specification/storsimple8000series/ - excludedFiles: - - '' - then: - - addLabel: - label: Storsimple - - if: - - includesModifiedFiles: - files: - - specification/streamanalytics/ - excludedFiles: - - '' - then: - - addLabel: - label: Stream Analytics - - if: - - includesModifiedFiles: - files: - - specification/subscriptions/ - excludedFiles: - - '' - then: - - addLabel: - label: Subscription - - if: - - includesModifiedFiles: - files: - - specification/synapse/ - excludedFiles: - - '' - then: - - addLabel: - label: Synapses - - if: - - includesModifiedFiles: - files: - - specification/loadtestservice/ - excludedFiles: - - '' - then: - - addLabel: - label: Load Test Service - - if: - - includesModifiedFiles: - files: - - specification/maps/ - excludedFiles: - - '' - then: - - addLabel: - label: Maps - - if: - - includesModifiedFiles: - files: - - specification/purview/ - excludedFiles: - - '' - then: - - addLabel: - label: Purview - - if: - - includesModifiedFiles: - files: - - specification/timeseriesinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: TimeseriesInsights - - if: - - includesModifiedFiles: - files: - - specification/trafficmanager/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - Traffic Manager - - if: - - includesModifiedFiles: - files: - - specification/web/ - excludedFiles: - - '' - then: - - addLabel: - label: Web Apps - - if: - - includesModifiedFiles: - files: - - profile/ - excludedFiles: - - '' - then: - - addLabel: - label: Profile - - if: - - includesModifiedFiles: - files: - - specification/hybridcompute/resource-manager/ - - specification/connectedvmware/resource-manager/ - - specification/azurestackhci/resource-manager/ - - specification/scvmm/resource-manager/ - then: - - addLabel: - label: ArcReview - description: - - if: - - payloadType: Pull_Request - then: - - if: - - includesModifiedFiles: - files: - - dev/cognitiveservices/data-plane/Language/ - excludedFiles: - - '' - then: - - addLabel: - label: Cognitive Services - - if: - - includesModifiedFiles: - files: - - specification/analysisservices/ - excludedFiles: - - '' - then: - - addLabel: - label: Analysis Services - - if: - - includesModifiedFiles: - files: - - specification/alertsmanagement/ - excludedFiles: - - '' - then: - - addLabel: - label: Alerts Management - - if: - - includesModifiedFiles: - files: - - specification/apimanagement/ - excludedFiles: - - '' - then: - - addLabel: - label: API Management - - if: - - includesModifiedFiles: - files: - - specification/applicationinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: Insights - - if: - - includesModifiedFiles: - files: - - specification/applicationinsights/data-plane/Monitor.Exporters/ - excludedFiles: - - '' - then: - - addLabel: - label: Monitor - Exporter - - if: - - includesModifiedFiles: - files: - - specification/authorization/ - excludedFiles: - - '' - then: - - addLabel: - label: Authorization - - if: - - includesModifiedFiles: - files: - - specification/automation/ - excludedFiles: - - '' - then: - - addLabel: - label: Automation - - if: - - includesModifiedFiles: - files: - - specification/batch/ - excludedFiles: - - '' - then: - - addLabel: - label: Batch - - if: - - includesModifiedFiles: - files: - - specification/batchai/ - excludedFiles: - - '' - then: - - addLabel: - label: BatchAI - - if: - - includesModifiedFiles: - files: - - specification/billing/ - excludedFiles: - - '' - then: - - addLabel: - label: Billing - - if: - - includesModifiedFiles: - files: - - specification/cdn/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - CDN - - if: - - includesModifiedFiles: - files: - - specification/cognitiveservices/ - excludedFiles: - - '' - then: - - addLabel: - label: Cognitive Services - - if: - - includesModifiedFiles: - files: - - specification/cognitiveservices/data-plane/Language/ - excludedFiles: - - '' - then: - - addLabel: - label: Cognitive - Language - - if: - - includesModifiedFiles: - files: - - specification/compute/ - excludedFiles: - - '' - then: - - addLabel: - label: Compute - - if: - - includesModifiedFiles: - files: - - specification/containerinstance/ - excludedFiles: - - '' - then: - - addLabel: - label: Container Instances - - if: - - includesModifiedFiles: - files: - - specification/containerregistry/ - excludedFiles: - - '' - then: - - addLabel: - label: Container Registry - - if: - - includesModifiedFiles: - files: - - specification/containerservice/ - excludedFiles: - - '' - then: - - addLabel: - label: Container Service - - if: - - includesModifiedFiles: - files: - - specification/cosmos-db/ - excludedFiles: - - '' - then: - - addLabel: - label: Cosmos - - if: - - includesModifiedFiles: - files: - - specification/customer-insights/ - excludedFiles: - - '' - then: - - addLabel: - label: Customer Insights - - if: - - includesModifiedFiles: - files: - - specification/datafactory/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Factory - - if: - - includesModifiedFiles: - files: - - specification/datalake-analytics/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Lake Analytics - - if: - - includesModifiedFiles: - files: - - specification/datalake-store/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Lake Store - - if: - - includesModifiedFiles: - files: - - specification/datamigration/ - excludedFiles: - - '' - then: - - addLabel: - label: Data Migration - - if: - - includesModifiedFiles: - files: - - specification/deviceupdate/data-plane/ - excludedFiles: - - '' - then: - - addLabel: - label: Device Update - - if: - - includesModifiedFiles: - files: - - specification/devtestlabs/ - excludedFiles: - - '' - then: - - addLabel: - label: Devtestlab - - if: - - includesModifiedFiles: - files: - - specification/dns/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - DNS - - if: - - includesModifiedFiles: - files: - - specification/eventgrid/ - excludedFiles: - - '' - then: - - addLabel: - label: Event Grid - - if: - - includesModifiedFiles: - files: - - specification/eventhub/ - excludedFiles: - - '' - then: - - addLabel: - label: Event Hubs - - if: - - includesModifiedFiles: - files: - - specification/hdinsight/ - excludedFiles: - - '' - then: - - addLabel: - label: HDInsight - - if: - - includesModifiedFiles: - files: - - specification/intune/ - excludedFiles: - - '' - then: - - addLabel: - label: Intune - - if: - - includesModifiedFiles: - files: - - specification/iothub/ - excludedFiles: - - '' - then: - - addLabel: - label: IotHub - - if: - - includesModifiedFiles: - files: - - specification/keyvault/ - excludedFiles: - - '' - then: - - addLabel: - label: KeyVault - - if: - - includesModifiedFiles: - files: - - specification/logic/ - excludedFiles: - - '' - then: - - addLabel: - label: Logic App - - if: - - includesModifiedFiles: - files: - - specification/machinelearning/ - excludedFiles: - - '' - then: - - addLabel: - label: Machine Learning - - if: - - includesModifiedFiles: - files: - - specification/machinelearningcompute/ - excludedFiles: - - '' - then: - - addLabel: - label: Machine Learning Compute - - if: - - includesModifiedFiles: - files: - - specification/mediaservices/ - excludedFiles: - - '' - then: - - addLabel: - label: Media Services - - if: - - includesModifiedFiles: - files: - - specification/mobileengagement/ - excludedFiles: - - '' - then: - - addLabel: - label: Mobile Engagement - - if: - - includesModifiedFiles: - files: - - specification/monitor/ - excludedFiles: - - '' - then: - - addLabel: - label: Monitor - - if: - - includesModifiedFiles: - files: - - specification/mysql/ - excludedFiles: - - '' - then: - - addLabel: - label: MySQL - - if: - - includesModifiedFiles: - files: - - specification/network/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - - if: - - includesModifiedFiles: - files: - - specification/notificationhubs/ - excludedFiles: - - '' - then: - - addLabel: - label: Notification Hub - - if: - - includesModifiedFiles: - files: - - specification/operationalinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: Monitor - Operational Insights - - if: - - includesModifiedFiles: - files: - - specification/operationsmanagement/ - excludedFiles: - - '' - then: - - addLabel: - label: Operations Management - - if: - - includesModifiedFiles: - files: - - specification/peering/ - excludedFiles: - - '' - then: - - addLabel: - label: Peering - - if: - - includesModifiedFiles: - files: - - specification/policyinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: Policy Insights - - if: - - includesModifiedFiles: - files: - - specification/postgresql/ - excludedFiles: - - '' - then: - - addLabel: - label: PostgreSQL - - if: - - includesModifiedFiles: - files: - - specification/provisioningservices/ - excludedFiles: - - '' - then: - - addLabel: - label: PostgreSQL - - if: - - includesModifiedFiles: - files: - - specification/recoveryservices/ - excludedFiles: - - '' - then: - - addLabel: - label: RecoveryServices - - if: - - includesModifiedFiles: - files: - - specification/recoveryservicesbackup/ - excludedFiles: - - '' - then: - - addLabel: - label: Recovery Services Backup - - if: - - includesModifiedFiles: - files: - - specification/recoveryservicessiterecovery/ - excludedFiles: - - '' - then: - - addLabel: - label: Recovery Services Site-Recovery - - if: - - includesModifiedFiles: - files: - - specification/redis/ - excludedFiles: - - '' - then: - - addLabel: - label: Redis Cache - - if: - - includesModifiedFiles: - files: - - specification/relay/ - excludedFiles: - - '' - then: - - addLabel: - label: Relay - - if: - - includesModifiedFiles: - files: - - specification/scheduler/ - excludedFiles: - - '' - then: - - addLabel: - label: Scheduler - - if: - - includesModifiedFiles: - files: - - specification/search/data-plane/ - excludedFiles: - - '' - then: - - addLabel: - label: Search - - if: - - includesModifiedFiles: - files: - - specification/search/resource-manager/ - excludedFiles: - - '' - then: - - addLabel: - label: Search - - if: - - includesModifiedFiles: - files: - - specification/service-map/ - excludedFiles: - - '' - then: - - addLabel: - label: Service Map - - if: - - includesModifiedFiles: - files: - - specification/servicebus/ - excludedFiles: - - '' - then: - - addLabel: - label: Service Bus - - if: - - includesModifiedFiles: - files: - - specification/servicefabric/ - excludedFiles: - - '' - then: - - addLabel: - label: Service Fabric - - if: - - includesModifiedFiles: - files: - - specification/sql/ - excludedFiles: - - '' - then: - - addLabel: - label: SQL - - if: - - includesModifiedFiles: - files: - - specification/storage/ - excludedFiles: - - '' - then: - - addLabel: - label: Storage - - if: - - includesModifiedFiles: - files: - - specification/storageimportexport/ - excludedFiles: - - '' - then: - - addLabel: - label: Import Export - - if: - - includesModifiedFiles: - files: - - specification/storagesync/ - excludedFiles: - - '' - then: - - addLabel: - label: StorageSync - - if: - - includesModifiedFiles: - files: - - specification/storsimple8000series/ - excludedFiles: - - '' - then: - - addLabel: - label: Storsimple - - if: - - includesModifiedFiles: - files: - - specification/streamanalytics/ - excludedFiles: - - '' - then: - - addLabel: - label: Stream Analytics - - if: - - includesModifiedFiles: - files: - - specification/subscriptions/ - excludedFiles: - - '' - then: - - addLabel: - label: Subscription - - if: - - includesModifiedFiles: - files: - - specification/synapse/ - excludedFiles: - - '' - then: - - addLabel: - label: Synapses - - if: - - includesModifiedFiles: - files: - - specification/timeseriesinsights/ - excludedFiles: - - '' - then: - - addLabel: - label: TimeseriesInsights - - if: - - includesModifiedFiles: - files: - - specification/trafficmanager/ - excludedFiles: - - '' - then: - - addLabel: - label: Network - Traffic Manager - - if: - - includesModifiedFiles: - files: - - specification/web/ - excludedFiles: - - '' - then: - - addLabel: - label: Web Apps - - if: - - includesModifiedFiles: - files: - - profile/ - excludedFiles: - - '' - then: - - addLabel: - label: Profile - description: - - if: - - payloadType: Issues - - hasLabel: - label: customer-reported - - hasLabel: - label: needs-triage - - isAction: - action: Labeled - then: - - addLabel: - label: CXP Attention - description: -onFailure: -onSuccess: +id: +name: GitOps.PullRequestIssueManagement +description: GitOps.PullRequestIssueManagement primitive +owner: +resource: repository +disabled: false +where: +configuration: + resourceManagementConfiguration: + scheduledSearches: + - description: + frequencies: + - daily: + time: 1:0 + filters: + - isIssue + - isOpen + - hasLabel: + label: needs-author-feedback + - hasLabel: + label: no-recent-activity + - noActivitySince: + days: 14 + actions: + - closeIssue + - description: + frequencies: + - hourly: + hour: 6 + filters: + - isIssue + - isOpen + - hasLabel: + label: needs-author-feedback + - noActivitySince: + days: 7 + - isNotLabeledWith: + label: no-recent-activity + actions: + - addLabel: + label: no-recent-activity + - addReply: + reply: Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next **7 days**. If we don't hear back from you within **14 days** of this comment the issue will be automatically closed. Thank you! + - description: + frequencies: + - weekday: + day: Monday + time: 0:0 + filters: + - noActivitySince: + days: 14 + - isOpen + - isNotLabeledWith: + label: no-recent-activity + - isNotLabeledWith: + label: customer-reported + - isPullRequest + - isNotDraftPullRequest + actions: + - addReply: + reply: 'Hi, @${issueAuthor}. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove `no-recent-activity` label. ' + - addLabel: + label: no-recent-activity + - description: + frequencies: + - daily: + time: 13:0 + filters: + - isOpen + - hasLabel: + label: no-recent-activity + - noActivitySince: + days: 14 + - isNotLabeledWith: + label: customer-reported + actions: + - closeIssue + - addReply: + reply: Hi, @${issueAuthor}. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. + eventResponderTasks: + - if: + - payloadType: Issue_Comment + - isAction: + action: Created + - isActivitySender: + issueAuthor: True + - hasLabel: + label: needs-author-feedback + - isOpen + then: + - addLabel: + label: needs-team-attention + - removeLabel: + label: needs-author-feedback + description: + - if: + - payloadType: Issues + - not: + isAction: + action: Closed + - hasLabel: + label: no-recent-activity + then: + - removeLabel: + label: no-recent-activity + description: + - if: + - payloadType: Issue_Comment + - hasLabel: + label: no-recent-activity + then: + - removeLabel: + label: no-recent-activity + description: + - if: + - payloadType: Issues + - isAction: + action: Labeled + - hasLabel: + label: needs-triage + - not: + labelAdded: + label: needs-triage + then: + - removeLabel: + label: needs-triage + description: + - if: + - payloadType: Issues + - isOpen + - hasLabel: + label: customer-reported + - labelRemoved: + label: Service Attention + then: + - addLabel: + label: needs-team-triage + description: + - if: + - payloadType: Issues + - isAction: + action: Opened + - and: + - not: + activitySenderHasPermission: + permission: Write + - not: + activitySenderHasAssociation: + association: Member + - not: + activitySenderHasAssociation: + association: Collaborator + - not: + activitySenderHasPermission: + permission: Admin + then: + - addLabel: + label: question + description: + - if: + - or: + - payloadType: Issues + - isAction: + action: Opened + then: + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: AKS + then: + - mentionUsers: + mentionees: + - Azure/aks-pm + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Alerts Management + then: + - mentionUsers: + mentionees: + - liadtal + - yairgil + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM + then: + - mentionUsers: + mentionees: + - josephkwchan + - jennyhunter-msft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM - Templates + then: + - mentionUsers: + mentionees: + - Azure/deployments-owners + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM - Tags + then: + - mentionUsers: + mentionees: + - rthorn17 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM - Core + then: + - mentionUsers: + mentionees: + - josephkwchan + - jennyhunter-msft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM - Managed Applications + then: + - mentionUsers: + mentionees: + - MSEvanhi + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM - Service Catalog + then: + - mentionUsers: + mentionees: + - MSEvanhi + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARM - RBAC + then: + - mentionUsers: + mentionees: + - LizMS + - cbrooksmsft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Advisor + then: + - mentionUsers: + mentionees: + - mojayara + - Prasanna-Padmanabhan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Analysis Services + then: + - mentionUsers: + mentionees: + - athipp + - taiwu + - minghan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: API Management + then: + - mentionUsers: + mentionees: + - adrianhall + - KedarJoshi + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Application Insights + then: + - mentionUsers: + mentionees: + - azmonapplicationinsights + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: App Services + then: + - mentionUsers: + mentionees: + - antcp + - AzureAppServiceCLI + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: App Configuration + then: + - mentionUsers: + mentionees: + - jiayi11 + - avanigupta + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ARO + then: + - mentionUsers: + mentionees: + - mjudeikis + - jim-minter + - julienstroheker + - amanohar + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Attestation + then: + - mentionUsers: + mentionees: + - anilba06 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Authorization + then: + - mentionUsers: + mentionees: + - darshanhs90 + - AshishGargMicrosoft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Automation + then: + - mentionUsers: + mentionees: + - jaspkaur28 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: AVS + then: + - mentionUsers: + mentionees: + - divka78 + - amitchat + - aishu + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Azure Stack + then: + - mentionUsers: + mentionees: + - sijuman + - sarathys + - bganapa + - rakku-ms + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Batch + then: + - mentionUsers: + mentionees: + - cRui861 + - paterasMSFT + - gingi + - dpwatrous + - mksuni + - bgklein + - mscurrell + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: BatchAI + then: + - mentionUsers: + mentionees: + - matthchr + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Billing + then: + - mentionUsers: + mentionees: + - cabbpt + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Blueprint + then: + - mentionUsers: + mentionees: + - alex-frankel + - filizt + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Bot Service + then: + - mentionUsers: + mentionees: + - sgellock + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cloud Shell + then: + - mentionUsers: + mentionees: + - maertendMSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Text Analytics + then: + - mentionUsers: + mentionees: + - assafi + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Form Recognizer + then: + - mentionUsers: + mentionees: + - ctstone + - anrothMSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Anomaly Detector + then: + - mentionUsers: + mentionees: + - yingqunpku + - bowgong + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Custom Vision + then: + - mentionUsers: + mentionees: + - areddish + - tburns10 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Computer Vision + then: + - mentionUsers: + mentionees: + - ryogok + - TFR258 + - tburns10 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Face + then: + - mentionUsers: + mentionees: + - JinyuID + - dipidoo + - SteveMSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - QnA Maker + then: + - mentionUsers: + mentionees: + - bingisbestest + - nerajput1607 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Translator + then: + - mentionUsers: + mentionees: + - swmachan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Speech + then: + - mentionUsers: + mentionees: + - robch + - oscholz + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - LUIS + then: + - mentionUsers: + mentionees: + - cahann + - kayousef + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Content Moderator + then: + - mentionUsers: + mentionees: + - swiftarrow11 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Personalizer + then: + - mentionUsers: + mentionees: + - dwaijam + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Immersive Reader + then: + - mentionUsers: + mentionees: + - metanMSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Ink Recognizer + then: + - mentionUsers: + mentionees: + - olduroja + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Bing + then: + - mentionUsers: + mentionees: + - jaggerbodas-ms + - arwong + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cognitive - Mgmt + then: + - mentionUsers: + mentionees: + - yangyuan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Commerce + then: + - mentionUsers: + mentionees: + - ms-premp + - qiaozha + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute + then: + - mentionUsers: + mentionees: + - Drewm3 + - TravisCragg-MSFT + - nikhilpatel909 + - sandeepraichura + - hilaryw29 + - GabstaMSFT + - ramankumarlive + - ushnaarshadkhan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute - Extensions + then: + - mentionUsers: + mentionees: + - TravisCragg-MSFT + - GabstaMSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute - Images + then: + - mentionUsers: + mentionees: + - TravisCragg-MSFT + - sandeepraichura + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute - Managed Disks + then: + - mentionUsers: + mentionees: + - TravisCragg-MSFT + - ramankumarlive + - ushnaarshadkhan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute - RDFE + then: + - mentionUsers: + mentionees: + - Drewm3 + - TravisCragg-MSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute - VM + then: + - mentionUsers: + mentionees: + - Drewm3 + - TravisCragg-MSFT + - nikhilpatel909 + - sandeepraichura + - hilaryw29 + - GabstaMSFT + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Compute - VMSS + then: + - mentionUsers: + mentionees: + - TravisCragg-MSFT + - hilaryw29 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Connected Kubernetes + then: + - mentionUsers: + mentionees: + - akashkeshari + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Container Instances + then: + - mentionUsers: + mentionees: + - macolso + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Container Registry + then: + - mentionUsers: + mentionees: + - toddysm + - luisdlp + - northtyphoon + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Container Service + then: + - mentionUsers: + mentionees: + - qike-ms + - jwilder + - thomas1206 + - seanmck + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cosmos + then: + - mentionUsers: + mentionees: + - pjohari-ms + - MehaKaushik + - zfoster + - kushagraThapar + - simorenoh + - simplynaveen20 + - abinav2307 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Customer Insights + then: + - mentionUsers: + mentionees: + - shefymk + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Custom Providers + then: + - mentionUsers: + mentionees: + - manoharp + - MSEvanhi + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: CycleCloud + then: + - mentionUsers: + mentionees: + - adriankjohnson + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Bricks + then: + - mentionUsers: + mentionees: + - arindamc + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: DataBox + then: + - mentionUsers: + mentionees: + - tmvishwajit + - matdickson + - manuaery + - madhurinms + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: DataBox Edge + then: + - mentionUsers: + mentionees: + - a-t-mason + - ganzee + - manuaery + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Catalog + then: + - mentionUsers: + mentionees: + - ingave + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Factory + then: + - mentionUsers: + mentionees: + - Jingshu923 + - zhangyd2015 + - Frey-Wang + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Lake + then: + - mentionUsers: + mentionees: + - sumantmehtams + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Lake Storage Gen1 + then: + - mentionUsers: + mentionees: + - sumantmehtams + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Lake Storage Gen2 + then: + - mentionUsers: + mentionees: + - sumantmehtams + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Lake Analytics + then: + - mentionUsers: + mentionees: + - idear1203 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Lake Store + then: + - mentionUsers: + mentionees: + - sumantmehtams + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Migration + then: + - mentionUsers: + mentionees: + - radjaram + - kavitham10 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Data Share + then: + - mentionUsers: + mentionees: + - raedJarrar + - jifems + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: DevOps + then: + - mentionUsers: + mentionees: + - v-anvashist + - V-hmusukula + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Dev Spaces + then: + - mentionUsers: + mentionees: + - yuzorMa + - johnsta + - greenie-msft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Devtestlab + then: + - mentionUsers: + mentionees: + - Tanmayeekamath + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Device Provisioning Service + then: + - mentionUsers: + mentionees: + - nberdy + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Digital Twins + then: + - mentionUsers: + mentionees: + - sourabhguha + - inesk-vt + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Event Grid + then: + - mentionUsers: + mentionees: + - jfggdl + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Event Hubs + then: + - mentionUsers: + mentionees: + - Saglodha + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Functions + then: + - mentionUsers: + mentionees: + - Stefanus Hinardi + - Francisco-Gamino + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Graph.Microsoft + then: + - mentionUsers: + mentionees: + - dkershaw10 + - baywet + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Guest Configuration + then: + - mentionUsers: + mentionees: + - mgreenegit + - vivlingaiah + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: HDInsight + then: + - mentionUsers: + mentionees: + - aim-for-better + - idear1203 + - deshriva + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: HPC Cache + then: + - mentionUsers: + mentionees: + - romahamu + - omzevall + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Import Export + then: + - mentionUsers: + mentionees: + - madhurinms + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: KeyVault + then: + - mentionUsers: + mentionees: + - RandalliLama + - schaabs + - jlichwa + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Kubernetes Configuration + then: + - mentionUsers: + mentionees: + - NarayanThiru + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Azure Data Explorer + then: + - mentionUsers: + mentionees: + - ilayrn + - orhasban + - zoharHenMicrosoft + - sagivf + - Aviv-Yaniv + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Lab Services + then: + - mentionUsers: + mentionees: + - Tanmayeekamath + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Logic App + then: + - mentionUsers: + mentionees: + - Azure/azure-logicapps-team + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: LOUIS + then: + - mentionUsers: + mentionees: + - minamnmik + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Machine Learning + then: + - mentionUsers: + mentionees: + - azureml-github + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Machine Learning Compute + then: + - mentionUsers: + mentionees: + - azureml-github + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Machine Learning Experimentation + then: + - mentionUsers: + mentionees: + - aashishb + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Managed Services + then: + - mentionUsers: + mentionees: + - Lighthouse-Azure + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: MariaDB + then: + - mentionUsers: + mentionees: + - ambhatna + - savjani + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Marketplace Ordering + then: + - mentionUsers: + mentionees: + - prbansa + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Media Services + then: + - mentionUsers: + mentionees: + - akucer + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Migrate + then: + - mentionUsers: + mentionees: + - shijojoy + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Mobile Engagement + then: + - mentionUsers: + mentionees: + - kpiteira + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor + then: + - mentionUsers: + mentionees: + - SameergMS + - dadunl + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - Autoscale + then: + - mentionUsers: + mentionees: + - AzMonEssential + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - ActivityLogs + then: + - mentionUsers: + mentionees: + - AzMonEssential + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - Metrics + then: + - mentionUsers: + mentionees: + - AzMonEssential + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - Diagnostic Settings + then: + - mentionUsers: + mentionees: + - AzMonEssential + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - Alerts + then: + - mentionUsers: + mentionees: + - AzmonAlerts + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - ActionGroups + then: + - mentionUsers: + mentionees: + - AzmonActionG + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - LogAnalytics + then: + - mentionUsers: + mentionees: + - AzmonLogA + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Monitor - ApplicationInsights + then: + - mentionUsers: + mentionees: + - azmonapplicationinsights + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: MySQL + then: + - mentionUsers: + mentionees: + - ambhatna + - savjani + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network + then: + - mentionUsers: + mentionees: + - aznetsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Application Gateway + then: + - mentionUsers: + mentionees: + - appgwsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - CDN + then: + - mentionUsers: + mentionees: + - t-bzhan + - gxue + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - DDOS Protection + then: + - mentionUsers: + mentionees: + - ddossuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - ExpressRoute + then: + - mentionUsers: + mentionees: + - exrsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Firewall + then: + - mentionUsers: + mentionees: + - fwsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Front Door + then: + - mentionUsers: + mentionees: + - cdnfdsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Load Balancer + then: + - mentionUsers: + mentionees: + - slbsupportgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Virtual Network NAT + then: + - mentionUsers: + mentionees: + - vnetsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Network Watcher + then: + - mentionUsers: + mentionees: + - netwatchsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - DNS + then: + - mentionUsers: + mentionees: + - dnssuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Traffic Manager + then: + - mentionUsers: + mentionees: + - tmsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - VPN Gateway + then: + - mentionUsers: + mentionees: + - vpngwsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Notification Hub + then: + - mentionUsers: + mentionees: + - tjsomasundaram + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Operational Insights + then: + - mentionUsers: + mentionees: + - AzmonLogA + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Policy + then: + - mentionUsers: + mentionees: + - aperezcloud + - kenieva + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Policy Insights + then: + - mentionUsers: + mentionees: + - kenieva + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: PostgreSQL + then: + - mentionUsers: + mentionees: + - sunilagarwal + - lfittl-msft + - sr-msft + - niklarin + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Recovery Services Backup + then: + - mentionUsers: + mentionees: + - pvrk + - adityabalaji-msft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Recovery Services Site-Recovery + then: + - mentionUsers: + mentionees: + - Sharmistha-Rai + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Redis Cache + then: + - mentionUsers: + mentionees: + - yegu-ms + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Relay + then: + - mentionUsers: + mentionees: + - jfggdl + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Reservations + then: + - mentionUsers: + mentionees: + - Rkapso + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Resource Authorization + then: + - mentionUsers: + mentionees: + - darshanhs90 + - AshishGargMicrosoft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Resource Graph + then: + - mentionUsers: + mentionees: + - chiragg4u + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Resource Health + then: + - mentionUsers: + mentionees: + - stephbaron + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Scheduler + then: + - mentionUsers: + mentionees: + - derek1ee + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Search + then: + - mentionUsers: + mentionees: + - bleroy + - tjacobhi + - markheff + - miwelsh + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Security + then: + - mentionUsers: + mentionees: + - chlahav + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Service Bus + then: + - mentionUsers: + mentionees: + - Saglodha + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Service Fabric + then: + - mentionUsers: + mentionees: + - QingChenmsft + - vaishnavk + - juhacket + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Schema Registry + then: + - mentionUsers: + mentionees: + - arerlend + - alzimmermsft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SignalR + then: + - mentionUsers: + mentionees: + - sffamily + - chenkennt + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL - VM + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL - Backup & Restore + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL - Data Security + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL - Elastic Jobs + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL - Managed Instance + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SQL - Replication & Failover + then: + - mentionUsers: + mentionees: + - azureSQLGitHub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Storage + then: + - mentionUsers: + mentionees: + - xgithubtriage + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Storsimple + then: + - mentionUsers: + mentionees: + - anoobbacker + - ganzee + - manuaery + - patelkunal + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Stream Analytics + then: + - mentionUsers: + mentionees: + - atpham256 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Subscription + then: + - mentionUsers: + mentionees: + - anuragdalmia + - shilpigautam + - ramaganesan-rg + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Support + then: + - mentionUsers: + mentionees: + - shahbj79 + - mit2nil + - aygoya + - ganganarayanan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Synapse + then: + - mentionUsers: + mentionees: + - wonner + - yanjungao718 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Tables + then: + - mentionUsers: + mentionees: + - klaaslanghout + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: TimeseriesInsights + then: + - mentionUsers: + mentionees: + - Shipra1Mishra + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: vFXT + then: + - mentionUsers: + mentionees: + - zhusijia26 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Web Apps + then: + - mentionUsers: + mentionees: + - AzureAppServiceCLI + - antcp + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Virtual Network + then: + - mentionUsers: + mentionees: + - vnetsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Virtual WAN + then: + - mentionUsers: + mentionees: + - vwansuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Network Virtual Appliance + then: + - mentionUsers: + mentionees: + - nvasuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Bastion + then: + - mentionUsers: + mentionees: + - bastionsuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: IoT/CLI + then: + - mentionUsers: + mentionees: + - Azure/azure-iot-cli-triage + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Azure.Spring - Cosmos + then: + - mentionUsers: + mentionees: + - kushagraThapur + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Network - Private Link + then: + - mentionUsers: + mentionees: + - privlinksuppgithub + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Azure arc enabled servers + then: + - mentionUsers: + mentionees: + - rpsqrd + - edyoung + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: SecurityInsights + then: + - mentionUsers: + mentionees: + - amirkeren + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Azure Data Explorer + then: + - mentionUsers: + mentionees: + - Ilayrn + - orhasban + - zoharHenMicrosoft + - sagivf + - Aviv-Yaniv + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Communication + then: + - mentionUsers: + mentionees: + - acsdevx-msft + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cost Management and Consumption + then: + - mentionUsers: + mentionees: + - ccmaxpcrew + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: ML-AutoML + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - Aniththa + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Hyperdrive + then: + - mentionUsers: + mentionees: + - Aniththa + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Compute + then: + - mentionUsers: + mentionees: + - nishankgu + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Core UI + then: + - mentionUsers: + mentionees: + - abeomor + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Data4ML + then: + - mentionUsers: + mentionees: + - SturgeonMi + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Designer + then: + - mentionUsers: + mentionees: + - alainli0928 + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Data Labeling + then: + - mentionUsers: + mentionees: + - kvijaykannan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-Inference + then: + - mentionUsers: + mentionees: + - shivanissambare + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ML-MLOps + then: + - mentionUsers: + mentionees: + - lostmygithubaccount + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: ML-Pipelines + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - shbijlan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: ML-Responsible AI + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - minthigpen + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: ML-Reinforcement Learning + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - keijik + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: ML-Training + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - lostmygithubaccount + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: ML-Workspace Management + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - rastala + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Spring Cloud + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - ShichaoQiu + - yuwzho + - yucwan + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cost Management-Budget + then: + - mentionUsers: + mentionees: + - ccmaxpcrew + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Consumption-Budget + then: + - mentionUsers: + mentionees: + - ccmaxpcrew + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cost Management-Query + then: + - mentionUsers: + mentionees: + - ccmixpdevs + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Consumption-Query + then: + - mentionUsers: + mentionees: + - ccmixpdevs + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cost Management-Billing + then: + - mentionUsers: + mentionees: + - ccmbpxpcrew + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Consumption-Billing + then: + - mentionUsers: + mentionees: + - ccmbpxpcrew + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cost Management-UsageDetailsAndExport + then: + - mentionUsers: + mentionees: + - TiagoCrewGitHubIssues + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Consumption-UsageDetailsandExport + then: + - mentionUsers: + mentionees: + - TiagoCrewGitHubIssues + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Consumption- RIandShowBack + then: + - mentionUsers: + mentionees: + - ccmshowbackdevs + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Serial Console + then: + - mentionUsers: + mentionees: + - CraigWiand + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Monitor - Exporter + - hasLabel: + label: Service Attention + then: + - mentionUsers: + mentionees: + - cijothomas + - reyang + - rajkumar-rangaraj + - TimothyMothra + - vishweshbankwar + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: Cost Management-RIandShowBack + then: + - mentionUsers: + mentionees: + - ccmshowbackdevs + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + - if: + - hasLabel: + label: Service Attention + - hasLabel: + label: ContainerApp + then: + - mentionUsers: + mentionees: + - calvinsID + replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}. + assignMentionees: False + description: + - if: + - payloadType: Pull_Request + - isAction: + action: Opened + - and: + - not: + activitySenderHasPermission: + permission: Write + - not: + activitySenderHasAssociation: + association: Member + - not: + activitySenderHasAssociation: + association: Collaborator + - not: + activitySenderHasPermission: + permission: Admin + then: + - addLabel: + label: customer-reported + - addReply: + reply: Thank you for your contribution ${issueAuthor}! We will review the pull request and get back to you soon. + description: + - if: + - payloadType: Pull_Request + - hasLabel: + label: no-recent-activity + - or: + - isAction: + action: Synchronize + - isAction: + action: Null + - isAction: + action: Unlabeled + - isAction: + action: Edited + - isAction: + action: Null + - isAction: + action: Reopened + - isAction: + action: Labeled + - isAction: + action: Edited + then: + - removeLabel: + label: no-recent-activity + description: + - if: + - payloadType: Pull_Request + then: + - if: + - includesModifiedFiles: + files: + - specification/apimanagement/resource-manager + then: + - addLabel: + label: API Management + - if: + - includesModifiedFiles: + files: + - specification/compute/resource-manager + then: + - addLabel: + label: Compute + - if: + - includesModifiedFiles: + files: + - specification/network/resource-manager + then: + - addLabel: + label: Network + - if: + - includesModifiedFiles: + files: + - specification/sql/resource-manager + then: + - addLabel: + label: SQL + - if: + - includesModifiedFiles: + files: + - specification/storage/resource-manager + then: + - addLabel: + label: Storage + - if: + - includesModifiedFiles: + files: + - specification/synapse + then: + - addLabel: + label: Synapses + description: + - if: + - payloadType: Issue_Comment + - hasLabel: + label: no-recent-activity + - isOpen + then: + - removeLabel: + label: no-recent-activity + description: + - if: + - payloadType: Issues + - isAction: + action: Opened + - and: + - not: + activitySenderHasPermission: + permission: Write + - not: + activitySenderHasAssociation: + association: Member + - not: + activitySenderHasAssociation: + association: Collaborator + - not: + activitySenderHasPermission: + permission: Admin + then: + - addLabel: + label: customer-reported + - addLabel: + label: question + description: + - if: + - payloadType: Pull_Request + then: + - if: + - includesModifiedFiles: + files: + - dev/cognitiveservices/data-plane/Language/ + excludedFiles: + - '' + then: + - addLabel: + label: Cognitive Services + - if: + - includesModifiedFiles: + files: + - specification/analysisservices/ + excludedFiles: + - '' + then: + - addLabel: + label: Analysis Services + - if: + - includesModifiedFiles: + files: + - specification/alertsmanagement/ + excludedFiles: + - '' + then: + - addLabel: + label: Alerts Management + - if: + - includesModifiedFiles: + files: + - specification/apimanagement/ + excludedFiles: + - '' + then: + - addLabel: + label: API Management + - if: + - includesModifiedFiles: + files: + - specification/applicationinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: Insights + - if: + - includesModifiedFiles: + files: + - specification/applicationinsights/data-plane/Monitor.Exporters/ + excludedFiles: + - '' + then: + - addLabel: + label: Monitor - Exporter + - if: + - includesModifiedFiles: + files: + - specification/authorization/ + excludedFiles: + - '' + then: + - addLabel: + label: Authorization + - if: + - includesModifiedFiles: + files: + - specification/automation/ + excludedFiles: + - '' + then: + - addLabel: + label: Automation + - if: + - includesModifiedFiles: + files: + - specification/batch/ + excludedFiles: + - '' + then: + - addLabel: + label: Batch + - if: + - includesModifiedFiles: + files: + - specification/batchai/ + excludedFiles: + - '' + then: + - addLabel: + label: BatchAI + - if: + - includesModifiedFiles: + files: + - specification/billing/ + excludedFiles: + - '' + then: + - addLabel: + label: Billing + - if: + - includesModifiedFiles: + files: + - specification/cdn/ + excludedFiles: + - '' + then: + - addLabel: + label: Network - CDN + - if: + - includesModifiedFiles: + files: + - specification/cognitiveservices/ + excludedFiles: + - '' + then: + - addLabel: + label: Cognitive Services + - if: + - includesModifiedFiles: + files: + - specification/cognitiveservices/data-plane/Language/ + excludedFiles: + - '' + then: + - addLabel: + label: Cognitive - Language + - if: + - includesModifiedFiles: + files: + - specification/compute/ + excludedFiles: + - '' + then: + - addLabel: + label: Compute + - if: + - includesModifiedFiles: + files: + - specification/containerinstance/ + excludedFiles: + - '' + then: + - addLabel: + label: Container Instances + - if: + - includesModifiedFiles: + files: + - specification/containerregistry/ + excludedFiles: + - '' + then: + - addLabel: + label: Container Registry + - if: + - includesModifiedFiles: + files: + - specification/containerservice/ + excludedFiles: + - '' + then: + - addLabel: + label: Container Service + - if: + - includesModifiedFiles: + files: + - specification/cosmos-db/ + excludedFiles: + - '' + then: + - addLabel: + label: Cosmos + - if: + - includesModifiedFiles: + files: + - specification/customer-insights/ + excludedFiles: + - '' + then: + - addLabel: + label: Customer Insights + - if: + - includesModifiedFiles: + files: + - specification/datafactory/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Factory + - if: + - includesModifiedFiles: + files: + - specification/datalake-analytics/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Lake Analytics + - if: + - includesModifiedFiles: + files: + - specification/datalake-store/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Lake Store + - if: + - includesModifiedFiles: + files: + - specification/datamigration/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Migration + - if: + - includesModifiedFiles: + files: + - specification/deviceupdate/data-plane/ + excludedFiles: + - '' + then: + - addLabel: + label: Device Update + - if: + - includesModifiedFiles: + files: + - specification/devtestlabs/ + excludedFiles: + - '' + then: + - addLabel: + label: Devtestlab + - if: + - includesModifiedFiles: + files: + - specification/dns/ + excludedFiles: + - '' + then: + - addLabel: + label: Network - DNS + - if: + - includesModifiedFiles: + files: + - specification/eventgrid/ + excludedFiles: + - '' + then: + - addLabel: + label: Event Grid + - if: + - includesModifiedFiles: + files: + - specification/eventhub/ + excludedFiles: + - '' + then: + - addLabel: + label: Event Hubs + - if: + - includesModifiedFiles: + files: + - specification/hdinsight/ + excludedFiles: + - '' + then: + - addLabel: + label: HDInsight + - if: + - includesModifiedFiles: + files: + - specification/intune/ + excludedFiles: + - '' + then: + - addLabel: + label: Intune + - if: + - includesModifiedFiles: + files: + - specification/iothub/ + excludedFiles: + - '' + then: + - addLabel: + label: IotHub + - if: + - includesModifiedFiles: + files: + - specification/keyvault/ + excludedFiles: + - '' + then: + - addLabel: + label: KeyVault + - if: + - includesModifiedFiles: + files: + - specification/logic/ + excludedFiles: + - '' + then: + - addLabel: + label: Logic App + - if: + - includesModifiedFiles: + files: + - specification/machinelearning/ + excludedFiles: + - '' + then: + - addLabel: + label: Machine Learning + - if: + - includesModifiedFiles: + files: + - specification/machinelearningcompute/ + excludedFiles: + - '' + then: + - addLabel: + label: Machine Learning Compute + - if: + - includesModifiedFiles: + files: + - specification/mediaservices/ + excludedFiles: + - '' + then: + - addLabel: + label: Media Services + - if: + - includesModifiedFiles: + files: + - specification/mobileengagement/ + excludedFiles: + - '' + then: + - addLabel: + label: Mobile Engagement + - if: + - includesModifiedFiles: + files: + - specification/monitor/ + excludedFiles: + - '' + then: + - addLabel: + label: Monitor + - if: + - includesModifiedFiles: + files: + - specification/mysql/ + excludedFiles: + - '' + then: + - addLabel: + label: MySQL + - if: + - includesModifiedFiles: + files: + - specification/network/ + excludedFiles: + - '' + then: + - addLabel: + label: Network + - if: + - includesModifiedFiles: + files: + - specification/notificationhubs/ + excludedFiles: + - '' + then: + - addLabel: + label: Notification Hub + - if: + - includesModifiedFiles: + files: + - specification/operationalinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: Monitor - Operational Insights + - if: + - includesModifiedFiles: + files: + - specification/operationsmanagement/ + excludedFiles: + - '' + then: + - addLabel: + label: Operations Management + - if: + - includesModifiedFiles: + files: + - specification/peering/ + excludedFiles: + - '' + then: + - addLabel: + label: Peering + - if: + - includesModifiedFiles: + files: + - specification/policyinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: Policy Insights + - if: + - includesModifiedFiles: + files: + - specification/postgresql/ + excludedFiles: + - '' + then: + - addLabel: + label: PostgreSQL + - if: + - includesModifiedFiles: + files: + - specification/provisioningservices/ + excludedFiles: + - '' + then: + - addLabel: + label: PostgreSQL + - if: + - includesModifiedFiles: + files: + - specification/recoveryservices/ + excludedFiles: + - '' + then: + - addLabel: + label: RecoveryServices + - if: + - includesModifiedFiles: + files: + - specification/recoveryservicesbackup/ + excludedFiles: + - '' + then: + - addLabel: + label: Recovery Services Backup + - if: + - includesModifiedFiles: + files: + - specification/recoveryservicessiterecovery/ + excludedFiles: + - '' + then: + - addLabel: + label: Recovery Services Site-Recovery + - if: + - includesModifiedFiles: + files: + - specification/redis/ + excludedFiles: + - '' + then: + - addLabel: + label: Redis Cache + - if: + - includesModifiedFiles: + files: + - specification/relay/ + excludedFiles: + - '' + then: + - addLabel: + label: Relay + - if: + - includesModifiedFiles: + files: + - specification/scheduler/ + excludedFiles: + - '' + then: + - addLabel: + label: Scheduler + - if: + - includesModifiedFiles: + files: + - specification/search/data-plane/ + excludedFiles: + - '' + then: + - addLabel: + label: Search + - if: + - includesModifiedFiles: + files: + - specification/search/resource-manager/ + excludedFiles: + - '' + then: + - addLabel: + label: Search + - if: + - includesModifiedFiles: + files: + - specification/service-map/ + excludedFiles: + - '' + then: + - addLabel: + label: Service Map + - if: + - includesModifiedFiles: + files: + - specification/servicebus/ + excludedFiles: + - '' + then: + - addLabel: + label: Service Bus + - if: + - includesModifiedFiles: + files: + - specification/servicefabric/ + excludedFiles: + - '' + then: + - addLabel: + label: Service Fabric + - if: + - includesModifiedFiles: + files: + - specification/sql/ + excludedFiles: + - '' + then: + - addLabel: + label: SQL + - if: + - includesModifiedFiles: + files: + - specification/storage/ + excludedFiles: + - '' + then: + - addLabel: + label: Storage + - if: + - includesModifiedFiles: + files: + - specification/storageimportexport/ + excludedFiles: + - '' + then: + - addLabel: + label: Import Export + - if: + - includesModifiedFiles: + files: + - specification/storagesync/ + excludedFiles: + - '' + then: + - addLabel: + label: StorageSync + - if: + - includesModifiedFiles: + files: + - specification/storsimple8000series/ + excludedFiles: + - '' + then: + - addLabel: + label: Storsimple + - if: + - includesModifiedFiles: + files: + - specification/streamanalytics/ + excludedFiles: + - '' + then: + - addLabel: + label: Stream Analytics + - if: + - includesModifiedFiles: + files: + - specification/subscriptions/ + excludedFiles: + - '' + then: + - addLabel: + label: Subscription + - if: + - includesModifiedFiles: + files: + - specification/synapse/ + excludedFiles: + - '' + then: + - addLabel: + label: Synapses + - if: + - includesModifiedFiles: + files: + - specification/loadtestservice/ + excludedFiles: + - '' + then: + - addLabel: + label: Load Test Service + - if: + - includesModifiedFiles: + files: + - specification/maps/ + excludedFiles: + - '' + then: + - addLabel: + label: Maps + - if: + - includesModifiedFiles: + files: + - specification/purview/ + excludedFiles: + - '' + then: + - addLabel: + label: Purview + - if: + - includesModifiedFiles: + files: + - specification/timeseriesinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: TimeseriesInsights + - if: + - includesModifiedFiles: + files: + - specification/trafficmanager/ + excludedFiles: + - '' + then: + - addLabel: + label: Network - Traffic Manager + - if: + - includesModifiedFiles: + files: + - specification/web/ + excludedFiles: + - '' + then: + - addLabel: + label: Web Apps + - if: + - includesModifiedFiles: + files: + - profile/ + excludedFiles: + - '' + then: + - addLabel: + label: Profile + - if: + - includesModifiedFiles: + files: + - specification/hybridcompute/resource-manager/ + - specification/connectedvmware/resource-manager/ + - specification/azurestackhci/resource-manager/ + - specification/scvmm/resource-manager/ + then: + - addLabel: + label: ArcReview + description: + - if: + - payloadType: Pull_Request + then: + - if: + - includesModifiedFiles: + files: + - dev/cognitiveservices/data-plane/Language/ + excludedFiles: + - '' + then: + - addLabel: + label: Cognitive Services + - if: + - includesModifiedFiles: + files: + - specification/analysisservices/ + excludedFiles: + - '' + then: + - addLabel: + label: Analysis Services + - if: + - includesModifiedFiles: + files: + - specification/alertsmanagement/ + excludedFiles: + - '' + then: + - addLabel: + label: Alerts Management + - if: + - includesModifiedFiles: + files: + - specification/apimanagement/ + excludedFiles: + - '' + then: + - addLabel: + label: API Management + - if: + - includesModifiedFiles: + files: + - specification/applicationinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: Insights + - if: + - includesModifiedFiles: + files: + - specification/applicationinsights/data-plane/Monitor.Exporters/ + excludedFiles: + - '' + then: + - addLabel: + label: Monitor - Exporter + - if: + - includesModifiedFiles: + files: + - specification/authorization/ + excludedFiles: + - '' + then: + - addLabel: + label: Authorization + - if: + - includesModifiedFiles: + files: + - specification/automation/ + excludedFiles: + - '' + then: + - addLabel: + label: Automation + - if: + - includesModifiedFiles: + files: + - specification/batch/ + excludedFiles: + - '' + then: + - addLabel: + label: Batch + - if: + - includesModifiedFiles: + files: + - specification/batchai/ + excludedFiles: + - '' + then: + - addLabel: + label: BatchAI + - if: + - includesModifiedFiles: + files: + - specification/billing/ + excludedFiles: + - '' + then: + - addLabel: + label: Billing + - if: + - includesModifiedFiles: + files: + - specification/cdn/ + excludedFiles: + - '' + then: + - addLabel: + label: Network - CDN + - if: + - includesModifiedFiles: + files: + - specification/cognitiveservices/ + excludedFiles: + - '' + then: + - addLabel: + label: Cognitive Services + - if: + - includesModifiedFiles: + files: + - specification/cognitiveservices/data-plane/Language/ + excludedFiles: + - '' + then: + - addLabel: + label: Cognitive - Language + - if: + - includesModifiedFiles: + files: + - specification/compute/ + excludedFiles: + - '' + then: + - addLabel: + label: Compute + - if: + - includesModifiedFiles: + files: + - specification/containerinstance/ + excludedFiles: + - '' + then: + - addLabel: + label: Container Instances + - if: + - includesModifiedFiles: + files: + - specification/containerregistry/ + excludedFiles: + - '' + then: + - addLabel: + label: Container Registry + - if: + - includesModifiedFiles: + files: + - specification/containerservice/ + excludedFiles: + - '' + then: + - addLabel: + label: Container Service + - if: + - includesModifiedFiles: + files: + - specification/cosmos-db/ + excludedFiles: + - '' + then: + - addLabel: + label: Cosmos + - if: + - includesModifiedFiles: + files: + - specification/customer-insights/ + excludedFiles: + - '' + then: + - addLabel: + label: Customer Insights + - if: + - includesModifiedFiles: + files: + - specification/datafactory/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Factory + - if: + - includesModifiedFiles: + files: + - specification/datalake-analytics/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Lake Analytics + - if: + - includesModifiedFiles: + files: + - specification/datalake-store/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Lake Store + - if: + - includesModifiedFiles: + files: + - specification/datamigration/ + excludedFiles: + - '' + then: + - addLabel: + label: Data Migration + - if: + - includesModifiedFiles: + files: + - specification/deviceupdate/data-plane/ + excludedFiles: + - '' + then: + - addLabel: + label: Device Update + - if: + - includesModifiedFiles: + files: + - specification/devtestlabs/ + excludedFiles: + - '' + then: + - addLabel: + label: Devtestlab + - if: + - includesModifiedFiles: + files: + - specification/dns/ + excludedFiles: + - '' + then: + - addLabel: + label: Network - DNS + - if: + - includesModifiedFiles: + files: + - specification/eventgrid/ + excludedFiles: + - '' + then: + - addLabel: + label: Event Grid + - if: + - includesModifiedFiles: + files: + - specification/eventhub/ + excludedFiles: + - '' + then: + - addLabel: + label: Event Hubs + - if: + - includesModifiedFiles: + files: + - specification/hdinsight/ + excludedFiles: + - '' + then: + - addLabel: + label: HDInsight + - if: + - includesModifiedFiles: + files: + - specification/intune/ + excludedFiles: + - '' + then: + - addLabel: + label: Intune + - if: + - includesModifiedFiles: + files: + - specification/iothub/ + excludedFiles: + - '' + then: + - addLabel: + label: IotHub + - if: + - includesModifiedFiles: + files: + - specification/keyvault/ + excludedFiles: + - '' + then: + - addLabel: + label: KeyVault + - if: + - includesModifiedFiles: + files: + - specification/logic/ + excludedFiles: + - '' + then: + - addLabel: + label: Logic App + - if: + - includesModifiedFiles: + files: + - specification/machinelearning/ + excludedFiles: + - '' + then: + - addLabel: + label: Machine Learning + - if: + - includesModifiedFiles: + files: + - specification/machinelearningcompute/ + excludedFiles: + - '' + then: + - addLabel: + label: Machine Learning Compute + - if: + - includesModifiedFiles: + files: + - specification/mediaservices/ + excludedFiles: + - '' + then: + - addLabel: + label: Media Services + - if: + - includesModifiedFiles: + files: + - specification/mobileengagement/ + excludedFiles: + - '' + then: + - addLabel: + label: Mobile Engagement + - if: + - includesModifiedFiles: + files: + - specification/monitor/ + excludedFiles: + - '' + then: + - addLabel: + label: Monitor + - if: + - includesModifiedFiles: + files: + - specification/mysql/ + excludedFiles: + - '' + then: + - addLabel: + label: MySQL + - if: + - includesModifiedFiles: + files: + - specification/network/ + excludedFiles: + - '' + then: + - addLabel: + label: Network + - if: + - includesModifiedFiles: + files: + - specification/notificationhubs/ + excludedFiles: + - '' + then: + - addLabel: + label: Notification Hub + - if: + - includesModifiedFiles: + files: + - specification/operationalinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: Monitor - Operational Insights + - if: + - includesModifiedFiles: + files: + - specification/operationsmanagement/ + excludedFiles: + - '' + then: + - addLabel: + label: Operations Management + - if: + - includesModifiedFiles: + files: + - specification/peering/ + excludedFiles: + - '' + then: + - addLabel: + label: Peering + - if: + - includesModifiedFiles: + files: + - specification/policyinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: Policy Insights + - if: + - includesModifiedFiles: + files: + - specification/postgresql/ + excludedFiles: + - '' + then: + - addLabel: + label: PostgreSQL + - if: + - includesModifiedFiles: + files: + - specification/provisioningservices/ + excludedFiles: + - '' + then: + - addLabel: + label: PostgreSQL + - if: + - includesModifiedFiles: + files: + - specification/recoveryservices/ + excludedFiles: + - '' + then: + - addLabel: + label: RecoveryServices + - if: + - includesModifiedFiles: + files: + - specification/recoveryservicesbackup/ + excludedFiles: + - '' + then: + - addLabel: + label: Recovery Services Backup + - if: + - includesModifiedFiles: + files: + - specification/recoveryservicessiterecovery/ + excludedFiles: + - '' + then: + - addLabel: + label: Recovery Services Site-Recovery + - if: + - includesModifiedFiles: + files: + - specification/redis/ + excludedFiles: + - '' + then: + - addLabel: + label: Redis Cache + - if: + - includesModifiedFiles: + files: + - specification/relay/ + excludedFiles: + - '' + then: + - addLabel: + label: Relay + - if: + - includesModifiedFiles: + files: + - specification/scheduler/ + excludedFiles: + - '' + then: + - addLabel: + label: Scheduler + - if: + - includesModifiedFiles: + files: + - specification/search/data-plane/ + excludedFiles: + - '' + then: + - addLabel: + label: Search + - if: + - includesModifiedFiles: + files: + - specification/search/resource-manager/ + excludedFiles: + - '' + then: + - addLabel: + label: Search + - if: + - includesModifiedFiles: + files: + - specification/service-map/ + excludedFiles: + - '' + then: + - addLabel: + label: Service Map + - if: + - includesModifiedFiles: + files: + - specification/servicebus/ + excludedFiles: + - '' + then: + - addLabel: + label: Service Bus + - if: + - includesModifiedFiles: + files: + - specification/servicefabric/ + excludedFiles: + - '' + then: + - addLabel: + label: Service Fabric + - if: + - includesModifiedFiles: + files: + - specification/sql/ + excludedFiles: + - '' + then: + - addLabel: + label: SQL + - if: + - includesModifiedFiles: + files: + - specification/storage/ + excludedFiles: + - '' + then: + - addLabel: + label: Storage + - if: + - includesModifiedFiles: + files: + - specification/storageimportexport/ + excludedFiles: + - '' + then: + - addLabel: + label: Import Export + - if: + - includesModifiedFiles: + files: + - specification/storagesync/ + excludedFiles: + - '' + then: + - addLabel: + label: StorageSync + - if: + - includesModifiedFiles: + files: + - specification/storsimple8000series/ + excludedFiles: + - '' + then: + - addLabel: + label: Storsimple + - if: + - includesModifiedFiles: + files: + - specification/streamanalytics/ + excludedFiles: + - '' + then: + - addLabel: + label: Stream Analytics + - if: + - includesModifiedFiles: + files: + - specification/subscriptions/ + excludedFiles: + - '' + then: + - addLabel: + label: Subscription + - if: + - includesModifiedFiles: + files: + - specification/synapse/ + excludedFiles: + - '' + then: + - addLabel: + label: Synapses + - if: + - includesModifiedFiles: + files: + - specification/timeseriesinsights/ + excludedFiles: + - '' + then: + - addLabel: + label: TimeseriesInsights + - if: + - includesModifiedFiles: + files: + - specification/trafficmanager/ + excludedFiles: + - '' + then: + - addLabel: + label: Network - Traffic Manager + - if: + - includesModifiedFiles: + files: + - specification/web/ + excludedFiles: + - '' + then: + - addLabel: + label: Web Apps + - if: + - includesModifiedFiles: + files: + - profile/ + excludedFiles: + - '' + then: + - addLabel: + label: Profile + description: + - if: + - payloadType: Issues + - hasLabel: + label: customer-reported + - hasLabel: + label: needs-triage + - isAction: + action: Labeled + then: + - addLabel: + label: CXP Attention + description: +onFailure: +onSuccess: diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json index 2ea10c4c5a6a..76a35318aaaa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json @@ -1,168 +1,168 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "api-version": "2022-11-01-preview", - "environmentEnvelope": { - "location": "East US", - "properties": { - "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string", - "sharedKey": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "dnsSuffix": "www.my-name.com", - "certificateValue": "Y2VydA==", - "certificatePassword": "1234" - }, - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "customDomainVerificationId": "custom domain verification id", - "dnsSuffix": "www.my-name.com", - "subjectName": "CN=www.my-name.com", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT" - }, - "eventStreamEndpoint": "testEndpoint", - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "InitializationInProgress", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "customDomainVerificationId": "custom domain verification id", - "dnsSuffix": "www.my-name.com", - "subjectName": "CN=www.my-name.com", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT" - }, - "eventStreamEndpoint": "testEndpoint", - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "examplerg", + "environmentName": "testcontainerenv", + "api-version": "2022-11-01-preview", + "environmentEnvelope": { + "location": "East US", + "properties": { + "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string", + "sharedKey": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "dnsSuffix": "www.my-name.com", + "certificateValue": "Y2VydA==", + "certificatePassword": "1234" + }, + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", + "name": "testcontainerenv", + "type": "Microsoft.App/managedEnvironments", + "location": "East US", + "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, + "defaultDomain": "testcontainerenv.k4apps.io", + "staticIp": "1.2.3.4", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "customDomainVerificationId": "custom domain verification id", + "dnsSuffix": "www.my-name.com", + "subjectName": "CN=www.my-name.com", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT" + }, + "eventStreamEndpoint": "testEndpoint", + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", + "name": "testcontainerenv", + "type": "Microsoft.App/managedEnvironments", + "location": "East US", + "properties": { + "provisioningState": "InitializationInProgress", + "deploymentErrors": null, + "defaultDomain": "testcontainerenv.k4apps.io", + "staticIp": "1.2.3.4", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "customDomainVerificationId": "custom domain verification id", + "dnsSuffix": "www.my-name.com", + "subjectName": "CN=www.my-name.com", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT" + }, + "eventStreamEndpoint": "testEndpoint", + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + } + } +} diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json index 550c10c505fa..0d7dd9485074 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json @@ -1,168 +1,168 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "api-version": "2023-04-01-preview", - "environmentEnvelope": { - "location": "East US", - "properties": { - "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string", - "sharedKey": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "dnsSuffix": "www.my-name.com", - "certificateValue": "Y2VydA==", - "certificatePassword": "1234" - }, - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "customDomainVerificationId": "custom domain verification id", - "dnsSuffix": "www.my-name.com", - "subjectName": "CN=www.my-name.com", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT" - }, - "eventStreamEndpoint": "testEndpoint", - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "InitializationInProgress", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "customDomainVerificationId": "custom domain verification id", - "dnsSuffix": "www.my-name.com", - "subjectName": "CN=www.my-name.com", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT" - }, - "eventStreamEndpoint": "testEndpoint", - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "examplerg", + "environmentName": "testcontainerenv", + "api-version": "2023-04-01-preview", + "environmentEnvelope": { + "location": "East US", + "properties": { + "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string", + "sharedKey": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "dnsSuffix": "www.my-name.com", + "certificateValue": "Y2VydA==", + "certificatePassword": "1234" + }, + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", + "name": "testcontainerenv", + "type": "Microsoft.App/managedEnvironments", + "location": "East US", + "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, + "defaultDomain": "testcontainerenv.k4apps.io", + "staticIp": "1.2.3.4", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "customDomainVerificationId": "custom domain verification id", + "dnsSuffix": "www.my-name.com", + "subjectName": "CN=www.my-name.com", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT" + }, + "eventStreamEndpoint": "testEndpoint", + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", + "name": "testcontainerenv", + "type": "Microsoft.App/managedEnvironments", + "location": "East US", + "properties": { + "provisioningState": "InitializationInProgress", + "deploymentErrors": null, + "defaultDomain": "testcontainerenv.k4apps.io", + "staticIp": "1.2.3.4", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "customDomainVerificationId": "custom domain verification id", + "dnsSuffix": "www.my-name.com", + "subjectName": "CN=www.my-name.com", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT" + }, + "eventStreamEndpoint": "testEndpoint", + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + } + } +} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2023-05-01/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json b/specification/app/resource-manager/Microsoft.App/stable/2023-05-01/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json index 1c53366b9268..dd349ffbd172 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2023-05-01/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2023-05-01/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json @@ -1,168 +1,168 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "api-version": "2023-05-01", - "environmentEnvelope": { - "location": "East US", - "properties": { - "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string", - "sharedKey": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "dnsSuffix": "www.my-name.com", - "certificateValue": "Y2VydA==", - "certificatePassword": "1234" - }, - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "customDomainVerificationId": "custom domain verification id", - "dnsSuffix": "www.my-name.com", - "subjectName": "CN=www.my-name.com", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT" - }, - "eventStreamEndpoint": "testEndpoint", - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "InitializationInProgress", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true, - "vnetConfiguration": { - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" - }, - "customDomainConfiguration": { - "customDomainVerificationId": "custom domain verification id", - "dnsSuffix": "www.my-name.com", - "subjectName": "CN=www.my-name.com", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT" - }, - "eventStreamEndpoint": "testEndpoint", - "workloadProfiles": [ - { - "name": "My-GP-01", - "workloadProfileType": "GeneralPurpose", - "minimumCount": 3, - "maximumCount": 12 - }, - { - "name": "My-MO-01", - "workloadProfileType": "MemoryOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-CO-01", - "workloadProfileType": "ComputeOptimized", - "minimumCount": 3, - "maximumCount": 6 - }, - { - "name": "My-consumption-01", - "workloadProfileType": "Consumption" - } - ], - "infrastructureResourceGroup": "myInfrastructureRgName" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "examplerg", + "environmentName": "testcontainerenv", + "api-version": "2023-05-01", + "environmentEnvelope": { + "location": "East US", + "properties": { + "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string", + "sharedKey": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "dnsSuffix": "www.my-name.com", + "certificateValue": "Y2VydA==", + "certificatePassword": "1234" + }, + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", + "name": "testcontainerenv", + "type": "Microsoft.App/managedEnvironments", + "location": "East US", + "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, + "defaultDomain": "testcontainerenv.k4apps.io", + "staticIp": "1.2.3.4", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "customDomainVerificationId": "custom domain verification id", + "dnsSuffix": "www.my-name.com", + "subjectName": "CN=www.my-name.com", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT" + }, + "eventStreamEndpoint": "testEndpoint", + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", + "name": "testcontainerenv", + "type": "Microsoft.App/managedEnvironments", + "location": "East US", + "properties": { + "provisioningState": "InitializationInProgress", + "deploymentErrors": null, + "defaultDomain": "testcontainerenv.k4apps.io", + "staticIp": "1.2.3.4", + "appLogsConfiguration": { + "logAnalyticsConfiguration": { + "customerId": "string" + } + }, + "zoneRedundant": true, + "vnetConfiguration": { + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" + }, + "customDomainConfiguration": { + "customDomainVerificationId": "custom domain verification id", + "dnsSuffix": "www.my-name.com", + "subjectName": "CN=www.my-name.com", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT" + }, + "eventStreamEndpoint": "testEndpoint", + "workloadProfiles": [ + { + "name": "My-GP-01", + "workloadProfileType": "GeneralPurpose", + "minimumCount": 3, + "maximumCount": 12 + }, + { + "name": "My-MO-01", + "workloadProfileType": "MemoryOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-CO-01", + "workloadProfileType": "ComputeOptimized", + "minimumCount": 3, + "maximumCount": 6 + }, + { + "name": "My-consumption-01", + "workloadProfileType": "Consumption" + } + ], + "infrastructureResourceGroup": "myInfrastructureRgName" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json index e7dfbc89d475..de1306e0dae4 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-06-14", - "parameters": { - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "kustodatabase", - "defaultPrincipalsModificationKind": "Union" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Creating" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Creating" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", + "api-version": "2020-06-14", + "parameters": { + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "kustodatabase", + "defaultPrincipalsModificationKind": "Union" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Creating" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsDelete.json index dd57033e26c5..dc74cce253fb 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsGet.json index 55e7468e060b..be5eca0f5228 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsGet.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "databaseName": "*", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "databaseName": "*", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsListByCluster.json index d03ad4e69fc1..099275b23471 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsListByCluster.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9", - "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9", + "name": "KustoClusterRPTest4/KustoDatabase9", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterAddLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterAddLanguageExtensions.json index 714b2de30e42..6c26e4278d03 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterAddLanguageExtensions.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterAddLanguageExtensions.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14", - "languageExtensionsToAdd": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14", + "languageExtensionsToAdd": { + "value": [ + { + "languageExtensionName": "PYTHON" + }, + { + "languageExtensionName": "R" + } + ] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterDetachFollowerDatabases.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterDetachFollowerDatabases.json index f45bcf4f54b3..1c16c2fd4b1a 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterDetachFollowerDatabases.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterDetachFollowerDatabases.json @@ -1,16 +1,16 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14", - "followerDatabaseToRemove": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4", - "attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration" - } - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14", + "followerDatabaseToRemove": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4", + "attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListFollowerDatabases.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListFollowerDatabases.json index 372ed1fed327..d4c5be7ecdc7 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListFollowerDatabases.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListFollowerDatabases.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "attachedDatabaseConfigurationName": "attachedDbConfiguration", - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1", - "databaseName": "*" - }, - { - "attachedDatabaseConfigurationName": "attachedDbConfiguration2", - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4", - "databaseName": "db1" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "attachedDatabaseConfigurationName": "attachedDbConfiguration", + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1", + "databaseName": "*" + }, + { + "attachedDatabaseConfigurationName": "attachedDbConfiguration2", + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4", + "databaseName": "db1" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListLanguageExtensions.json index 6581203981d9..2cb7975fcccd 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListLanguageExtensions.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterListLanguageExtensions.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "languageExtensionName": "PYTHON" + }, + { + "languageExtensionName": "R" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json index c86831b19e09..c673add5080f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": { - "name": "kustoprincipal1", - "type": "Microsoft.Kusto/clusters/principalAssignments" - }, - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "name": "kustoprincipal1", - "nameAvailable": false, - "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": { + "name": "kustoprincipal1", + "type": "Microsoft.Kusto/clusters/principalAssignments" + }, + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "name": "kustoprincipal1", + "nameAvailable": false, + "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json index 5be64e6e3e46..af1763ceb229 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json @@ -1,51 +1,51 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-06-14", - "parameters": { - "properties": { - "role": "AllDatabasesAdmin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-06-14", + "parameters": { + "properties": { + "role": "AllDatabasesAdmin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsDelete.json index eec31255f447..73962f811de2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsGet.json index 13737e053f15..7168f26d59eb 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsGet.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsList.json index b1b71083aa78..378cdd4a8d3b 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterPrincipalAssignmentsList.json @@ -1,45 +1,45 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterRemoveLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterRemoveLanguageExtensions.json index b66521becf23..1b4ef4557fd2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterRemoveLanguageExtensions.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClusterRemoveLanguageExtensions.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14", - "languageExtensionsToRemove": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14", + "languageExtensionsToRemove": { + "value": [ + { + "languageExtensionName": "PYTHON" + }, + { + "languageExtensionName": "R" + } + ] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCheckNameAvailability.json index 29f8da9d1654..e06131ed4bec 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCheckNameAvailability.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-06-14", - "location": "wus", - "clusterName": { - "name": "kustoclusterrptest4", - "type": "Microsoft.Kusto/clusters" - } - }, - "responses": { - "200": { - "body": { - "name": "kuskusprod", - "nameAvailable": false, - "message": "Name 'kuskusprod' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "api-version": "2020-06-14", + "location": "wus", + "clusterName": { + "name": "kustoclusterrptest4", + "type": "Microsoft.Kusto/clusters" + } + }, + "responses": { + "200": { + "body": { + "name": "kuskusprod", + "nameAvailable": false, + "message": "Name 'kuskusprod' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCreateOrUpdate.json index 5065c3af67e8..329d7530096f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCreateOrUpdate.json @@ -1,86 +1,86 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14", - "parameters": { - "location": "westus", - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "enableStreamingIngest": true, - "enablePurge": true, - "enableDoubleEncryption": false - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "enableDoubleEncryption": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "enableDoubleEncryption": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14", + "parameters": { + "location": "westus", + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "enableStreamingIngest": true, + "enablePurge": true, + "enableDoubleEncryption": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "enableDoubleEncryption": false, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "enableDoubleEncryption": false, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDelete.json index 635552d1cbc1..ea477f07fc88 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDelete.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDiagnoseVirtualNetwork.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDiagnoseVirtualNetwork.json index 197a3f05f496..705879ea4d21 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDiagnoseVirtualNetwork.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersDiagnoseVirtualNetwork.json @@ -1,18 +1,18 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "findings": [ - "Outbound dependency 'Storage:443' might not be satisfied (Outbound)" - ] - } - }, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "findings": [ + "Outbound dependency 'Storage:443' might not be satisfied (Outbound)" + ] + } + }, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersGet.json index 44892ca5acf3..17b4e7c816bb 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersGet.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": false, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersList.json index 88284a960b25..091710fbd737 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersList.json @@ -1,47 +1,47 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", - "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "name": "KustoClusterRPTest3", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListByResourceGroup.json index 0108b9372831..9fd32ddd015c 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListByResourceGroup.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListByResourceGroup.json @@ -1,48 +1,48 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", - "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "name": "KustoClusterRPTest3", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListResourceSkus.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListResourceSkus.json index 44ade5876d50..33c899b7c486 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListResourceSkus.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListResourceSkus.json @@ -1,68 +1,68 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "clusters", - "sku": { - "name": "Standard_D13_v2", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_D14_v2", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_L8s", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_L16s", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "clusters", + "sku": { + "name": "Standard_D13_v2", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + }, + { + "resourceType": "clusters", + "sku": { + "name": "Standard_D14_v2", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + }, + { + "resourceType": "clusters", + "sku": { + "name": "Standard_L8s", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + }, + { + "resourceType": "clusters", + "sku": { + "name": "Standard_L16s", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListSkus.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListSkus.json index 9c44eecbf557..d78993e52803 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListSkus.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListSkus.json @@ -1,103 +1,103 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Standard_D13_v2", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "Standard_D14_v2", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "L8", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "L16", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_D13_v2", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + }, + { + "name": "Standard_D14_v2", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + }, + { + "name": "L8", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + }, + { + "name": "L16", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStart.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStart.json index 13eb4ac881c3..f2fb9462c0d8 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStart.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStart.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStop.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStop.json index 13eb4ac881c3..f2fb9462c0d8 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStop.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersStop.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersUpdate.json index 3c5d33b762f3..9c0cb1c986b1 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersUpdate.json @@ -1,107 +1,107 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14", - "parameters": { - "location": "westus" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14", + "parameters": { + "location": "westus" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "enableStreamingIngest": true, + "enablePurge": true, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + } + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionValidation.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionValidation.json index 0cc43d24d15d..91c82712144d 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionValidation.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionValidation.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "parameters": { - "dataConnectionName": "DataConnections8", - "properties": { - "kind": "EventHub", - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": [ - { - "errorMessage": "Event hub's namespace does not exist" - }, - { - "errorMessage": "Database does not exist" - } - ] - }, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "parameters": { + "dataConnectionName": "DataConnections8", + "properties": { + "kind": "EventHub", + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "responses": { + "200": { + "body": [ + { + "errorMessage": "Event hub's namespace does not exist" + }, + { + "errorMessage": "Database does not exist" + } + ] + }, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCheckNameAvailability.json index 874c7fb9a8de..a892511dcb56 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCheckNameAvailability.json @@ -1,23 +1,23 @@ -{ - "parameters": { - "api-version": "2020-06-14", - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "dataConnectionName": { - "name": "DataConnections8", - "type": "Microsoft.Kusto/clusters/databases/dataConnections" - } - }, - "responses": { - "200": { - "body": { - "name": "DataConnections8", - "nameAvailable": false, - "message": "Name 'DataConnections8' is already taken. Please specify a different name.", - "reason": "AlreadyExists" - } - } - } -} +{ + "parameters": { + "api-version": "2020-06-14", + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "dataConnectionName": { + "name": "DataConnections8", + "type": "Microsoft.Kusto/clusters/databases/dataConnections" + } + }, + "responses": { + "200": { + "body": { + "name": "DataConnections8", + "nameAvailable": false, + "message": "Name 'DataConnections8' is already taken. Please specify a different name.", + "reason": "AlreadyExists" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCreateOrUpdate.json index d8f408b09135..0a0dd74906be 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsCreateOrUpdate.json @@ -1,59 +1,59 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "dataConnectionName": "DataConnections8", - "parameters": { - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "dataConnectionName": "DataConnections8", + "parameters": { + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsDelete.json index d8e12541ac64..3cb05bbfde80 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsDelete.json @@ -1,15 +1,15 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "dataConnectionName": "kustoeventhubconnection1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "dataConnectionName": "kustoeventhubconnection1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsGet.json index 4b6e6fc20dbe..8096fd1512c3 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsGet.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "dataConnectionName": "DataConnections8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "dataConnectionName": "DataConnections8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsListByDatabase.json index ae066afb7e08..fa02f77a8a36 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsListByDatabase.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsListByDatabase.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", - "name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", - "name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", - "consumerGroup": "testConsumerGroup2" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", + "name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", + "name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", + "consumerGroup": "testConsumerGroup2" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsUpdate.json index d8f408b09135..0a0dd74906be 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDataConnectionsUpdate.json @@ -1,59 +1,59 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "dataConnectionName": "DataConnections8", - "parameters": { - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "dataConnectionName": "DataConnections8", + "parameters": { + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseAddPrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseAddPrincipals.json index 76782e424a77..407013c3c5ff 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseAddPrincipals.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseAddPrincipals.json @@ -1,69 +1,69 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "databasePrincipalsToAdd": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "databasePrincipalsToAdd": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseListPrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseListPrincipals.json index 30ce44d15ecf..99a86fb13d32 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseListPrincipals.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseListPrincipals.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json index 786337cdc34d..3e19087e1647 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": { - "name": "kustoprincipal1", - "type": "Microsoft.Kusto/clusters/databases/principalAssignments" - }, - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "name": "kustoprincipal1", - "nameAvailable": false, - "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": { + "name": "kustoprincipal1", + "type": "Microsoft.Kusto/clusters/databases/principalAssignments" + }, + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "name": "kustoprincipal1", + "nameAvailable": false, + "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json index 3c805dbfde19..70979cf0fe30 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json @@ -1,52 +1,52 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-06-14", - "parameters": { - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-06-14", + "parameters": { + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsDelete.json index cac1fe662991..dd31722d2f77 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsDelete.json @@ -1,15 +1,15 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsGet.json index f68b3ef7496d..184866b87e91 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsGet.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsList.json index b1b71083aa78..378cdd4a8d3b 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasePrincipalAssignmentsList.json @@ -1,45 +1,45 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseRemovePrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseRemovePrincipals.json index f4082621bcaf..98b2da77ca9b 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseRemovePrincipals.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabaseRemovePrincipals.json @@ -1,69 +1,69 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "databasePrincipalsToRemove": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "databasePrincipalsToRemove": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCheckNameAvailability.json index 5726470601bb..0c44b8720760 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCheckNameAvailability.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-06-14", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "resourceName": { - "name": "kustoresourcename1", - "type": "Microsoft.Kusto/clusters/databases" - } - }, - "responses": { - "200": { - "body": { - "name": "kustoresourcename1", - "nameAvailable": false, - "message": "Name 'kuskus' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "api-version": "2020-06-14", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "resourceName": { + "name": "kustoresourcename1", + "type": "Microsoft.Kusto/clusters/databases" + } + }, + "responses": { + "200": { + "body": { + "name": "kustoresourcename1", + "nameAvailable": false, + "message": "Name 'kuskus' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCreateOrUpdate.json index 76b9c8e81e96..6034c0ef65cc 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesCreateOrUpdate.json @@ -1,57 +1,57 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "parameters": { - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "parameters": { + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesDelete.json index 566a505547e7..a1142ecfe332 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesGet.json index 34b4e866b585..cf30b19eb46c 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesGet.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesListByCluster.json index 0d43e6b33f66..e8fc45a80cf2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesListByCluster.json @@ -1,36 +1,36 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", - "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "name": "KustoClusterRPTest4/KustoDatabase9", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesUpdate.json index 4c36dd0a6038..739c7a8ff42a 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoDatabasesUpdate.json @@ -1,55 +1,55 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-06-14", - "parameters": { - "properties": { - "softDeletePeriod": "P1D" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-06-14", + "parameters": { + "properties": { + "softDeletePeriod": "P1D" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoOperationsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoOperationsList.json index 36ea112ce353..c8fba9fec093 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoOperationsList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoOperationsList.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "api-version": "2020-06-14" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "operationName", - "display": { - "provider": "providerName", - "resource": "resourceName", - "operation": "operationName", - "description": "operation description" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2020-06-14" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "operationName", + "display": { + "provider": "providerName", + "resource": "resourceName", + "operation": "operationName", + "description": "operation description" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json index 3cd7dcc2bc03..8f06ea9b6330 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-09-18", - "parameters": { - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "kustodatabase", - "defaultPrincipalsModificationKind": "Union" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Creating" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Creating" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", + "api-version": "2020-09-18", + "parameters": { + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "kustodatabase", + "defaultPrincipalsModificationKind": "Union" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Creating" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsDelete.json index b4d3053b2661..4fd2dc614767 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsGet.json index 9084959fe306..d5a20bb62559 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsGet.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "databaseName": "*", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1", + "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "databaseName": "*", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsListByCluster.json index 486ab7459f31..3ad6051ff531 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoAttachedDatabaseConfigurationsListByCluster.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9", - "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9", + "name": "KustoClusterRPTest4/KustoDatabase9", + "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", + "location": "westus", + "properties": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", + "databaseName": "db1", + "defaultPrincipalsModificationKind": "Union", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterAddLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterAddLanguageExtensions.json index 64fc755ae1fc..d3b79768d459 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterAddLanguageExtensions.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterAddLanguageExtensions.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18", - "languageExtensionsToAdd": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18", + "languageExtensionsToAdd": { + "value": [ + { + "languageExtensionName": "PYTHON" + }, + { + "languageExtensionName": "R" + } + ] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterDetachFollowerDatabases.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterDetachFollowerDatabases.json index fa7219ff1b82..98efdfe4ffbf 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterDetachFollowerDatabases.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterDetachFollowerDatabases.json @@ -1,16 +1,16 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18", - "followerDatabaseToRemove": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4", - "attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration" - } - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18", + "followerDatabaseToRemove": { + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4", + "attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListFollowerDatabases.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListFollowerDatabases.json index f6fc5b64ce8a..2b94874483f1 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListFollowerDatabases.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListFollowerDatabases.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "attachedDatabaseConfigurationName": "attachedDbConfiguration", - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1", - "databaseName": "*" - }, - { - "attachedDatabaseConfigurationName": "attachedDbConfiguration2", - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4", - "databaseName": "db1" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "attachedDatabaseConfigurationName": "attachedDbConfiguration", + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1", + "databaseName": "*" + }, + { + "attachedDatabaseConfigurationName": "attachedDbConfiguration2", + "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4", + "databaseName": "db1" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListLanguageExtensions.json index 32d0dabe8250..1d924b5e63ae 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListLanguageExtensions.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterListLanguageExtensions.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "languageExtensionName": "PYTHON" + }, + { + "languageExtensionName": "R" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json index 28b8998c1008..d72198a54c56 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": { - "name": "kustoprincipal1", - "type": "Microsoft.Kusto/clusters/principalAssignments" - }, - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "name": "kustoprincipal1", - "nameAvailable": false, - "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": { + "name": "kustoprincipal1", + "type": "Microsoft.Kusto/clusters/principalAssignments" + }, + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "name": "kustoprincipal1", + "nameAvailable": false, + "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json index dd7571930885..b77bb8411502 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json @@ -1,51 +1,51 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-09-18", - "parameters": { - "properties": { - "role": "AllDatabasesAdmin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-09-18", + "parameters": { + "properties": { + "role": "AllDatabasesAdmin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsDelete.json index 7f1ec1602d86..64448b9e67a1 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsGet.json index 21e5ab70c8f7..3931cd422ade 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsGet.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsList.json index 080811fea6db..93966d2ddca2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterPrincipalAssignmentsList.json @@ -1,45 +1,45 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterRemoveLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterRemoveLanguageExtensions.json index 6cdfd1e46b90..90fcbda92bf3 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterRemoveLanguageExtensions.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClusterRemoveLanguageExtensions.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18", - "languageExtensionsToRemove": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18", + "languageExtensionsToRemove": { + "value": [ + { + "languageExtensionName": "PYTHON" + }, + { + "languageExtensionName": "R" + } + ] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCheckNameAvailability.json index a2298cbd294e..0282988e0409 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCheckNameAvailability.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-09-18", - "location": "wus", - "clusterName": { - "name": "kustoclusterrptest4", - "type": "Microsoft.Kusto/clusters" - } - }, - "responses": { - "200": { - "body": { - "name": "kuskusprod", - "nameAvailable": false, - "message": "Name 'kuskusprod' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "api-version": "2020-09-18", + "location": "wus", + "clusterName": { + "name": "kustoclusterrptest4", + "type": "Microsoft.Kusto/clusters" + } + }, + "responses": { + "200": { + "body": { + "name": "kuskusprod", + "nameAvailable": false, + "message": "Name 'kuskusprod' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCreateOrUpdate.json index da62b0b8fabb..a52d13fed715 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersCreateOrUpdate.json @@ -1,88 +1,88 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18", - "parameters": { - "location": "westus", - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "enableStreamingIngest": true, - "enablePurge": true, - "enableDoubleEncryption": false - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "enableDoubleEncryption": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "enableDoubleEncryption": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18", + "parameters": { + "location": "westus", + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "enableStreamingIngest": true, + "enablePurge": true, + "enableDoubleEncryption": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "enableDoubleEncryption": false, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "enableDoubleEncryption": false, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDelete.json index 07afa7145686..5a5bb7cb570f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDelete.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDiagnoseVirtualNetwork.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDiagnoseVirtualNetwork.json index 4d28dd726a9a..43309ec41030 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDiagnoseVirtualNetwork.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersDiagnoseVirtualNetwork.json @@ -1,18 +1,18 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "findings": [ - "Outbound dependency 'Storage:443' might not be satisfied (Outbound)" - ] - } - }, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "findings": [ + "Outbound dependency 'Storage:443' might not be satisfied (Outbound)" + ] + } + }, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersGet.json index 4eed52534e40..1c533d4b8a70 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersGet.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": false, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersList.json index ae7841c260b0..bade6f3450ef 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersList.json @@ -1,48 +1,48 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", - "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "name": "KustoClusterRPTest3", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListByResourceGroup.json index eb34b2c020ab..9213c1ee0045 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListByResourceGroup.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListByResourceGroup.json @@ -1,49 +1,49 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", - "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "name": "KustoClusterRPTest3", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListResourceSkus.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListResourceSkus.json index e3068b3326cc..b6badf6aa162 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListResourceSkus.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListResourceSkus.json @@ -1,68 +1,68 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "clusters", - "sku": { - "name": "Standard_D13_v2", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_D14_v2", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_L8s", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_L16s", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "clusters", + "sku": { + "name": "Standard_D13_v2", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + }, + { + "resourceType": "clusters", + "sku": { + "name": "Standard_D14_v2", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + }, + { + "resourceType": "clusters", + "sku": { + "name": "Standard_L8s", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + }, + { + "resourceType": "clusters", + "sku": { + "name": "Standard_L16s", + "tier": "Standard" + }, + "capacity": { + "minimum": 2, + "maximum": 100, + "default": 2, + "scaleType": "automatic" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListSkus.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListSkus.json index 3ab882df762b..2a95ec5ef418 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListSkus.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersListSkus.json @@ -1,103 +1,103 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Standard_D13_v2", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "Standard_D14_v2", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "L8", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "L16", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_D13_v2", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + }, + { + "name": "Standard_D14_v2", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + }, + { + "name": "L8", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + }, + { + "name": "L16", + "tier": "Standard", + "locations": [ + "West US", + "West Europe" + ], + "locationInfo": [ + { + "location": "West US", + "zones": [ + "1", + "2", + "3" + ] + }, + { + "location": "West Europe", + "zones": [] + } + ] + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStart.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStart.json index 980f22a32831..286ea5966dfd 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStart.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStart.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStop.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStop.json index 980f22a32831..286ea5966dfd 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStop.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersStop.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersUpdate.json index b770f9d74a4b..84df44b1eca1 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoClustersUpdate.json @@ -1,111 +1,111 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18", - "parameters": { - "location": "westus" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - }, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "engineType": "V2" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18", + "parameters": { + "location": "westus" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "enableStreamingIngest": true, + "enablePurge": true, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "keyVaultProperties": { + "keyVaultUri": "https://dummy.keyvault.com", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "name": "KustoClusterRPTest4", + "type": "Microsoft.Kusto/Clusters", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "enableStreamingIngest": true, + "enablePurge": true, + "engineType": "V2" + }, + "sku": { + "name": "Standard_L8s", + "capacity": 2, + "tier": "Standard" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", + "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", + "userAssignedIdentities": {} + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCheckNameAvailability.json index 2903d8f64139..c089553c5700 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCheckNameAvailability.json @@ -1,23 +1,23 @@ -{ - "parameters": { - "api-version": "2020-09-18", - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "dataConnectionName": { - "name": "DataConnections8", - "type": "Microsoft.Kusto/clusters/databases/dataConnections" - } - }, - "responses": { - "200": { - "body": { - "name": "DataConnections8", - "nameAvailable": false, - "message": "Name 'DataConnections8' is already taken. Please specify a different name.", - "reason": "AlreadyExists" - } - } - } -} +{ + "parameters": { + "api-version": "2020-09-18", + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "dataConnectionName": { + "name": "DataConnections8", + "type": "Microsoft.Kusto/clusters/databases/dataConnections" + } + }, + "responses": { + "200": { + "body": { + "name": "DataConnections8", + "nameAvailable": false, + "message": "Name 'DataConnections8' is already taken. Please specify a different name.", + "reason": "AlreadyExists" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCreateOrUpdate.json index 1fb8d3788065..88028923b7c6 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsCreateOrUpdate.json @@ -1,59 +1,59 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "dataConnectionName": "DataConnections8", - "parameters": { - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "dataConnectionName": "DataConnections8", + "parameters": { + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsDelete.json index 05a772ff4ed3..b5933e9a43e2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsDelete.json @@ -1,15 +1,15 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "dataConnectionName": "kustoeventhubconnection1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "dataConnectionName": "kustoeventhubconnection1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsGet.json index d9abaf9772b0..7d6e7497226e 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsGet.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "dataConnectionName": "DataConnections8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "dataConnectionName": "DataConnections8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsListByDatabase.json index 4c7e09b7d2fb..3c9216d3ae98 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsListByDatabase.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsListByDatabase.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", - "name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", - "name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", - "consumerGroup": "testConsumerGroup2" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", + "name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", + "name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", + "consumerGroup": "testConsumerGroup2" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsUpdate.json index 1fb8d3788065..88028923b7c6 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDataConnectionsUpdate.json @@ -1,59 +1,59 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "dataConnectionName": "DataConnections8", - "parameters": { - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "dataConnectionName": "DataConnections8", + "parameters": { + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", + "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "location": "westus", + "kind": "EventHub", + "properties": { + "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", + "consumerGroup": "testConsumerGroup1" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseAddPrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseAddPrincipals.json index f4b6adfd87b2..99e27f641cdb 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseAddPrincipals.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseAddPrincipals.json @@ -1,69 +1,69 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "databasePrincipalsToAdd": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "databasePrincipalsToAdd": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseListPrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseListPrincipals.json index ad1c9c42eb2b..df210225f8e3 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseListPrincipals.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseListPrincipals.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json index 7321c6c47b03..7dc84cfee4ea 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": { - "name": "kustoprincipal1", - "type": "Microsoft.Kusto/clusters/databases/principalAssignments" - }, - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "name": "kustoprincipal1", - "nameAvailable": false, - "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": { + "name": "kustoprincipal1", + "type": "Microsoft.Kusto/clusters/databases/principalAssignments" + }, + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "name": "kustoprincipal1", + "nameAvailable": false, + "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json index 4cf19b4d4be5..9363328f8690 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json @@ -1,52 +1,52 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-09-18", - "parameters": { - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-09-18", + "parameters": { + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsDelete.json index 5973f67ea030..79be804dcecd 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsDelete.json @@ -1,15 +1,15 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsGet.json index 77dfcf895e20..d50e6efbb58f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsGet.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "principalAssignmentName": "kustoprincipal1", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsList.json index 080811fea6db..93966d2ddca2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasePrincipalAssignmentsList.json @@ -1,45 +1,45 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "Kustodatabase8", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", + "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", + "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", + "properties": { + "role": "Admin", + "principalId": "87654321-1234-1234-1234-123456789123", + "principalType": "App", + "tenantId": "12345678-1234-1234-1234-123456789123", + "tenantName": "tenantName", + "principalName": "TestApp", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseRemovePrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseRemovePrincipals.json index c8a35a599846..b9e000c296c1 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseRemovePrincipals.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabaseRemovePrincipals.json @@ -1,69 +1,69 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "databasePrincipalsToRemove": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "databasePrincipalsToRemove": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Some User", + "role": "Admin", + "type": "User", + "fqn": "aaduser=some_guid", + "email": "user@microsoft.com", + "appId": "" + }, + { + "name": "Kusto", + "role": "Viewer", + "type": "Group", + "fqn": "aadgroup=some_guid", + "email": "kusto@microsoft.com", + "appId": "" + }, + { + "name": "SomeApp", + "role": "Admin", + "type": "App", + "fqn": "aadapp=some_guid_app_id", + "email": "", + "appId": "some_guid_app_id" + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCheckNameAvailability.json index 6184f1f78580..abc1b99faaf2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCheckNameAvailability.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-09-18", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "resourceName": { - "name": "kustoresourcename1", - "type": "Microsoft.Kusto/clusters/databases" - } - }, - "responses": { - "200": { - "body": { - "name": "kustoresourcename1", - "nameAvailable": false, - "message": "Name 'kuskus' is already taken. Please specify a different name" - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "api-version": "2020-09-18", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "resourceName": { + "name": "kustoresourcename1", + "type": "Microsoft.Kusto/clusters/databases" + } + }, + "responses": { + "200": { + "body": { + "name": "kustoresourcename1", + "nameAvailable": false, + "message": "Name 'kuskus' is already taken. Please specify a different name" + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCreateOrUpdate.json index e161d5a0a085..a29cb12dda00 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesCreateOrUpdate.json @@ -1,56 +1,56 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "parameters": { - "location": "westus", - "properties": { - "softDeletePeriod": "P1D" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "parameters": { + "location": "westus", + "properties": { + "softDeletePeriod": "P1D" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesDelete.json index f00f7b7e7313..d8bacb864956 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesDelete.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesGet.json index 87cd1481ba25..7cfd373276e5 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesGet.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesListByCluster.json index 5c6b1fcf6456..2d35b68dad08 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesListByCluster.json @@ -1,36 +1,36 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", - "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "name": "KustoClusterRPTest4/KustoDatabase9", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesUpdate.json index d9994e7244f7..fb3047fe3043 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoDatabasesUpdate.json @@ -1,55 +1,55 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-09-18", - "parameters": { - "properties": { - "softDeletePeriod": "P1D" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-123456789098", + "resourceGroupName": "kustorptest", + "clusterName": "kustoclusterrptest4", + "databaseName": "KustoDatabase8", + "api-version": "2020-09-18", + "parameters": { + "properties": { + "softDeletePeriod": "P1D" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "kind": "ReadWrite", + "location": "westus", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "name": "KustoClusterRPTest4/KustoDatabase8", + "type": "Microsoft.Kusto/Clusters/Databases", + "location": "westus", + "kind": "ReadWrite", + "properties": { + "softDeletePeriod": "P1D", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoOperationsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoOperationsList.json index f5e8a42bd538..ae78796d4f95 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoOperationsList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/examples/KustoOperationsList.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "api-version": "2020-09-18" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "operationName", - "display": { - "provider": "providerName", - "resource": "resourceName", - "operation": "operationName", - "description": "operation description" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2020-09-18" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "operationName", + "display": { + "provider": "providerName", + "resource": "resourceName", + "operation": "operationName", + "description": "operation description" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Base64.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Base64.json index 767c811a9196..2b2cc418be00 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Base64.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Base64.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "prebuilt-layout", - "pages": "1-2,4", - "locale": "en-US", - "stringIndexType": "textElements", - "analyzeRequest": { - "base64Source": "e2Jhc2U2NEVuY29kZWRQZGZ9" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/prebuilt-layout/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "prebuilt-layout", + "pages": "1-2,4", + "locale": "en-US", + "stringIndexType": "textElements", + "analyzeRequest": { + "base64Source": "e2Jhc2U2NEVuY29kZWRQZGZ9" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/prebuilt-layout/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Url.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Url.json index f229104f6e0a..563084e9fa14 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Url.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AnalyzeDocument_Url.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "customModel", - "pages": "1-2,4", - "locale": "en-US", - "stringIndexType": "textElements", - "analyzeRequest": { - "urlSource": "http://host.com/doc.pdf" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/customModel/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "customModel", + "pages": "1-2,4", + "locale": "en-US", + "stringIndexType": "textElements", + "analyzeRequest": { + "urlSource": "http://host.com/doc.pdf" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/customModel/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AuthorizeCopyDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AuthorizeCopyDocumentModel.json index 55a167b4e421..5390dde580f7 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AuthorizeCopyDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/AuthorizeCopyDocumentModel.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "authorizeCopyRequest": { - "modelId": "targetModel", - "description": "Target model description" - } - }, - "responses": { - "200": { - "body": { - "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", - "targetResourceRegion": "targetResourceRegion", - "targetModelId": "targetModel", - "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", - "accessToken": "accessToken", - "expirationDateTime": "2021-09-23T09:12:54.552Z" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "authorizeCopyRequest": { + "modelId": "targetModel", + "description": "Target model description" + } + }, + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", + "targetResourceRegion": "targetResourceRegion", + "targetModelId": "targetModel", + "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", + "accessToken": "accessToken", + "expirationDateTime": "2021-09-23T09:12:54.552Z" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentClassifier.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentClassifier.json index 1ee49fab5741..067008727232 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentClassifier.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentClassifier.json @@ -1,31 +1,31 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "buildRequest": { - "classifierId": "myClassifier", - "description": "Classifier description", - "docTypes": { - "formA": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formADocs/" - } - }, - "formB": { - "azureBlobFileListSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "fileList": "formB.jsonl" - } - } - } - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "buildRequest": { + "classifierId": "myClassifier", + "description": "Classifier description", + "docTypes": { + "formA": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formADocs/" + } + }, + "formB": { + "azureBlobFileListSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "fileList": "formB.jsonl" + } + } + } + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentModel.json index 289b166de83f..52a3c597c329 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/BuildDocumentModel.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "buildRequest": { - "modelId": "myCustomModel", - "description": "Custom model description", - "buildMode": "template", - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "trainingDocs/" - }, - "tags": { - "createdBy": "myUserId" - } - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "buildRequest": { + "modelId": "myCustomModel", + "description": "Custom model description", + "buildMode": "template", + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "trainingDocs/" + }, + "tags": { + "createdBy": "myUserId" + } + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ClassifyDocument_Url.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ClassifyDocument_Url.json index e03f1ff883e1..e792a67f9b8d 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ClassifyDocument_Url.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ClassifyDocument_Url.json @@ -1,18 +1,18 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "classifierId": "classifierId", - "stringIndexType": "textElements", - "classifyRequest": { - "urlSource": "http://host.com/doc.pdf" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers/customClassifier/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "classifierId": "classifierId", + "stringIndexType": "textElements", + "classifyRequest": { + "urlSource": "http://host.com/doc.pdf" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers/customClassifier/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ComposeDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ComposeDocumentModel.json index 03d8b4f0bf8d..8341f5f1034b 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ComposeDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/ComposeDocumentModel.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "composeRequest": { - "modelId": "composedModel", - "description": "Composed model description", - "componentModels": [ - { - "modelId": "model1" - }, - { - "modelId": "model2" - } - ] - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "composeRequest": { + "modelId": "composedModel", + "description": "Composed model description", + "componentModels": [ + { + "modelId": "model1" + }, + { + "modelId": "model2" + } + ] + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/CopyDocumentModelTo.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/CopyDocumentModelTo.json index eaa0ccde6bf3..15f9e6c4dad8 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/CopyDocumentModelTo.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/CopyDocumentModelTo.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "sourceModel", - "copyToRequest": { - "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", - "targetResourceRegion": "targetResourceRegion", - "targetModelId": "targetModel", - "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", - "accessToken": "accessToken", - "expirationDateTime": "2021-09-23T09:12:54.552Z" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "sourceModel", + "copyToRequest": { + "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", + "targetResourceRegion": "targetResourceRegion", + "targetModelId": "targetModel", + "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", + "accessToken": "accessToken", + "expirationDateTime": "2021-09-23T09:12:54.552Z" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-02-28-preview" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentClassifier.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentClassifier.json index 2a3a7d2d590a..128345a20baa 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentClassifier.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentClassifier.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "classifierId": "myClassifier" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "classifierId": "myClassifier" + }, + "responses": { + "204": {} + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentModel.json index df413840998c..44dfe36432f9 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/DeleteDocumentModel.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "myCustomModel" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "myCustomModel" + }, + "responses": { + "204": {} + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetAnalyzeDocumentResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetAnalyzeDocumentResult.json index d2cf9f9aab67..26f213cf392f 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetAnalyzeDocumentResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetAnalyzeDocumentResult.json @@ -1,7220 +1,7220 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "prebuilt-invoice", - "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" - }, - "responses": { - "200": { - "body": { - "status": "succeeded", - "createdDateTime": "2021-09-24T13:00:46Z", - "lastUpdatedDateTime": "2021-09-24T13:00:49Z", - "analyzeResult": { - "apiVersion": "2023-02-28-preview", - "modelId": "prebuilt-invoice", - "stringIndexType": "textElements", - "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:", - "pages": [ - { - "kind": "document", - "pageNumber": 1, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch", - "words": [ - { - "content": "CONTOSO", - "polygon": [ - 0.5911, - 0.6857, - 1.7451, - 0.6857, - 1.7451, - 0.8664, - 0.5911, - 0.8664 - ], - "confidence": 1, - "span": { - "offset": 0, - "length": 7 - } - }, - { - "content": "LTD.", - "polygon": [ - 1.8441, - 0.6879, - 2.3181, - 0.6879, - 2.3181, - 0.865, - 1.8441, - 0.865 - ], - "confidence": 1, - "span": { - "offset": 8, - "length": 4 - } - }, - { - "content": "INVOICE", - "polygon": [ - 7.0751, - 0.589, - 7.9886, - 0.589, - 7.9886, - 0.7697, - 7.0751, - 0.7697 - ], - "confidence": 1, - "span": { - "offset": 13, - "length": 7 - } - }, - { - "content": "Contoso", - "polygon": [ - 0.5882, - 1.4303, - 1.1337, - 1.4303, - 1.1337, - 1.5383, - 0.5882, - 1.5383 - ], - "confidence": 1, - "span": { - "offset": 21, - "length": 7 - } - }, - { - "content": "Headquarters", - "polygon": [ - 1.1905, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 1.1905, - 1.5664 - ], - "confidence": 1, - "span": { - "offset": 29, - "length": 12 - } - }, - { - "content": "INVOICE:", - "polygon": [ - 6.8599, - 1.4217, - 7.4328, - 1.4217, - 7.4328, - 1.5218, - 6.8599, - 1.5218 - ], - "confidence": 1, - "span": { - "offset": 42, - "length": 8 - } - }, - { - "content": "INV-100", - "polygon": [ - 7.4959, - 1.422, - 7.9988, - 1.422, - 7.9988, - 1.5215, - 7.4959, - 1.5215 - ], - "confidence": 1, - "span": { - "offset": 51, - "length": 7 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 1.6339, - 0.8213, - 1.6339, - 0.8213, - 1.742, - 0.5945, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 59, - "length": 3 - } - }, - { - "content": "456th", - "polygon": [ - 0.874, - 1.6092, - 1.2102, - 1.6092, - 1.2102, - 1.742, - 0.874, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 63, - "length": 5 - } - }, - { - "content": "St", - "polygon": [ - 1.2598, - 1.6339, - 1.3812, - 1.6339, - 1.3812, - 1.742, - 1.2598, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 69, - "length": 2 - } - }, - { - "content": "INVOICE", - "polygon": [ - 6.2263, - 1.6254, - 6.7562, - 1.6254, - 6.7562, - 1.7256, - 6.2263, - 1.7256 - ], - "confidence": 1, - "span": { - "offset": 72, - "length": 7 - } - }, - { - "content": "DATE:", - "polygon": [ - 6.8132, - 1.6267, - 7.1891, - 1.6267, - 7.1891, - 1.7248, - 6.8132, - 1.7248 - ], - "confidence": 1, - "span": { - "offset": 80, - "length": 5 - } - }, - { - "content": "11/15/2019", - "polygon": [ - 7.2528, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 7.2528, - 1.7449 - ], - "confidence": 1, - "span": { - "offset": 86, - "length": 10 - } - }, - { - "content": "New", - "polygon": [ - 0.5943, - 1.8385, - 0.8848, - 1.8385, - 0.8848, - 1.9454, - 0.5943, - 1.9454 - ], - "confidence": 1, - "span": { - "offset": 97, - "length": 3 - } - }, - { - "content": "York,", - "polygon": [ - 0.9293, - 1.8307, - 1.2568, - 1.8307, - 1.2568, - 1.9675, - 0.9293, - 1.9675 - ], - "confidence": 1, - "span": { - "offset": 101, - "length": 5 - } - }, - { - "content": "NY,", - "polygon": [ - 1.3205, - 1.8382, - 1.5242, - 1.8382, - 1.5242, - 1.9675, - 1.3205, - 1.9675 - ], - "confidence": 1, - "span": { - "offset": 107, - "length": 3 - } - }, - { - "content": "10001", - "polygon": [ - 1.5915, - 1.8372, - 1.9894, - 1.8372, - 1.9894, - 1.9454, - 1.5915, - 1.9454 - ], - "confidence": 1, - "span": { - "offset": 111, - "length": 5 - } - }, - { - "content": "DUE", - "polygon": [ - 6.4966, - 1.8333, - 6.7569, - 1.8333, - 6.7569, - 1.9322, - 6.4966, - 1.9322 - ], - "confidence": 1, - "span": { - "offset": 117, - "length": 3 - } - }, - { - "content": "DATE:", - "polygon": [ - 6.8126, - 1.8333, - 7.1846, - 1.8333, - 7.1846, - 1.9315, - 6.8126, - 1.9315 - ], - "confidence": 1, - "span": { - "offset": 121, - "length": 5 - } - }, - { - "content": "12/15/2019", - "polygon": [ - 7.2494, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 7.2494, - 1.9515 - ], - "confidence": 1, - "span": { - "offset": 127, - "length": 10 - } - }, - { - "content": "CUSTOMER", - "polygon": [ - 4.9513, - 2.0388, - 5.6868, - 2.0388, - 5.6868, - 2.1389, - 4.9513, - 2.1389 - ], - "confidence": 1, - "span": { - "offset": 138, - "length": 8 - } - }, - { - "content": "NAME:", - "polygon": [ - 5.7412, - 2.04, - 6.1764, - 2.04, - 6.1764, - 2.1381, - 5.7412, - 2.1381 - ], - "confidence": 1, - "span": { - "offset": 147, - "length": 5 - } - }, - { - "content": "MICROSOFT", - "polygon": [ - 6.2419, - 2.0391, - 6.9981, - 2.0391, - 6.9981, - 2.1386, - 6.2419, - 2.1386 - ], - "confidence": 1, - "span": { - "offset": 153, - "length": 9 - } - }, - { - "content": "CORPORATION", - "polygon": [ - 7.0448, - 2.0391, - 7.9825, - 2.0391, - 7.9825, - 2.1386, - 7.0448, - 2.1386 - ], - "confidence": 1, - "span": { - "offset": 163, - "length": 11 - } - }, - { - "content": "SERVICE", - "polygon": [ - 5.1667, - 2.2421, - 5.6923, - 2.2421, - 5.6923, - 2.3422, - 5.1667, - 2.3422 - ], - "confidence": 1, - "span": { - "offset": 175, - "length": 7 - } - }, - { - "content": "PERIOD:", - "polygon": [ - 5.748, - 2.2421, - 6.2721, - 2.2421, - 6.2721, - 2.3422, - 5.748, - 2.3422 - ], - "confidence": 1, - "span": { - "offset": 183, - "length": 7 - } - }, - { - "content": "10/14/2019", - "polygon": [ - 6.3357, - 2.2306, - 7.0749, - 2.2306, - 7.0749, - 2.3615, - 6.3357, - 2.3615 - ], - "confidence": 1, - "span": { - "offset": 191, - "length": 10 - } - }, - { - "content": "–", - "polygon": [ - 7.122, - 2.2922, - 7.1995, - 2.2922, - 7.1995, - 2.3037, - 7.122, - 2.3037 - ], - "confidence": 1, - "span": { - "offset": 202, - "length": 1 - } - }, - { - "content": "11/14/2019", - "polygon": [ - 7.2528, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 7.2528, - 2.3615 - ], - "confidence": 1, - "span": { - "offset": 204, - "length": 10 - } - }, - { - "content": "CUSTOMER", - "polygon": [ - 6.3253, - 2.4488, - 7.0608, - 2.4488, - 7.0608, - 2.5489, - 6.3253, - 2.5489 - ], - "confidence": 1, - "span": { - "offset": 215, - "length": 8 - } - }, - { - "content": "ID:", - "polygon": [ - 7.1153, - 2.45, - 7.2809, - 2.45, - 7.2809, - 2.5481, - 7.1153, - 2.5481 - ], - "confidence": 1, - "span": { - "offset": 224, - "length": 3 - } - }, - { - "content": "CID-12345", - "polygon": [ - 7.3369, - 2.4491, - 7.9951, - 2.4491, - 7.9951, - 2.5486, - 7.3369, - 2.5486 - ], - "confidence": 1, - "span": { - "offset": 228, - "length": 9 - } - }, - { - "content": "Microsoft", - "polygon": [ - 0.5943, - 2.6436, - 1.2303, - 2.6436, - 1.2303, - 2.759, - 0.5943, - 2.759 - ], - "confidence": 1, - "span": { - "offset": 238, - "length": 9 - } - }, - { - "content": "Corp", - "polygon": [ - 1.2808, - 2.651, - 1.586, - 2.651, - 1.586, - 2.7871, - 1.2808, - 2.7871 - ], - "confidence": 1, - "span": { - "offset": 248, - "length": 4 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 2.8541, - 0.8213, - 2.8541, - 0.8213, - 2.9623, - 0.5945, - 2.9623 - ], - "confidence": 1, - "span": { - "offset": 253, - "length": 3 - } - }, - { - "content": "Other", - "polygon": [ - 0.875, - 2.8476, - 1.262, - 2.8476, - 1.262, - 2.9623, - 0.875, - 2.9623 - ], - "confidence": 1, - "span": { - "offset": 257, - "length": 5 - } - }, - { - "content": "St,", - "polygon": [ - 1.3058, - 2.8541, - 1.4633, - 2.8541, - 1.4633, - 2.9845, - 1.3058, - 2.9845 - ], - "confidence": 1, - "span": { - "offset": 263, - "length": 3 - } - }, - { - "content": "Redmond", - "polygon": [ - 0.5943, - 3.0513, - 1.2222, - 3.0513, - 1.2222, - 3.1656, - 0.5943, - 3.1656 - ], - "confidence": 1, - "span": { - "offset": 267, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 1.2753, - 3.0585, - 1.5468, - 3.0585, - 1.5468, - 3.1878, - 1.2753, - 3.1878 - ], - "confidence": 1, - "span": { - "offset": 275, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 1.6033, - 3.0575, - 2.0083, - 3.0575, - 2.0083, - 3.1656, - 1.6033, - 3.1656 - ], - "confidence": 1, - "span": { - "offset": 279, - "length": 5 - } - }, - { - "content": "BILL", - "polygon": [ - 0.5909, - 3.5603, - 0.8438, - 3.5603, - 0.8438, - 3.6579, - 0.5909, - 3.6579 - ], - "confidence": 1, - "span": { - "offset": 285, - "length": 4 - } - }, - { - "content": "TO:", - "polygon": [ - 0.8846, - 3.559, - 1.1032, - 3.559, - 1.1032, - 3.6592, - 0.8846, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 290, - "length": 3 - } - }, - { - "content": "SHIP", - "polygon": [ - 3.3361, - 3.559, - 3.6278, - 3.559, - 3.6278, - 3.6592, - 3.3361, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 294, - "length": 4 - } - }, - { - "content": "TO:", - "polygon": [ - 3.6716, - 3.559, - 3.8903, - 3.559, - 3.8903, - 3.6592, - 3.6716, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 299, - "length": 3 - } - }, - { - "content": "SERVICE", - "polygon": [ - 6.2104, - 3.559, - 6.7361, - 3.559, - 6.7361, - 3.6592, - 6.2104, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 303, - "length": 7 - } - }, - { - "content": "ADDRESS:", - "polygon": [ - 6.7828, - 3.559, - 7.4232, - 3.559, - 7.4232, - 3.6592, - 6.7828, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 311, - "length": 8 - } - }, - { - "content": "Microsoft", - "polygon": [ - 0.5943, - 3.7641, - 1.2303, - 3.7641, - 1.2303, - 3.8794, - 0.5943, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 320, - "length": 9 - } - }, - { - "content": "Finance", - "polygon": [ - 1.287, - 3.7701, - 1.7878, - 3.7701, - 1.7878, - 3.8794, - 1.287, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 330, - "length": 7 - } - }, - { - "content": "Microsoft", - "polygon": [ - 3.3454, - 3.7641, - 3.9814, - 3.7641, - 3.9814, - 3.8794, - 3.3454, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 338, - "length": 9 - } - }, - { - "content": "Delivery", - "polygon": [ - 4.0381, - 3.7647, - 4.5762, - 3.7647, - 4.5762, - 3.9076, - 4.0381, - 3.9076 - ], - "confidence": 1, - "span": { - "offset": 348, - "length": 8 - } - }, - { - "content": "Microsoft", - "polygon": [ - 6.2197, - 3.7641, - 6.8557, - 3.7641, - 6.8557, - 3.8794, - 6.2197, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 357, - "length": 9 - } - }, - { - "content": "Services", - "polygon": [ - 6.9042, - 3.7701, - 7.4427, - 3.7701, - 7.4427, - 3.8794, - 6.9042, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 367, - "length": 8 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 3.9746, - 0.8213, - 3.9746, - 0.8213, - 4.0827, - 0.5945, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 376, - "length": 3 - } - }, - { - "content": "Bill", - "polygon": [ - 0.8842, - 3.9681, - 1.0657, - 3.9681, - 1.0657, - 4.0817, - 0.8842, - 4.0817 - ], - "confidence": 1, - "span": { - "offset": 380, - "length": 4 - } - }, - { - "content": "St,", - "polygon": [ - 1.1222, - 3.9746, - 1.2765, - 3.9746, - 1.2765, - 4.1049, - 1.1222, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 385, - "length": 3 - } - }, - { - "content": "123", - "polygon": [ - 3.3456, - 3.9746, - 3.5724, - 3.9746, - 3.5724, - 4.0827, - 3.3456, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 389, - "length": 3 - } - }, - { - "content": "Ship", - "polygon": [ - 3.6239, - 3.9681, - 3.9042, - 3.9681, - 3.9042, - 4.1109, - 3.6239, - 4.1109 - ], - "confidence": 1, - "span": { - "offset": 393, - "length": 4 - } - }, - { - "content": "St,", - "polygon": [ - 3.9536, - 3.9746, - 4.1111, - 3.9746, - 4.1111, - 4.1049, - 3.9536, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 398, - "length": 3 - } - }, - { - "content": "123", - "polygon": [ - 6.2199, - 3.9746, - 6.4467, - 3.9746, - 6.4467, - 4.0827, - 6.2199, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 402, - "length": 3 - } - }, - { - "content": "Service", - "polygon": [ - 6.4985, - 3.9734, - 6.9738, - 3.9734, - 6.9738, - 4.0827, - 6.4985, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 406, - "length": 7 - } - }, - { - "content": "St,", - "polygon": [ - 7.0246, - 3.9746, - 7.1821, - 3.9746, - 7.1821, - 4.1049, - 7.0246, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 414, - "length": 3 - } - }, - { - "content": "Redmond", - "polygon": [ - 0.5943, - 4.1717, - 1.2222, - 4.1717, - 1.2222, - 4.2861, - 0.5943, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 418, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 1.2753, - 4.1789, - 1.5468, - 4.1789, - 1.5468, - 4.3082, - 1.2753, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 426, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 1.6033, - 4.1779, - 2.0083, - 4.1779, - 2.0083, - 4.2861, - 1.6033, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 430, - "length": 5 - } - }, - { - "content": "Redmond", - "polygon": [ - 3.3454, - 4.1717, - 3.9732, - 4.1717, - 3.9732, - 4.2861, - 3.3454, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 436, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 4.0264, - 4.1789, - 4.2979, - 4.1789, - 4.2979, - 4.3082, - 4.0264, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 444, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 4.3544, - 4.1779, - 4.7594, - 4.1779, - 4.7594, - 4.2861, - 4.3544, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 448, - "length": 5 - } - }, - { - "content": "Redmond", - "polygon": [ - 6.2197, - 4.1717, - 6.8475, - 4.1717, - 6.8475, - 4.2861, - 6.2197, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 454, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 6.9007, - 4.1789, - 7.1722, - 4.1789, - 7.1722, - 4.3082, - 6.9007, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 462, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 7.2287, - 4.1779, - 7.6337, - 4.1779, - 7.6337, - 4.2861, - 7.2287, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 466, - "length": 5 - } - }, - { - "content": "SALESPERSON", - "polygon": [ - 0.7018, - 4.6528, - 1.6092, - 4.6528, - 1.6092, - 4.7529, - 0.7018, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 472, - "length": 11 - } - }, - { - "content": "P.O.", - "polygon": [ - 2.1216, - 4.6528, - 2.3788, - 4.6528, - 2.3788, - 4.7529, - 2.1216, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 484, - "length": 4 - } - }, - { - "content": "NUMBER", - "polygon": [ - 2.4376, - 4.654, - 3.0155, - 4.654, - 3.0155, - 4.7529, - 2.4376, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 489, - "length": 6 - } - }, - { - "content": "REQUISITIONER", - "polygon": [ - 3.4953, - 4.6528, - 4.5157, - 4.6528, - 4.5157, - 4.7687, - 3.4953, - 4.7687 - ], - "confidence": 1, - "span": { - "offset": 496, - "length": 13 - } - }, - { - "content": "SHIPPED", - "polygon": [ - 4.81, - 4.6528, - 5.362, - 4.6528, - 5.362, - 4.7529, - 4.81, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 510, - "length": 7 - } - }, - { - "content": "VIA", - "polygon": [ - 5.409, - 4.654, - 5.6317, - 4.654, - 5.6317, - 4.7517, - 5.409, - 4.7517 - ], - "confidence": 1, - "span": { - "offset": 518, - "length": 3 - } - }, - { - "content": "F.O.B.", - "polygon": [ - 5.8696, - 4.6528, - 6.2467, - 4.6528, - 6.2467, - 4.7529, - 5.8696, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 522, - "length": 6 - } - }, - { - "content": "POINT", - "polygon": [ - 6.3054, - 4.6528, - 6.706, - 4.6528, - 6.706, - 4.7529, - 6.3054, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 529, - "length": 5 - } - }, - { - "content": "TERMS", - "polygon": [ - 7.1806, - 4.6528, - 7.6304, - 4.6528, - 7.6304, - 4.7529, - 7.1806, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 535, - "length": 5 - } - }, - { - "content": "PO-3333", - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ], - "confidence": 1, - "span": { - "offset": 541, - "length": 7 - } - }, - { - "content": "DATE", - "polygon": [ - 0.7409, - 5.421, - 1.0744, - 5.421, - 1.0744, - 5.5186, - 0.7409, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 549, - "length": 4 - } - }, - { - "content": "ITEM", - "polygon": [ - 1.4213, - 5.421, - 1.7338, - 5.421, - 1.7338, - 5.5186, - 1.4213, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 554, - "length": 4 - } - }, - { - "content": "CODE", - "polygon": [ - 1.7893, - 5.4197, - 2.1407, - 5.4197, - 2.1407, - 5.5199, - 1.7893, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 559, - "length": 4 - } - }, - { - "content": "DESCRIPTION", - "polygon": [ - 2.8516, - 5.4197, - 3.7134, - 5.4197, - 3.7134, - 5.5199, - 2.8516, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 564, - "length": 11 - } - }, - { - "content": "QTY", - "polygon": [ - 4.4043, - 5.4197, - 4.6631, - 5.4197, - 4.6631, - 5.5357, - 4.4043, - 5.5357 - ], - "confidence": 1, - "span": { - "offset": 576, - "length": 3 - } - }, - { - "content": "UM", - "polygon": [ - 5.049, - 5.421, - 5.2654, - 5.421, - 5.2654, - 5.5199, - 5.049, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 580, - "length": 2 - } - }, - { - "content": "PRICE", - "polygon": [ - 5.8563, - 5.4199, - 6.2163, - 5.4199, - 6.2163, - 5.5197, - 5.8563, - 5.5197 - ], - "confidence": 1, - "span": { - "offset": 583, - "length": 5 - } - }, - { - "content": "TAX", - "polygon": [ - 6.7169, - 5.421, - 6.974, - 5.421, - 6.974, - 5.5186, - 6.7169, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 589, - "length": 3 - } - }, - { - "content": "AMOUNT", - "polygon": [ - 7.2847, - 5.4197, - 7.9039, - 5.4197, - 7.9039, - 5.5199, - 7.2847, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 593, - "length": 6 - } - }, - { - "content": "3/4/2021", - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ], - "confidence": 1, - "span": { - "offset": 600, - "length": 8 - } - }, - { - "content": "A123", - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 609, - "length": 4 - } - }, - { - "content": "Consulting", - "polygon": [ - 2.3388, - 5.6883, - 3.0438, - 5.6883, - 3.0438, - 5.8312, - 2.3388, - 5.8312 - ], - "confidence": 1, - "span": { - "offset": 614, - "length": 10 - } - }, - { - "content": "Services", - "polygon": [ - 3.0925, - 5.6937, - 3.6278, - 5.6937, - 3.6278, - 5.803, - 3.0925, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 625, - "length": 8 - } - }, - { - "content": "2", - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ], - "confidence": 1, - "span": { - "offset": 634, - "length": 1 - } - }, - { - "content": "hours", - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 636, - "length": 5 - } - }, - { - "content": "$30.00", - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ], - "confidence": 1, - "span": { - "offset": 642, - "length": 6 - } - }, - { - "content": "10%", - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ], - "confidence": 1, - "span": { - "offset": 649, - "length": 3 - } - }, - { - "content": "$60.00", - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ], - "confidence": 1, - "span": { - "offset": 653, - "length": 6 - } - }, - { - "content": "3/5/2021", - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ], - "confidence": 1, - "span": { - "offset": 660, - "length": 8 - } - }, - { - "content": "B456", - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 669, - "length": 4 - } - }, - { - "content": "Document", - "polygon": [ - 2.345, - 5.993, - 3.0318, - 5.993, - 3.0318, - 6.0997, - 2.345, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 674, - "length": 8 - } - }, - { - "content": "Fee", - "polygon": [ - 3.0887, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 3.0887, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 683, - "length": 3 - } - }, - { - "content": "3", - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 687, - "length": 1 - } - }, - { - "content": "$10.00", - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ], - "confidence": 1, - "span": { - "offset": 689, - "length": 6 - } - }, - { - "content": "5%", - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ], - "confidence": 1, - "span": { - "offset": 696, - "length": 2 - } - }, - { - "content": "$30.00", - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ], - "confidence": 1, - "span": { - "offset": 699, - "length": 6 - } - }, - { - "content": "3/6/2021", - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ], - "confidence": 1, - "span": { - "offset": 706, - "length": 8 - } - }, - { - "content": "C789", - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 715, - "length": 4 - } - }, - { - "content": "Printing", - "polygon": [ - 2.345, - 6.2906, - 2.8575, - 6.2906, - 2.8575, - 6.4281, - 2.345, - 6.4281 - ], - "confidence": 1, - "span": { - "offset": 720, - "length": 8 - } - }, - { - "content": "Fee", - "polygon": [ - 2.9143, - 6.2933, - 3.1351, - 6.2933, - 3.1351, - 6.3999, - 2.9143, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 729, - "length": 3 - } - }, - { - "content": "10", - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 733, - "length": 2 - } - }, - { - "content": "pages", - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ], - "confidence": 1, - "span": { - "offset": 736, - "length": 5 - } - }, - { - "content": "$1.00", - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ], - "confidence": 1, - "span": { - "offset": 742, - "length": 5 - } - }, - { - "content": "20%", - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ], - "confidence": 1, - "span": { - "offset": 748, - "length": 3 - } - }, - { - "content": "$10.00", - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ], - "confidence": 1, - "span": { - "offset": 752, - "length": 6 - } - }, - { - "content": "SUBTOTAL", - "polygon": [ - 6.0282, - 6.9118, - 6.7309, - 6.9118, - 6.7309, - 7.0199, - 6.0282, - 7.0199 - ], - "confidence": 1, - "span": { - "offset": 759, - "length": 8 - } - }, - { - "content": "$100.00", - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ], - "confidence": 1, - "span": { - "offset": 768, - "length": 7 - } - }, - { - "content": "SALES", - "polygon": [ - 6.0382, - 7.2089, - 6.4262, - 7.2089, - 6.4262, - 7.317, - 6.0382, - 7.317 - ], - "confidence": 1, - "span": { - "offset": 776, - "length": 5 - } - }, - { - "content": "TAX", - "polygon": [ - 6.4702, - 7.2099, - 6.728, - 7.2099, - 6.728, - 7.316, - 6.4702, - 7.316 - ], - "confidence": 1, - "span": { - "offset": 782, - "length": 3 - } - }, - { - "content": "$10.00", - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ], - "confidence": 1, - "span": { - "offset": 786, - "length": 6 - } - }, - { - "content": "TOTAL", - "polygon": [ - 6.2969, - 7.5089, - 6.7309, - 7.5089, - 6.7309, - 7.617, - 6.2969, - 7.617 - ], - "confidence": 1, - "span": { - "offset": 793, - "length": 5 - } - }, - { - "content": "$110.00", - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ], - "confidence": 1, - "span": { - "offset": 799, - "length": 7 - } - }, - { - "content": "PREVIOUS", - "polygon": [ - 4.8126, - 7.8055, - 5.4789, - 7.8055, - 5.4789, - 7.9137, - 4.8126, - 7.9137 - ], - "confidence": 1, - "span": { - "offset": 807, - "length": 8 - } - }, - { - "content": "UNPAID", - "polygon": [ - 5.5362, - 7.8065, - 6.057, - 7.8065, - 6.057, - 7.9137, - 5.5362, - 7.9137 - ], - "confidence": 1, - "span": { - "offset": 816, - "length": 6 - } - }, - { - "content": "BALANCE", - "polygon": [ - 6.1164, - 7.8057, - 6.7249, - 7.8057, - 6.7249, - 7.9135, - 6.1164, - 7.9135 - ], - "confidence": 1, - "span": { - "offset": 823, - "length": 7 - } - }, - { - "content": "$500.00", - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ], - "confidence": 1, - "span": { - "offset": 831, - "length": 7 - } - }, - { - "content": "AMOUNT", - "polygon": [ - 5.7652, - 8.1022, - 6.4055, - 8.1022, - 6.4055, - 8.2104, - 5.7652, - 8.2104 - ], - "confidence": 1, - "span": { - "offset": 839, - "length": 6 - } - }, - { - "content": "DUE", - "polygon": [ - 6.4562, - 8.1032, - 6.725, - 8.1032, - 6.725, - 8.2104, - 6.4562, - 8.2104 - ], - "confidence": 1, - "span": { - "offset": 846, - "length": 3 - } - }, - { - "content": "$610.00", - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ], - "confidence": 1, - "span": { - "offset": 850, - "length": 7 - } - }, - { - "content": "THANK", - "polygon": [ - 3.129, - 8.5453, - 3.5887, - 8.5453, - 3.5887, - 8.6429, - 3.129, - 8.6429 - ], - "confidence": 1, - "span": { - "offset": 858, - "length": 5 - } - }, - { - "content": "YOU", - "polygon": [ - 3.6316, - 8.544, - 3.9064, - 8.544, - 3.9064, - 8.6442, - 3.6316, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 864, - "length": 3 - } - }, - { - "content": "FOR", - "polygon": [ - 3.9671, - 8.544, - 4.2187, - 8.544, - 4.2187, - 8.6442, - 3.9671, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 868, - "length": 3 - } - }, - { - "content": "YOUR", - "polygon": [ - 4.2638, - 8.544, - 4.6347, - 8.544, - 4.6347, - 8.6442, - 4.2638, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 872, - "length": 4 - } - }, - { - "content": "BUSINESS!", - "polygon": [ - 4.6859, - 8.539, - 5.356, - 8.539, - 5.356, - 8.6442, - 4.6859, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 877, - "length": 9 - } - }, - { - "content": "REMIT", - "polygon": [ - 0.5909, - 9.1619, - 1.0014, - 9.1619, - 1.0014, - 9.2596, - 0.5909, - 9.2596 - ], - "confidence": 1, - "span": { - "offset": 887, - "length": 5 - } - }, - { - "content": "TO:", - "polygon": [ - 1.0446, - 9.1607, - 1.2603, - 9.1607, - 1.2603, - 9.2608, - 1.0446, - 9.2608 - ], - "confidence": 1, - "span": { - "offset": 893, - "length": 3 - } - }, - { - "content": "Contoso", - "polygon": [ - 0.5882, - 9.3697, - 1.1337, - 9.3697, - 1.1337, - 9.4777, - 0.5882, - 9.4777 - ], - "confidence": 1, - "span": { - "offset": 897, - "length": 7 - } - }, - { - "content": "Billing", - "polygon": [ - 1.1905, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 1.1905, - 9.5059 - ], - "confidence": 1, - "span": { - "offset": 905, - "length": 7 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 9.5728, - 0.8213, - 9.5728, - 0.8213, - 9.681, - 0.5945, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 913, - "length": 3 - } - }, - { - "content": "Remit", - "polygon": [ - 0.881, - 9.5717, - 1.264, - 9.5717, - 1.264, - 9.681, - 0.881, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 917, - "length": 5 - } - }, - { - "content": "St", - "polygon": [ - 1.3125, - 9.5728, - 1.4337, - 9.5728, - 1.4337, - 9.681, - 1.3125, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 923, - "length": 2 - } - }, - { - "content": "New", - "polygon": [ - 0.5943, - 9.7808, - 0.8848, - 9.7808, - 0.8848, - 9.8877, - 0.5943, - 9.8877 - ], - "confidence": 1, - "span": { - "offset": 926, - "length": 3 - } - }, - { - "content": "York,", - "polygon": [ - 0.9293, - 9.773, - 1.2568, - 9.773, - 1.2568, - 9.9098, - 0.9293, - 9.9098 - ], - "confidence": 1, - "span": { - "offset": 930, - "length": 5 - } - }, - { - "content": "NY,", - "polygon": [ - 1.3205, - 9.7805, - 1.5233, - 9.7805, - 1.5233, - 9.9098, - 1.3205, - 9.9098 - ], - "confidence": 1, - "span": { - "offset": 936, - "length": 3 - } - }, - { - "content": "10001", - "polygon": [ - 1.5903, - 9.7795, - 1.9882, - 9.7795, - 1.9882, - 9.8877, - 1.5903, - 9.8877 - ], - "confidence": 1, - "span": { - "offset": 940, - "length": 5 - } - } - ], - "selectionMarks": [ - { - "state": "unselected", - "polygon": [ - 4.3231, - 5.6279, - 4.7562, - 5.6279, - 4.7562, - 5.8654, - 4.3231, - 5.8654 - ], - "confidence": 0.212, - "span": { - "offset": 946, - "length": 12 - } - } - ], - "lines": [ - { - "content": "CONTOSO LTD.", - "polygon": [ - 0.5911, - 0.6857, - 2.3181, - 0.6857, - 2.3181, - 0.8664, - 0.5911, - 0.8664 - ], - "spans": [ - { - "offset": 0, - "length": 12 - } - ] - }, - { - "content": "INVOICE", - "polygon": [ - 7.0751, - 0.589, - 7.9886, - 0.589, - 7.9886, - 0.7697, - 7.0751, - 0.7697 - ], - "spans": [ - { - "offset": 13, - "length": 7 - } - ] - }, - { - "content": "Contoso Headquarters", - "polygon": [ - 0.5882, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 0.5882, - 1.5664 - ], - "spans": [ - { - "offset": 21, - "length": 20 - } - ] - }, - { - "content": "INVOICE: INV-100", - "polygon": [ - 6.8599, - 1.4217, - 7.9988, - 1.4217, - 7.9988, - 1.5218, - 6.8599, - 1.5218 - ], - "spans": [ - { - "offset": 42, - "length": 16 - } - ] - }, - { - "content": "123 456th St", - "polygon": [ - 0.5945, - 1.6092, - 1.3812, - 1.6092, - 1.3812, - 1.742, - 0.5945, - 1.742 - ], - "spans": [ - { - "offset": 59, - "length": 12 - } - ] - }, - { - "content": "INVOICE DATE: 11/15/2019", - "polygon": [ - 6.2263, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 6.2263, - 1.7449 - ], - "spans": [ - { - "offset": 72, - "length": 24 - } - ] - }, - { - "content": "New York, NY, 10001", - "polygon": [ - 0.5943, - 1.8307, - 1.9894, - 1.8307, - 1.9894, - 1.9675, - 0.5943, - 1.9675 - ], - "spans": [ - { - "offset": 97, - "length": 19 - } - ] - }, - { - "content": "DUE DATE: 12/15/2019", - "polygon": [ - 6.4966, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 6.4966, - 1.9515 - ], - "spans": [ - { - "offset": 117, - "length": 20 - } - ] - }, - { - "content": "CUSTOMER NAME: MICROSOFT CORPORATION", - "polygon": [ - 4.9513, - 2.0388, - 7.9825, - 2.0388, - 7.9825, - 2.1389, - 4.9513, - 2.1389 - ], - "spans": [ - { - "offset": 138, - "length": 36 - } - ] - }, - { - "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019", - "polygon": [ - 5.1667, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 5.1667, - 2.3615 - ], - "spans": [ - { - "offset": 175, - "length": 39 - } - ] - }, - { - "content": "CUSTOMER ID: CID-12345", - "polygon": [ - 6.3253, - 2.4488, - 7.9951, - 2.4488, - 7.9951, - 2.5489, - 6.3253, - 2.5489 - ], - "spans": [ - { - "offset": 215, - "length": 22 - } - ] - }, - { - "content": "Microsoft Corp", - "polygon": [ - 0.5943, - 2.6436, - 1.586, - 2.6436, - 1.586, - 2.7871, - 0.5943, - 2.7871 - ], - "spans": [ - { - "offset": 238, - "length": 14 - } - ] - }, - { - "content": "123 Other St,", - "polygon": [ - 0.5945, - 2.8476, - 1.4633, - 2.8476, - 1.4633, - 2.9845, - 0.5945, - 2.9845 - ], - "spans": [ - { - "offset": 253, - "length": 13 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 0.5943, - 3.0513, - 2.0083, - 3.0513, - 2.0083, - 3.1878, - 0.5943, - 3.1878 - ], - "spans": [ - { - "offset": 267, - "length": 17 - } - ] - }, - { - "content": "BILL TO:", - "polygon": [ - 0.5909, - 3.559, - 1.1032, - 3.559, - 1.1032, - 3.6592, - 0.5909, - 3.6592 - ], - "spans": [ - { - "offset": 285, - "length": 8 - } - ] - }, - { - "content": "SHIP TO:", - "polygon": [ - 3.3361, - 3.559, - 3.8903, - 3.559, - 3.8903, - 3.6592, - 3.3361, - 3.6592 - ], - "spans": [ - { - "offset": 294, - "length": 8 - } - ] - }, - { - "content": "SERVICE ADDRESS:", - "polygon": [ - 6.2104, - 3.559, - 7.4232, - 3.559, - 7.4232, - 3.6592, - 6.2104, - 3.6592 - ], - "spans": [ - { - "offset": 303, - "length": 16 - } - ] - }, - { - "content": "Microsoft Finance", - "polygon": [ - 0.5943, - 3.7641, - 1.7878, - 3.7641, - 1.7878, - 3.8794, - 0.5943, - 3.8794 - ], - "spans": [ - { - "offset": 320, - "length": 17 - } - ] - }, - { - "content": "Microsoft Delivery", - "polygon": [ - 3.3454, - 3.7641, - 4.5762, - 3.7641, - 4.5762, - 3.9076, - 3.3454, - 3.9076 - ], - "spans": [ - { - "offset": 338, - "length": 18 - } - ] - }, - { - "content": "Microsoft Services", - "polygon": [ - 6.2197, - 3.7641, - 7.4427, - 3.7641, - 7.4427, - 3.8794, - 6.2197, - 3.8794 - ], - "spans": [ - { - "offset": 357, - "length": 18 - } - ] - }, - { - "content": "123 Bill St,", - "polygon": [ - 0.5945, - 3.9681, - 1.2765, - 3.9681, - 1.2765, - 4.1049, - 0.5945, - 4.1049 - ], - "spans": [ - { - "offset": 376, - "length": 12 - } - ] - }, - { - "content": "123 Ship St,", - "polygon": [ - 3.3456, - 3.9681, - 4.1111, - 3.9681, - 4.1111, - 4.1109, - 3.3456, - 4.1109 - ], - "spans": [ - { - "offset": 389, - "length": 12 - } - ] - }, - { - "content": "123 Service St,", - "polygon": [ - 6.2199, - 3.9734, - 7.1821, - 3.9734, - 7.1821, - 4.1049, - 6.2199, - 4.1049 - ], - "spans": [ - { - "offset": 402, - "length": 15 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 0.5943, - 4.1717, - 2.0083, - 4.1717, - 2.0083, - 4.3082, - 0.5943, - 4.3082 - ], - "spans": [ - { - "offset": 418, - "length": 17 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 3.3454, - 4.1717, - 4.7594, - 4.1717, - 4.7594, - 4.3082, - 3.3454, - 4.3082 - ], - "spans": [ - { - "offset": 436, - "length": 17 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 6.2197, - 4.1717, - 7.6337, - 4.1717, - 7.6337, - 4.3082, - 6.2197, - 4.3082 - ], - "spans": [ - { - "offset": 454, - "length": 17 - } - ] - }, - { - "content": "SALESPERSON", - "polygon": [ - 0.7018, - 4.6528, - 1.6092, - 4.6528, - 1.6092, - 4.7529, - 0.7018, - 4.7529 - ], - "spans": [ - { - "offset": 472, - "length": 11 - } - ] - }, - { - "content": "P.O. NUMBER", - "polygon": [ - 2.1216, - 4.6528, - 3.0155, - 4.6528, - 3.0155, - 4.7529, - 2.1216, - 4.7529 - ], - "spans": [ - { - "offset": 484, - "length": 11 - } - ] - }, - { - "content": "REQUISITIONER", - "polygon": [ - 3.4953, - 4.6528, - 4.5157, - 4.6528, - 4.5157, - 4.7687, - 3.4953, - 4.7687 - ], - "spans": [ - { - "offset": 496, - "length": 13 - } - ] - }, - { - "content": "SHIPPED VIA", - "polygon": [ - 4.81, - 4.6528, - 5.6317, - 4.6528, - 5.6317, - 4.7529, - 4.81, - 4.7529 - ], - "spans": [ - { - "offset": 510, - "length": 11 - } - ] - }, - { - "content": "F.O.B. POINT", - "polygon": [ - 5.8696, - 4.6528, - 6.706, - 4.6528, - 6.706, - 4.7529, - 5.8696, - 4.7529 - ], - "spans": [ - { - "offset": 522, - "length": 12 - } - ] - }, - { - "content": "TERMS", - "polygon": [ - 7.1806, - 4.6528, - 7.6304, - 4.6528, - 7.6304, - 4.7529, - 7.1806, - 4.7529 - ], - "spans": [ - { - "offset": 535, - "length": 5 - } - ] - }, - { - "content": "PO-3333", - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ], - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - { - "content": "DATE", - "polygon": [ - 0.7409, - 5.421, - 1.0744, - 5.421, - 1.0744, - 5.5186, - 0.7409, - 5.5186 - ], - "spans": [ - { - "offset": 549, - "length": 4 - } - ] - }, - { - "content": "ITEM CODE", - "polygon": [ - 1.4213, - 5.4197, - 2.1407, - 5.4197, - 2.1407, - 5.5199, - 1.4213, - 5.5199 - ], - "spans": [ - { - "offset": 554, - "length": 9 - } - ] - }, - { - "content": "DESCRIPTION", - "polygon": [ - 2.8516, - 5.4197, - 3.7134, - 5.4197, - 3.7134, - 5.5199, - 2.8516, - 5.5199 - ], - "spans": [ - { - "offset": 564, - "length": 11 - } - ] - }, - { - "content": "QTY", - "polygon": [ - 4.4043, - 5.4197, - 4.6631, - 5.4197, - 4.6631, - 5.5357, - 4.4043, - 5.5357 - ], - "spans": [ - { - "offset": 576, - "length": 3 - } - ] - }, - { - "content": "UM", - "polygon": [ - 5.049, - 5.421, - 5.2654, - 5.421, - 5.2654, - 5.5199, - 5.049, - 5.5199 - ], - "spans": [ - { - "offset": 580, - "length": 2 - } - ] - }, - { - "content": "PRICE", - "polygon": [ - 5.8563, - 5.4199, - 6.2163, - 5.4199, - 6.2163, - 5.5197, - 5.8563, - 5.5197 - ], - "spans": [ - { - "offset": 583, - "length": 5 - } - ] - }, - { - "content": "TAX", - "polygon": [ - 6.7169, - 5.421, - 6.974, - 5.421, - 6.974, - 5.5186, - 6.7169, - 5.5186 - ], - "spans": [ - { - "offset": 589, - "length": 3 - } - ] - }, - { - "content": "AMOUNT", - "polygon": [ - 7.2847, - 5.4197, - 7.9039, - 5.4197, - 7.9039, - 5.5199, - 7.2847, - 5.5199 - ], - "spans": [ - { - "offset": 593, - "length": 6 - } - ] - }, - { - "content": "3/4/2021", - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ], - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - { - "content": "A123", - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ], - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - { - "content": "Consulting Services", - "polygon": [ - 2.3388, - 5.6883, - 3.6278, - 5.6883, - 3.6278, - 5.8312, - 2.3388, - 5.8312 - ], - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - { - "content": "2", - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ], - "spans": [ - { - "offset": 634, - "length": 1 - } - ] - }, - { - "content": "hours", - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ], - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - { - "content": "$30.00", - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ], - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - }, - { - "content": "10%", - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ], - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - { - "content": "$60.00", - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ], - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - { - "content": "3/5/2021", - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ], - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - { - "content": "B456", - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ], - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - { - "content": "Document Fee", - "polygon": [ - 2.345, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 2.345, - 6.0997 - ], - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - { - "content": "3", - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ], - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ], - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - }, - { - "content": "5%", - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ], - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - { - "content": "$30.00", - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ], - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - { - "content": "3/6/2021", - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ], - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - { - "content": "C789", - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ], - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - { - "content": "Printing Fee", - "polygon": [ - 2.345, - 6.2906, - 3.1351, - 6.2906, - 3.1351, - 6.4281, - 2.345, - 6.4281 - ], - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - { - "content": "10", - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ], - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - { - "content": "pages", - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ], - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - { - "content": "$1.00", - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ], - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - }, - { - "content": "20%", - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ], - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ], - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - }, - { - "content": "SUBTOTAL", - "polygon": [ - 6.0282, - 6.9118, - 6.7309, - 6.9118, - 6.7309, - 7.0199, - 6.0282, - 7.0199 - ], - "spans": [ - { - "offset": 759, - "length": 8 - } - ] - }, - { - "content": "$100.00", - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ], - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - { - "content": "SALES TAX", - "polygon": [ - 6.0382, - 7.2089, - 6.728, - 7.2089, - 6.728, - 7.317, - 6.0382, - 7.317 - ], - "spans": [ - { - "offset": 776, - "length": 9 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ], - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - { - "content": "TOTAL", - "polygon": [ - 6.2969, - 7.5089, - 6.7309, - 7.5089, - 6.7309, - 7.617, - 6.2969, - 7.617 - ], - "spans": [ - { - "offset": 793, - "length": 5 - } - ] - }, - { - "content": "$110.00", - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ], - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - { - "content": "PREVIOUS UNPAID BALANCE", - "polygon": [ - 4.8126, - 7.8055, - 6.7249, - 7.8055, - 6.7249, - 7.9137, - 4.8126, - 7.9137 - ], - "spans": [ - { - "offset": 807, - "length": 23 - } - ] - }, - { - "content": "$500.00", - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ], - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - { - "content": "AMOUNT DUE", - "polygon": [ - 5.7652, - 8.1022, - 6.725, - 8.1022, - 6.725, - 8.2104, - 5.7652, - 8.2104 - ], - "spans": [ - { - "offset": 839, - "length": 10 - } - ] - }, - { - "content": "$610.00", - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ], - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - }, - { - "content": "THANK YOU FOR YOUR BUSINESS!", - "polygon": [ - 3.129, - 8.539, - 5.356, - 8.539, - 5.356, - 8.6442, - 3.129, - 8.6442 - ], - "spans": [ - { - "offset": 858, - "length": 28 - } - ] - }, - { - "content": "REMIT TO:", - "polygon": [ - 0.5909, - 9.1607, - 1.2603, - 9.1607, - 1.2603, - 9.2608, - 0.5909, - 9.2608 - ], - "spans": [ - { - "offset": 887, - "length": 9 - } - ] - }, - { - "content": "Contoso Billing", - "polygon": [ - 0.5882, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 0.5882, - 9.5059 - ], - "spans": [ - { - "offset": 897, - "length": 15 - } - ] - }, - { - "content": "123 Remit St", - "polygon": [ - 0.5945, - 9.5717, - 1.4337, - 9.5717, - 1.4337, - 9.681, - 0.5945, - 9.681 - ], - "spans": [ - { - "offset": 913, - "length": 12 - } - ] - }, - { - "content": "New York, NY, 10001", - "polygon": [ - 0.5943, - 9.773, - 1.9882, - 9.773, - 1.9882, - 9.9098, - 0.5943, - 9.9098 - ], - "spans": [ - { - "offset": 926, - "length": 19 - } - ] - } - ], - "spans": [ - { - "offset": 0, - "length": 958 - } - ] - } - ], - "tables": [ - { - "rowCount": 4, - "columnCount": 8, - "cells": [ - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "DATE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4932, - 5.329, - 1.3011, - 5.3213, - 1.3011, - 5.6056, - 0.5009, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 549, - "length": 4 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "ITEM CODE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.3213, - 2.2476, - 5.3213, - 2.2399, - 5.6056, - 1.3011, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 554, - "length": 9 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "DESCRIPTION", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2476, - 5.3213, - 4.3174, - 5.329, - 4.3097, - 5.6056, - 2.2399, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 564, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "QTY", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3174, - 5.329, - 4.7483, - 5.329, - 4.7483, - 5.6056, - 4.3097, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 576, - "length": 3 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "UM", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.329, - 5.5639, - 5.329, - 5.5639, - 5.6056, - 4.7483, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 580, - "length": 2 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "PRICE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.329, - 6.495, - 5.329, - 6.495, - 5.6056, - 5.5639, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 583, - "length": 5 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "TAX", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.329, - 7.1875, - 5.329, - 7.1952, - 5.6056, - 6.495, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 589, - "length": 3 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "AMOUNT", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1875, - 5.329, - 7.9954, - 5.329, - 7.9954, - 5.598, - 7.1952, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 593, - "length": 6 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/4/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5009, - 5.6056, - 1.3011, - 5.6056, - 1.3011, - 5.8976, - 0.5009, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "A123", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.6056, - 2.2399, - 5.6056, - 2.2322, - 5.8976, - 1.3011, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Consulting Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2399, - 5.6056, - 4.3097, - 5.6056, - 4.3097, - 5.8976, - 2.2322, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "2 :unselected:", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 5.6056, - 4.7483, - 5.6056, - 4.7483, - 5.8976, - 4.3097, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 634, - "length": 1 - }, - { - "offset": 946, - "length": 12 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "hours", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.6056, - 5.5639, - 5.6056, - 5.5639, - 5.8976, - 4.7483, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.6056, - 6.495, - 5.6056, - 6.495, - 5.8976, - 5.5639, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "10%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.6056, - 7.1952, - 5.6056, - 7.1952, - 5.8976, - 6.495, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 5.6056, - 7.9954, - 5.598, - 7.9954, - 5.9053, - 7.1952, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/5/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5009, - 5.8976, - 1.3011, - 5.8976, - 1.3011, - 6.1973, - 0.5086, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "B456", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.8976, - 2.2322, - 5.8976, - 2.2245, - 6.1973, - 1.3011, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Document Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2322, - 5.8976, - 4.3097, - 5.8976, - 4.3097, - 6.1973, - 2.2245, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "3", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 5.8976, - 4.7483, - 5.8976, - 4.7483, - 6.1973, - 4.3097, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.8976, - 5.5639, - 5.8976, - 5.5639, - 6.1973, - 4.7483, - 6.1973 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 2, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.8976, - 6.495, - 5.8976, - 6.495, - 6.1973, - 5.5639, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "5%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.8976, - 7.1952, - 5.8976, - 7.1952, - 6.1973, - 6.495, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 5.8976, - 7.9954, - 5.9053, - 7.9954, - 6.1896, - 7.1952, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/6/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5086, - 6.1973, - 1.3011, - 6.1973, - 1.3011, - 6.4969, - 0.5086, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "C789", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 6.1973, - 2.2245, - 6.1973, - 2.2245, - 6.4969, - 1.3011, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Printing Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2245, - 6.1973, - 4.3097, - 6.1973, - 4.3097, - 6.4969, - 2.2245, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "10", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 6.1973, - 4.7483, - 6.1973, - 4.7483, - 6.4969, - 4.3097, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "pages", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 6.1973, - 5.5639, - 6.1973, - 5.5639, - 6.4969, - 4.7483, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$1.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 6.1973, - 6.495, - 6.1973, - 6.495, - 6.4969, - 5.5639, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "20%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 6.1973, - 7.1952, - 6.1973, - 7.1952, - 6.4969, - 6.495, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 6.1973, - 7.9954, - 6.1896, - 7.9954, - 6.5046, - 7.1952, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4901, - 5.3293, - 7.9946, - 5.3289, - 7.9954, - 6.5019, - 0.4906, - 6.502 - ] - } - ], - "spans": [ - { - "offset": 549, - "length": 209 - }, - { - "offset": 946, - "length": 12 - } - ] - }, - { - "rowCount": 2, - "columnCount": 6, - "cells": [ - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SALESPERSON", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4977, - 4.565, - 1.8042, - 4.565, - 1.8119, - 4.8388, - 0.5054, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 472, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "P.O. NUMBER", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.8042, - 4.565, - 3.3105, - 4.565, - 3.3105, - 4.8388, - 1.8119, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 484, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "REQUISITIONER", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3105, - 4.565, - 4.6939, - 4.565, - 4.6862, - 4.8388, - 3.3105, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 496, - "length": 13 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "SHIPPED VIA", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.6939, - 4.565, - 5.7468, - 4.565, - 5.7468, - 4.8388, - 4.6862, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 510, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "F.O.B. POINT", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.7468, - 4.565, - 6.815, - 4.565, - 6.815, - 4.8388, - 5.7468, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 522, - "length": 12 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "TERMS", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.815, - 4.565, - 7.9985, - 4.565, - 7.9985, - 4.8388, - 6.815, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 535, - "length": 5 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5054, - 4.8388, - 1.8119, - 4.8388, - 1.8119, - 5.1058, - 0.5131, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "PO-3333", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.8119, - 4.8388, - 3.3105, - 4.8388, - 3.3105, - 5.1058, - 1.8119, - 5.1058 - ] - } - ], - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3105, - 4.8388, - 4.6862, - 4.8388, - 4.6862, - 5.1058, - 3.3105, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.6862, - 4.8388, - 5.7468, - 4.8388, - 5.7468, - 5.1058, - 4.6862, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.7468, - 4.8388, - 6.815, - 4.8388, - 6.815, - 5.1058, - 5.7468, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.815, - 4.8388, - 7.9985, - 4.8388, - 7.9985, - 5.1125, - 6.815, - 5.1058 - ] - } - ], - "spans": [] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4971, - 4.565, - 7.9889, - 4.5653, - 7.989, - 5.1146, - 0.4963, - 5.1141 - ] - } - ], - "spans": [ - { - "offset": 472, - "length": 76 - } - ] - }, - { - "rowCount": 5, - "columnCount": 2, - "cells": [ - { - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SUBTOTAL", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7474, - 6.7934, - 6.8058, - 6.7934, - 6.8105, - 7.0886, - 4.7474, - 7.0886 - ] - } - ], - "spans": [ - { - "offset": 759, - "length": 8 - } - ] - }, - { - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$100.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8058, - 6.7934, - 7.9981, - 6.7934, - 7.9981, - 7.0934, - 6.8105, - 7.0886 - ] - } - ], - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SALES TAX", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7474, - 7.0886, - 6.8105, - 7.0886, - 6.8105, - 7.3743, - 4.7427, - 7.3743 - ] - } - ], - "spans": [ - { - "offset": 776, - "length": 9 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.0886, - 7.9981, - 7.0934, - 7.9981, - 7.3934, - 6.8105, - 7.3743 - ] - } - ], - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "TOTAL", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.3743, - 6.8105, - 7.3743, - 6.8105, - 7.6839, - 4.7427, - 7.6839 - ] - } - ], - "spans": [ - { - "offset": 793, - "length": 5 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$110.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.3743, - 7.9981, - 7.3934, - 7.9981, - 7.6886, - 6.8105, - 7.6839 - ] - } - ], - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "PREVIOUS UNPAID BALANCE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.6839, - 6.8105, - 7.6839, - 6.8105, - 7.9743, - 4.7427, - 7.9743 - ] - } - ], - "spans": [ - { - "offset": 807, - "length": 23 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$500.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.6839, - 7.9981, - 7.6886, - 7.9981, - 7.9839, - 6.8105, - 7.9743 - ] - } - ], - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - { - "rowIndex": 4, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "AMOUNT DUE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.9743, - 6.8105, - 7.9743, - 6.8105, - 8.2839, - 4.7381, - 8.2839 - ] - } - ], - "spans": [ - { - "offset": 839, - "length": 10 - } - ] - }, - { - "rowIndex": 4, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$610.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.9743, - 7.9981, - 7.9839, - 7.9981, - 8.2839, - 6.8105, - 8.2839 - ] - } - ], - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7456, - 6.7793, - 8.0143, - 6.7788, - 8.0137, - 8.2981, - 4.7446, - 8.2981 - ] - } - ], - "spans": [ - { - "offset": 759, - "length": 98 - } - ] - } - ], - "documents": [ - { - "docType": "prebuilt:invoice", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "fields": { - "AmountDue": { - "type": "number", - "valueNumber": 610, - "content": "$610.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - }, - "BillingAddress": { - "type": "string", - "valueString": "123 Bill St, Redmond WA, 98052", - "content": "123 Bill St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 3.9681, - 2.0083, - 3.9681, - 2.0083, - 4.3082, - 0.5943, - 4.3082 - ] - } - ], - "confidence": 0.947, - "spans": [ - { - "offset": 376, - "length": 12 - }, - { - "offset": 418, - "length": 17 - } - ] - }, - "BillingAddressRecipient": { - "type": "string", - "valueString": "Microsoft Finance", - "content": "Microsoft Finance", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 3.7641, - 1.7878, - 3.7641, - 1.7878, - 3.8794, - 0.5943, - 3.8794 - ] - } - ], - "confidence": 0.957, - "spans": [ - { - "offset": 320, - "length": 17 - } - ] - }, - "CustomerAddress": { - "type": "string", - "valueString": "123 Other St, Redmond WA, 98052", - "content": "123 Other St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 2.8476, - 2.0083, - 2.8476, - 2.0083, - 3.1878, - 0.5943, - 3.1878 - ] - } - ], - "confidence": 0.947, - "spans": [ - { - "offset": 253, - "length": 31 - } - ] - }, - "CustomerAddressRecipient": { - "type": "string", - "valueString": "Microsoft Corp", - "content": "Microsoft Corp", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 2.6436, - 1.586, - 2.6436, - 1.586, - 2.7871, - 0.5943, - 2.7871 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 238, - "length": 14 - } - ] - }, - "CustomerId": { - "type": "string", - "valueString": "CID-12345", - "content": "CID-12345", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3369, - 2.4491, - 7.9951, - 2.4491, - 7.9951, - 2.5486, - 7.3369, - 2.5486 - ] - } - ], - "confidence": 0.964, - "spans": [ - { - "offset": 228, - "length": 9 - } - ] - }, - "CustomerName": { - "type": "string", - "valueString": "MICROSOFT CORPORATION", - "content": "MICROSOFT CORPORATION", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2419, - 2.0391, - 7.9825, - 2.0391, - 7.9825, - 2.1386, - 6.2419, - 2.1386 - ] - } - ], - "confidence": 0.949, - "spans": [ - { - "offset": 153, - "length": 21 - } - ] - }, - "DueDate": { - "type": "date", - "valueDate": "2019-12-15", - "content": "12/15/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2494, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 7.2494, - 1.9515 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 127, - "length": 10 - } - ] - }, - "InvoiceDate": { - "type": "date", - "valueDate": "2019-11-15", - "content": "11/15/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2528, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 7.2528, - 1.7449 - ] - } - ], - "confidence": 0.972, - "spans": [ - { - "offset": 86, - "length": 10 - } - ] - }, - "InvoiceId": { - "type": "string", - "valueString": "INV-100", - "content": "INV-100", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4959, - 1.422, - 7.9988, - 1.422, - 7.9988, - 1.5215, - 7.4959, - 1.5215 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 51, - "length": 7 - } - ] - }, - "InvoiceTotal": { - "type": "number", - "valueNumber": 110, - "content": "$110.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - "Items": { - "type": "array", - "valueArray": [ - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 60, - "content": "$60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ] - } - ], - "confidence": 0.902, - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-04", - "content": "3/4/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ] - } - ], - "confidence": 0.938, - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Consulting Services", - "content": "Consulting Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.3388, - 5.6883, - 3.6278, - 5.6883, - 3.6278, - 5.8312, - 2.3388, - 5.8312 - ] - } - ], - "confidence": 0.9, - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "A123", - "content": "A123", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ] - } - ], - "confidence": 0.877, - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 2, - "content": "2", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 634, - "length": 1 - } - ] - }, - "Tax": { - "type": "number", - "content": "10%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ] - } - ], - "confidence": 0.78, - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - "Unit": { - "type": "string", - "valueString": "hours", - "content": "hours", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 30, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ] - } - ], - "confidence": 0.828, - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - } - }, - "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8312, - 0.592, - 5.8312 - ] - } - ], - "confidence": 0.955, - "spans": [ - { - "offset": 600, - "length": 59 - } - ] - }, - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 30, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ] - } - ], - "confidence": 0.916, - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-05", - "content": "3/5/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ] - } - ], - "confidence": 0.902, - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Document Fee", - "content": "Document Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.345, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 2.345, - 6.0997 - ] - } - ], - "confidence": 0.901, - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "B456", - "content": "B456", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ] - } - ], - "confidence": 0.886, - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 3, - "content": "3", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ] - } - ], - "confidence": 0.898, - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - "Tax": { - "type": "number", - "content": "5%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ] - } - ], - "confidence": 0.772, - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ] - } - ], - "confidence": 0.831, - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - } - }, - "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.121, - 0.592, - 6.121 - ] - } - ], - "confidence": 0.941, - "spans": [ - { - "offset": 660, - "length": 45 - } - ] - }, - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ] - } - ], - "confidence": 0.959, - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-06", - "content": "3/6/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ] - } - ], - "confidence": 0.903, - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Printing Fee", - "content": "Printing Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.345, - 6.2906, - 3.1351, - 6.2906, - 3.1351, - 6.4281, - 2.345, - 6.4281 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "C789", - "content": "C789", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ] - } - ], - "confidence": 0.898, - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 10, - "content": "10", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ] - } - ], - "confidence": 0.903, - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - "Tax": { - "type": "number", - "content": "20%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ] - } - ], - "confidence": 0.791, - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - "Unit": { - "type": "string", - "valueString": "pages", - "content": "pages", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 1, - "content": "$1.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ] - } - ], - "confidence": 0.829, - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - } - }, - "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4281, - 0.592, - 6.4281 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 706, - "length": 52 - } - ] - } - ] - }, - "Locale": { - "type": "string", - "valueString": "en-US", - "confidence": 1 - }, - "PreviousUnpaidBalance": { - "type": "number", - "valueNumber": 500, - "content": "$500.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ] - } - ], - "confidence": 0.962, - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - "PurchaseOrder": { - "type": "string", - "valueString": "PO-3333", - "content": "PO-3333", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ] - } - ], - "confidence": 0.967, - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - "RemittanceAddress": { - "type": "string", - "valueString": "123 Remit St New York, NY, 10001", - "content": "123 Remit St New York, NY, 10001", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 9.5717, - 1.9882, - 9.5717, - 1.9882, - 9.9098, - 0.5943, - 9.9098 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 913, - "length": 32 - } - ] - }, - "RemittanceAddressRecipient": { - "type": "string", - "valueString": "Contoso Billing", - "content": "Contoso Billing", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5882, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 0.5882, - 9.5059 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 897, - "length": 15 - } - ] - }, - "ServiceAddress": { - "type": "string", - "valueString": "123 Service St, Redmond WA, 98052", - "content": "123 Service St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2197, - 3.9734, - 7.6337, - 3.9734, - 7.6337, - 4.3082, - 6.2197, - 4.3082 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 402, - "length": 15 - }, - { - "offset": 454, - "length": 17 - } - ] - }, - "ServiceAddressRecipient": { - "type": "string", - "valueString": "Microsoft Services", - "content": "Microsoft Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2197, - 3.7641, - 7.4427, - 3.7641, - 7.4427, - 3.8794, - 6.2197, - 3.8794 - ] - } - ], - "confidence": 0.951, - "spans": [ - { - "offset": 357, - "length": 18 - } - ] - }, - "ServiceEndDate": { - "type": "date", - "valueDate": "2019-11-14", - "content": "11/14/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2528, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 7.2528, - 2.3615 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 204, - "length": 10 - } - ] - }, - "ServiceStartDate": { - "type": "date", - "valueDate": "2019-10-14", - "content": "10/14/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.3357, - 2.2306, - 7.0749, - 2.2306, - 7.0749, - 2.3615, - 6.3357, - 2.3615 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 191, - "length": 10 - } - ] - }, - "ShippingAddress": { - "type": "string", - "valueString": "123 Ship St, Redmond WA, 98052", - "content": "123 Ship St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3454, - 3.9681, - 4.7594, - 3.9681, - 4.7594, - 4.3082, - 3.3454, - 4.3082 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 389, - "length": 12 - }, - { - "offset": 436, - "length": 17 - } - ] - }, - "ShippingAddressRecipient": { - "type": "string", - "valueString": "Microsoft Delivery", - "content": "Microsoft Delivery", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3454, - 3.7641, - 4.5762, - 3.7641, - 4.5762, - 3.9076, - 3.3454, - 3.9076 - ] - } - ], - "confidence": 0.955, - "spans": [ - { - "offset": 338, - "length": 18 - } - ] - }, - "SubTotal": { - "type": "number", - "valueNumber": 100, - "content": "$100.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - "TotalTax": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - "VendorAddress": { - "type": "string", - "valueString": "123 456th St New York, NY, 10001", - "content": "123 456th St New York, NY, 10001", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 1.6092, - 1.9894, - 1.6092, - 1.9894, - 1.9675, - 0.5943, - 1.9675 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 59, - "length": 12 - }, - { - "offset": 97, - "length": 19 - } - ] - }, - "VendorAddressRecipient": { - "type": "string", - "valueString": "Contoso Headquarters", - "content": "Contoso Headquarters", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5882, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 0.5882, - 1.5664 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 21, - "length": 20 - } - ] - }, - "VendorName": { - "type": "string", - "valueString": "CONTOSO LTD.", - "content": "CONTOSO LTD.", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5911, - 0.6857, - 2.3181, - 0.6857, - 2.3181, - 0.8664, - 0.5911, - 0.8664 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 0, - "length": 12 - } - ] - } - }, - "confidence": 1, - "spans": [ - { - "offset": 0, - "length": 958 - } - ] - } - ] - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "prebuilt-invoice", + "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" + }, + "responses": { + "200": { + "body": { + "status": "succeeded", + "createdDateTime": "2021-09-24T13:00:46Z", + "lastUpdatedDateTime": "2021-09-24T13:00:49Z", + "analyzeResult": { + "apiVersion": "2023-02-28-preview", + "modelId": "prebuilt-invoice", + "stringIndexType": "textElements", + "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:", + "pages": [ + { + "kind": "document", + "pageNumber": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch", + "words": [ + { + "content": "CONTOSO", + "polygon": [ + 0.5911, + 0.6857, + 1.7451, + 0.6857, + 1.7451, + 0.8664, + 0.5911, + 0.8664 + ], + "confidence": 1, + "span": { + "offset": 0, + "length": 7 + } + }, + { + "content": "LTD.", + "polygon": [ + 1.8441, + 0.6879, + 2.3181, + 0.6879, + 2.3181, + 0.865, + 1.8441, + 0.865 + ], + "confidence": 1, + "span": { + "offset": 8, + "length": 4 + } + }, + { + "content": "INVOICE", + "polygon": [ + 7.0751, + 0.589, + 7.9886, + 0.589, + 7.9886, + 0.7697, + 7.0751, + 0.7697 + ], + "confidence": 1, + "span": { + "offset": 13, + "length": 7 + } + }, + { + "content": "Contoso", + "polygon": [ + 0.5882, + 1.4303, + 1.1337, + 1.4303, + 1.1337, + 1.5383, + 0.5882, + 1.5383 + ], + "confidence": 1, + "span": { + "offset": 21, + "length": 7 + } + }, + { + "content": "Headquarters", + "polygon": [ + 1.1905, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 1.1905, + 1.5664 + ], + "confidence": 1, + "span": { + "offset": 29, + "length": 12 + } + }, + { + "content": "INVOICE:", + "polygon": [ + 6.8599, + 1.4217, + 7.4328, + 1.4217, + 7.4328, + 1.5218, + 6.8599, + 1.5218 + ], + "confidence": 1, + "span": { + "offset": 42, + "length": 8 + } + }, + { + "content": "INV-100", + "polygon": [ + 7.4959, + 1.422, + 7.9988, + 1.422, + 7.9988, + 1.5215, + 7.4959, + 1.5215 + ], + "confidence": 1, + "span": { + "offset": 51, + "length": 7 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 1.6339, + 0.8213, + 1.6339, + 0.8213, + 1.742, + 0.5945, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 59, + "length": 3 + } + }, + { + "content": "456th", + "polygon": [ + 0.874, + 1.6092, + 1.2102, + 1.6092, + 1.2102, + 1.742, + 0.874, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 63, + "length": 5 + } + }, + { + "content": "St", + "polygon": [ + 1.2598, + 1.6339, + 1.3812, + 1.6339, + 1.3812, + 1.742, + 1.2598, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 69, + "length": 2 + } + }, + { + "content": "INVOICE", + "polygon": [ + 6.2263, + 1.6254, + 6.7562, + 1.6254, + 6.7562, + 1.7256, + 6.2263, + 1.7256 + ], + "confidence": 1, + "span": { + "offset": 72, + "length": 7 + } + }, + { + "content": "DATE:", + "polygon": [ + 6.8132, + 1.6267, + 7.1891, + 1.6267, + 7.1891, + 1.7248, + 6.8132, + 1.7248 + ], + "confidence": 1, + "span": { + "offset": 80, + "length": 5 + } + }, + { + "content": "11/15/2019", + "polygon": [ + 7.2528, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 7.2528, + 1.7449 + ], + "confidence": 1, + "span": { + "offset": 86, + "length": 10 + } + }, + { + "content": "New", + "polygon": [ + 0.5943, + 1.8385, + 0.8848, + 1.8385, + 0.8848, + 1.9454, + 0.5943, + 1.9454 + ], + "confidence": 1, + "span": { + "offset": 97, + "length": 3 + } + }, + { + "content": "York,", + "polygon": [ + 0.9293, + 1.8307, + 1.2568, + 1.8307, + 1.2568, + 1.9675, + 0.9293, + 1.9675 + ], + "confidence": 1, + "span": { + "offset": 101, + "length": 5 + } + }, + { + "content": "NY,", + "polygon": [ + 1.3205, + 1.8382, + 1.5242, + 1.8382, + 1.5242, + 1.9675, + 1.3205, + 1.9675 + ], + "confidence": 1, + "span": { + "offset": 107, + "length": 3 + } + }, + { + "content": "10001", + "polygon": [ + 1.5915, + 1.8372, + 1.9894, + 1.8372, + 1.9894, + 1.9454, + 1.5915, + 1.9454 + ], + "confidence": 1, + "span": { + "offset": 111, + "length": 5 + } + }, + { + "content": "DUE", + "polygon": [ + 6.4966, + 1.8333, + 6.7569, + 1.8333, + 6.7569, + 1.9322, + 6.4966, + 1.9322 + ], + "confidence": 1, + "span": { + "offset": 117, + "length": 3 + } + }, + { + "content": "DATE:", + "polygon": [ + 6.8126, + 1.8333, + 7.1846, + 1.8333, + 7.1846, + 1.9315, + 6.8126, + 1.9315 + ], + "confidence": 1, + "span": { + "offset": 121, + "length": 5 + } + }, + { + "content": "12/15/2019", + "polygon": [ + 7.2494, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 7.2494, + 1.9515 + ], + "confidence": 1, + "span": { + "offset": 127, + "length": 10 + } + }, + { + "content": "CUSTOMER", + "polygon": [ + 4.9513, + 2.0388, + 5.6868, + 2.0388, + 5.6868, + 2.1389, + 4.9513, + 2.1389 + ], + "confidence": 1, + "span": { + "offset": 138, + "length": 8 + } + }, + { + "content": "NAME:", + "polygon": [ + 5.7412, + 2.04, + 6.1764, + 2.04, + 6.1764, + 2.1381, + 5.7412, + 2.1381 + ], + "confidence": 1, + "span": { + "offset": 147, + "length": 5 + } + }, + { + "content": "MICROSOFT", + "polygon": [ + 6.2419, + 2.0391, + 6.9981, + 2.0391, + 6.9981, + 2.1386, + 6.2419, + 2.1386 + ], + "confidence": 1, + "span": { + "offset": 153, + "length": 9 + } + }, + { + "content": "CORPORATION", + "polygon": [ + 7.0448, + 2.0391, + 7.9825, + 2.0391, + 7.9825, + 2.1386, + 7.0448, + 2.1386 + ], + "confidence": 1, + "span": { + "offset": 163, + "length": 11 + } + }, + { + "content": "SERVICE", + "polygon": [ + 5.1667, + 2.2421, + 5.6923, + 2.2421, + 5.6923, + 2.3422, + 5.1667, + 2.3422 + ], + "confidence": 1, + "span": { + "offset": 175, + "length": 7 + } + }, + { + "content": "PERIOD:", + "polygon": [ + 5.748, + 2.2421, + 6.2721, + 2.2421, + 6.2721, + 2.3422, + 5.748, + 2.3422 + ], + "confidence": 1, + "span": { + "offset": 183, + "length": 7 + } + }, + { + "content": "10/14/2019", + "polygon": [ + 6.3357, + 2.2306, + 7.0749, + 2.2306, + 7.0749, + 2.3615, + 6.3357, + 2.3615 + ], + "confidence": 1, + "span": { + "offset": 191, + "length": 10 + } + }, + { + "content": "–", + "polygon": [ + 7.122, + 2.2922, + 7.1995, + 2.2922, + 7.1995, + 2.3037, + 7.122, + 2.3037 + ], + "confidence": 1, + "span": { + "offset": 202, + "length": 1 + } + }, + { + "content": "11/14/2019", + "polygon": [ + 7.2528, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 7.2528, + 2.3615 + ], + "confidence": 1, + "span": { + "offset": 204, + "length": 10 + } + }, + { + "content": "CUSTOMER", + "polygon": [ + 6.3253, + 2.4488, + 7.0608, + 2.4488, + 7.0608, + 2.5489, + 6.3253, + 2.5489 + ], + "confidence": 1, + "span": { + "offset": 215, + "length": 8 + } + }, + { + "content": "ID:", + "polygon": [ + 7.1153, + 2.45, + 7.2809, + 2.45, + 7.2809, + 2.5481, + 7.1153, + 2.5481 + ], + "confidence": 1, + "span": { + "offset": 224, + "length": 3 + } + }, + { + "content": "CID-12345", + "polygon": [ + 7.3369, + 2.4491, + 7.9951, + 2.4491, + 7.9951, + 2.5486, + 7.3369, + 2.5486 + ], + "confidence": 1, + "span": { + "offset": 228, + "length": 9 + } + }, + { + "content": "Microsoft", + "polygon": [ + 0.5943, + 2.6436, + 1.2303, + 2.6436, + 1.2303, + 2.759, + 0.5943, + 2.759 + ], + "confidence": 1, + "span": { + "offset": 238, + "length": 9 + } + }, + { + "content": "Corp", + "polygon": [ + 1.2808, + 2.651, + 1.586, + 2.651, + 1.586, + 2.7871, + 1.2808, + 2.7871 + ], + "confidence": 1, + "span": { + "offset": 248, + "length": 4 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 2.8541, + 0.8213, + 2.8541, + 0.8213, + 2.9623, + 0.5945, + 2.9623 + ], + "confidence": 1, + "span": { + "offset": 253, + "length": 3 + } + }, + { + "content": "Other", + "polygon": [ + 0.875, + 2.8476, + 1.262, + 2.8476, + 1.262, + 2.9623, + 0.875, + 2.9623 + ], + "confidence": 1, + "span": { + "offset": 257, + "length": 5 + } + }, + { + "content": "St,", + "polygon": [ + 1.3058, + 2.8541, + 1.4633, + 2.8541, + 1.4633, + 2.9845, + 1.3058, + 2.9845 + ], + "confidence": 1, + "span": { + "offset": 263, + "length": 3 + } + }, + { + "content": "Redmond", + "polygon": [ + 0.5943, + 3.0513, + 1.2222, + 3.0513, + 1.2222, + 3.1656, + 0.5943, + 3.1656 + ], + "confidence": 1, + "span": { + "offset": 267, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 1.2753, + 3.0585, + 1.5468, + 3.0585, + 1.5468, + 3.1878, + 1.2753, + 3.1878 + ], + "confidence": 1, + "span": { + "offset": 275, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 1.6033, + 3.0575, + 2.0083, + 3.0575, + 2.0083, + 3.1656, + 1.6033, + 3.1656 + ], + "confidence": 1, + "span": { + "offset": 279, + "length": 5 + } + }, + { + "content": "BILL", + "polygon": [ + 0.5909, + 3.5603, + 0.8438, + 3.5603, + 0.8438, + 3.6579, + 0.5909, + 3.6579 + ], + "confidence": 1, + "span": { + "offset": 285, + "length": 4 + } + }, + { + "content": "TO:", + "polygon": [ + 0.8846, + 3.559, + 1.1032, + 3.559, + 1.1032, + 3.6592, + 0.8846, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 290, + "length": 3 + } + }, + { + "content": "SHIP", + "polygon": [ + 3.3361, + 3.559, + 3.6278, + 3.559, + 3.6278, + 3.6592, + 3.3361, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 294, + "length": 4 + } + }, + { + "content": "TO:", + "polygon": [ + 3.6716, + 3.559, + 3.8903, + 3.559, + 3.8903, + 3.6592, + 3.6716, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 299, + "length": 3 + } + }, + { + "content": "SERVICE", + "polygon": [ + 6.2104, + 3.559, + 6.7361, + 3.559, + 6.7361, + 3.6592, + 6.2104, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 303, + "length": 7 + } + }, + { + "content": "ADDRESS:", + "polygon": [ + 6.7828, + 3.559, + 7.4232, + 3.559, + 7.4232, + 3.6592, + 6.7828, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 311, + "length": 8 + } + }, + { + "content": "Microsoft", + "polygon": [ + 0.5943, + 3.7641, + 1.2303, + 3.7641, + 1.2303, + 3.8794, + 0.5943, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 320, + "length": 9 + } + }, + { + "content": "Finance", + "polygon": [ + 1.287, + 3.7701, + 1.7878, + 3.7701, + 1.7878, + 3.8794, + 1.287, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 330, + "length": 7 + } + }, + { + "content": "Microsoft", + "polygon": [ + 3.3454, + 3.7641, + 3.9814, + 3.7641, + 3.9814, + 3.8794, + 3.3454, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 338, + "length": 9 + } + }, + { + "content": "Delivery", + "polygon": [ + 4.0381, + 3.7647, + 4.5762, + 3.7647, + 4.5762, + 3.9076, + 4.0381, + 3.9076 + ], + "confidence": 1, + "span": { + "offset": 348, + "length": 8 + } + }, + { + "content": "Microsoft", + "polygon": [ + 6.2197, + 3.7641, + 6.8557, + 3.7641, + 6.8557, + 3.8794, + 6.2197, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 357, + "length": 9 + } + }, + { + "content": "Services", + "polygon": [ + 6.9042, + 3.7701, + 7.4427, + 3.7701, + 7.4427, + 3.8794, + 6.9042, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 367, + "length": 8 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 3.9746, + 0.8213, + 3.9746, + 0.8213, + 4.0827, + 0.5945, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 376, + "length": 3 + } + }, + { + "content": "Bill", + "polygon": [ + 0.8842, + 3.9681, + 1.0657, + 3.9681, + 1.0657, + 4.0817, + 0.8842, + 4.0817 + ], + "confidence": 1, + "span": { + "offset": 380, + "length": 4 + } + }, + { + "content": "St,", + "polygon": [ + 1.1222, + 3.9746, + 1.2765, + 3.9746, + 1.2765, + 4.1049, + 1.1222, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 385, + "length": 3 + } + }, + { + "content": "123", + "polygon": [ + 3.3456, + 3.9746, + 3.5724, + 3.9746, + 3.5724, + 4.0827, + 3.3456, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 389, + "length": 3 + } + }, + { + "content": "Ship", + "polygon": [ + 3.6239, + 3.9681, + 3.9042, + 3.9681, + 3.9042, + 4.1109, + 3.6239, + 4.1109 + ], + "confidence": 1, + "span": { + "offset": 393, + "length": 4 + } + }, + { + "content": "St,", + "polygon": [ + 3.9536, + 3.9746, + 4.1111, + 3.9746, + 4.1111, + 4.1049, + 3.9536, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 398, + "length": 3 + } + }, + { + "content": "123", + "polygon": [ + 6.2199, + 3.9746, + 6.4467, + 3.9746, + 6.4467, + 4.0827, + 6.2199, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 402, + "length": 3 + } + }, + { + "content": "Service", + "polygon": [ + 6.4985, + 3.9734, + 6.9738, + 3.9734, + 6.9738, + 4.0827, + 6.4985, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 406, + "length": 7 + } + }, + { + "content": "St,", + "polygon": [ + 7.0246, + 3.9746, + 7.1821, + 3.9746, + 7.1821, + 4.1049, + 7.0246, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 414, + "length": 3 + } + }, + { + "content": "Redmond", + "polygon": [ + 0.5943, + 4.1717, + 1.2222, + 4.1717, + 1.2222, + 4.2861, + 0.5943, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 418, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 1.2753, + 4.1789, + 1.5468, + 4.1789, + 1.5468, + 4.3082, + 1.2753, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 426, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 1.6033, + 4.1779, + 2.0083, + 4.1779, + 2.0083, + 4.2861, + 1.6033, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 430, + "length": 5 + } + }, + { + "content": "Redmond", + "polygon": [ + 3.3454, + 4.1717, + 3.9732, + 4.1717, + 3.9732, + 4.2861, + 3.3454, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 436, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 4.0264, + 4.1789, + 4.2979, + 4.1789, + 4.2979, + 4.3082, + 4.0264, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 444, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 4.3544, + 4.1779, + 4.7594, + 4.1779, + 4.7594, + 4.2861, + 4.3544, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 448, + "length": 5 + } + }, + { + "content": "Redmond", + "polygon": [ + 6.2197, + 4.1717, + 6.8475, + 4.1717, + 6.8475, + 4.2861, + 6.2197, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 454, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 6.9007, + 4.1789, + 7.1722, + 4.1789, + 7.1722, + 4.3082, + 6.9007, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 462, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 7.2287, + 4.1779, + 7.6337, + 4.1779, + 7.6337, + 4.2861, + 7.2287, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 466, + "length": 5 + } + }, + { + "content": "SALESPERSON", + "polygon": [ + 0.7018, + 4.6528, + 1.6092, + 4.6528, + 1.6092, + 4.7529, + 0.7018, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 472, + "length": 11 + } + }, + { + "content": "P.O.", + "polygon": [ + 2.1216, + 4.6528, + 2.3788, + 4.6528, + 2.3788, + 4.7529, + 2.1216, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 484, + "length": 4 + } + }, + { + "content": "NUMBER", + "polygon": [ + 2.4376, + 4.654, + 3.0155, + 4.654, + 3.0155, + 4.7529, + 2.4376, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 489, + "length": 6 + } + }, + { + "content": "REQUISITIONER", + "polygon": [ + 3.4953, + 4.6528, + 4.5157, + 4.6528, + 4.5157, + 4.7687, + 3.4953, + 4.7687 + ], + "confidence": 1, + "span": { + "offset": 496, + "length": 13 + } + }, + { + "content": "SHIPPED", + "polygon": [ + 4.81, + 4.6528, + 5.362, + 4.6528, + 5.362, + 4.7529, + 4.81, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 510, + "length": 7 + } + }, + { + "content": "VIA", + "polygon": [ + 5.409, + 4.654, + 5.6317, + 4.654, + 5.6317, + 4.7517, + 5.409, + 4.7517 + ], + "confidence": 1, + "span": { + "offset": 518, + "length": 3 + } + }, + { + "content": "F.O.B.", + "polygon": [ + 5.8696, + 4.6528, + 6.2467, + 4.6528, + 6.2467, + 4.7529, + 5.8696, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 522, + "length": 6 + } + }, + { + "content": "POINT", + "polygon": [ + 6.3054, + 4.6528, + 6.706, + 4.6528, + 6.706, + 4.7529, + 6.3054, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 529, + "length": 5 + } + }, + { + "content": "TERMS", + "polygon": [ + 7.1806, + 4.6528, + 7.6304, + 4.6528, + 7.6304, + 4.7529, + 7.1806, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 535, + "length": 5 + } + }, + { + "content": "PO-3333", + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ], + "confidence": 1, + "span": { + "offset": 541, + "length": 7 + } + }, + { + "content": "DATE", + "polygon": [ + 0.7409, + 5.421, + 1.0744, + 5.421, + 1.0744, + 5.5186, + 0.7409, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 549, + "length": 4 + } + }, + { + "content": "ITEM", + "polygon": [ + 1.4213, + 5.421, + 1.7338, + 5.421, + 1.7338, + 5.5186, + 1.4213, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 554, + "length": 4 + } + }, + { + "content": "CODE", + "polygon": [ + 1.7893, + 5.4197, + 2.1407, + 5.4197, + 2.1407, + 5.5199, + 1.7893, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 559, + "length": 4 + } + }, + { + "content": "DESCRIPTION", + "polygon": [ + 2.8516, + 5.4197, + 3.7134, + 5.4197, + 3.7134, + 5.5199, + 2.8516, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 564, + "length": 11 + } + }, + { + "content": "QTY", + "polygon": [ + 4.4043, + 5.4197, + 4.6631, + 5.4197, + 4.6631, + 5.5357, + 4.4043, + 5.5357 + ], + "confidence": 1, + "span": { + "offset": 576, + "length": 3 + } + }, + { + "content": "UM", + "polygon": [ + 5.049, + 5.421, + 5.2654, + 5.421, + 5.2654, + 5.5199, + 5.049, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 580, + "length": 2 + } + }, + { + "content": "PRICE", + "polygon": [ + 5.8563, + 5.4199, + 6.2163, + 5.4199, + 6.2163, + 5.5197, + 5.8563, + 5.5197 + ], + "confidence": 1, + "span": { + "offset": 583, + "length": 5 + } + }, + { + "content": "TAX", + "polygon": [ + 6.7169, + 5.421, + 6.974, + 5.421, + 6.974, + 5.5186, + 6.7169, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 589, + "length": 3 + } + }, + { + "content": "AMOUNT", + "polygon": [ + 7.2847, + 5.4197, + 7.9039, + 5.4197, + 7.9039, + 5.5199, + 7.2847, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 593, + "length": 6 + } + }, + { + "content": "3/4/2021", + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ], + "confidence": 1, + "span": { + "offset": 600, + "length": 8 + } + }, + { + "content": "A123", + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 609, + "length": 4 + } + }, + { + "content": "Consulting", + "polygon": [ + 2.3388, + 5.6883, + 3.0438, + 5.6883, + 3.0438, + 5.8312, + 2.3388, + 5.8312 + ], + "confidence": 1, + "span": { + "offset": 614, + "length": 10 + } + }, + { + "content": "Services", + "polygon": [ + 3.0925, + 5.6937, + 3.6278, + 5.6937, + 3.6278, + 5.803, + 3.0925, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 625, + "length": 8 + } + }, + { + "content": "2", + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ], + "confidence": 1, + "span": { + "offset": 634, + "length": 1 + } + }, + { + "content": "hours", + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 636, + "length": 5 + } + }, + { + "content": "$30.00", + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ], + "confidence": 1, + "span": { + "offset": 642, + "length": 6 + } + }, + { + "content": "10%", + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ], + "confidence": 1, + "span": { + "offset": 649, + "length": 3 + } + }, + { + "content": "$60.00", + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ], + "confidence": 1, + "span": { + "offset": 653, + "length": 6 + } + }, + { + "content": "3/5/2021", + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ], + "confidence": 1, + "span": { + "offset": 660, + "length": 8 + } + }, + { + "content": "B456", + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 669, + "length": 4 + } + }, + { + "content": "Document", + "polygon": [ + 2.345, + 5.993, + 3.0318, + 5.993, + 3.0318, + 6.0997, + 2.345, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 674, + "length": 8 + } + }, + { + "content": "Fee", + "polygon": [ + 3.0887, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 3.0887, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 683, + "length": 3 + } + }, + { + "content": "3", + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 687, + "length": 1 + } + }, + { + "content": "$10.00", + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ], + "confidence": 1, + "span": { + "offset": 689, + "length": 6 + } + }, + { + "content": "5%", + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ], + "confidence": 1, + "span": { + "offset": 696, + "length": 2 + } + }, + { + "content": "$30.00", + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ], + "confidence": 1, + "span": { + "offset": 699, + "length": 6 + } + }, + { + "content": "3/6/2021", + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ], + "confidence": 1, + "span": { + "offset": 706, + "length": 8 + } + }, + { + "content": "C789", + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 715, + "length": 4 + } + }, + { + "content": "Printing", + "polygon": [ + 2.345, + 6.2906, + 2.8575, + 6.2906, + 2.8575, + 6.4281, + 2.345, + 6.4281 + ], + "confidence": 1, + "span": { + "offset": 720, + "length": 8 + } + }, + { + "content": "Fee", + "polygon": [ + 2.9143, + 6.2933, + 3.1351, + 6.2933, + 3.1351, + 6.3999, + 2.9143, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 729, + "length": 3 + } + }, + { + "content": "10", + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 733, + "length": 2 + } + }, + { + "content": "pages", + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ], + "confidence": 1, + "span": { + "offset": 736, + "length": 5 + } + }, + { + "content": "$1.00", + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ], + "confidence": 1, + "span": { + "offset": 742, + "length": 5 + } + }, + { + "content": "20%", + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ], + "confidence": 1, + "span": { + "offset": 748, + "length": 3 + } + }, + { + "content": "$10.00", + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ], + "confidence": 1, + "span": { + "offset": 752, + "length": 6 + } + }, + { + "content": "SUBTOTAL", + "polygon": [ + 6.0282, + 6.9118, + 6.7309, + 6.9118, + 6.7309, + 7.0199, + 6.0282, + 7.0199 + ], + "confidence": 1, + "span": { + "offset": 759, + "length": 8 + } + }, + { + "content": "$100.00", + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ], + "confidence": 1, + "span": { + "offset": 768, + "length": 7 + } + }, + { + "content": "SALES", + "polygon": [ + 6.0382, + 7.2089, + 6.4262, + 7.2089, + 6.4262, + 7.317, + 6.0382, + 7.317 + ], + "confidence": 1, + "span": { + "offset": 776, + "length": 5 + } + }, + { + "content": "TAX", + "polygon": [ + 6.4702, + 7.2099, + 6.728, + 7.2099, + 6.728, + 7.316, + 6.4702, + 7.316 + ], + "confidence": 1, + "span": { + "offset": 782, + "length": 3 + } + }, + { + "content": "$10.00", + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ], + "confidence": 1, + "span": { + "offset": 786, + "length": 6 + } + }, + { + "content": "TOTAL", + "polygon": [ + 6.2969, + 7.5089, + 6.7309, + 7.5089, + 6.7309, + 7.617, + 6.2969, + 7.617 + ], + "confidence": 1, + "span": { + "offset": 793, + "length": 5 + } + }, + { + "content": "$110.00", + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ], + "confidence": 1, + "span": { + "offset": 799, + "length": 7 + } + }, + { + "content": "PREVIOUS", + "polygon": [ + 4.8126, + 7.8055, + 5.4789, + 7.8055, + 5.4789, + 7.9137, + 4.8126, + 7.9137 + ], + "confidence": 1, + "span": { + "offset": 807, + "length": 8 + } + }, + { + "content": "UNPAID", + "polygon": [ + 5.5362, + 7.8065, + 6.057, + 7.8065, + 6.057, + 7.9137, + 5.5362, + 7.9137 + ], + "confidence": 1, + "span": { + "offset": 816, + "length": 6 + } + }, + { + "content": "BALANCE", + "polygon": [ + 6.1164, + 7.8057, + 6.7249, + 7.8057, + 6.7249, + 7.9135, + 6.1164, + 7.9135 + ], + "confidence": 1, + "span": { + "offset": 823, + "length": 7 + } + }, + { + "content": "$500.00", + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ], + "confidence": 1, + "span": { + "offset": 831, + "length": 7 + } + }, + { + "content": "AMOUNT", + "polygon": [ + 5.7652, + 8.1022, + 6.4055, + 8.1022, + 6.4055, + 8.2104, + 5.7652, + 8.2104 + ], + "confidence": 1, + "span": { + "offset": 839, + "length": 6 + } + }, + { + "content": "DUE", + "polygon": [ + 6.4562, + 8.1032, + 6.725, + 8.1032, + 6.725, + 8.2104, + 6.4562, + 8.2104 + ], + "confidence": 1, + "span": { + "offset": 846, + "length": 3 + } + }, + { + "content": "$610.00", + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ], + "confidence": 1, + "span": { + "offset": 850, + "length": 7 + } + }, + { + "content": "THANK", + "polygon": [ + 3.129, + 8.5453, + 3.5887, + 8.5453, + 3.5887, + 8.6429, + 3.129, + 8.6429 + ], + "confidence": 1, + "span": { + "offset": 858, + "length": 5 + } + }, + { + "content": "YOU", + "polygon": [ + 3.6316, + 8.544, + 3.9064, + 8.544, + 3.9064, + 8.6442, + 3.6316, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 864, + "length": 3 + } + }, + { + "content": "FOR", + "polygon": [ + 3.9671, + 8.544, + 4.2187, + 8.544, + 4.2187, + 8.6442, + 3.9671, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 868, + "length": 3 + } + }, + { + "content": "YOUR", + "polygon": [ + 4.2638, + 8.544, + 4.6347, + 8.544, + 4.6347, + 8.6442, + 4.2638, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 872, + "length": 4 + } + }, + { + "content": "BUSINESS!", + "polygon": [ + 4.6859, + 8.539, + 5.356, + 8.539, + 5.356, + 8.6442, + 4.6859, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 877, + "length": 9 + } + }, + { + "content": "REMIT", + "polygon": [ + 0.5909, + 9.1619, + 1.0014, + 9.1619, + 1.0014, + 9.2596, + 0.5909, + 9.2596 + ], + "confidence": 1, + "span": { + "offset": 887, + "length": 5 + } + }, + { + "content": "TO:", + "polygon": [ + 1.0446, + 9.1607, + 1.2603, + 9.1607, + 1.2603, + 9.2608, + 1.0446, + 9.2608 + ], + "confidence": 1, + "span": { + "offset": 893, + "length": 3 + } + }, + { + "content": "Contoso", + "polygon": [ + 0.5882, + 9.3697, + 1.1337, + 9.3697, + 1.1337, + 9.4777, + 0.5882, + 9.4777 + ], + "confidence": 1, + "span": { + "offset": 897, + "length": 7 + } + }, + { + "content": "Billing", + "polygon": [ + 1.1905, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 1.1905, + 9.5059 + ], + "confidence": 1, + "span": { + "offset": 905, + "length": 7 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 9.5728, + 0.8213, + 9.5728, + 0.8213, + 9.681, + 0.5945, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 913, + "length": 3 + } + }, + { + "content": "Remit", + "polygon": [ + 0.881, + 9.5717, + 1.264, + 9.5717, + 1.264, + 9.681, + 0.881, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 917, + "length": 5 + } + }, + { + "content": "St", + "polygon": [ + 1.3125, + 9.5728, + 1.4337, + 9.5728, + 1.4337, + 9.681, + 1.3125, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 923, + "length": 2 + } + }, + { + "content": "New", + "polygon": [ + 0.5943, + 9.7808, + 0.8848, + 9.7808, + 0.8848, + 9.8877, + 0.5943, + 9.8877 + ], + "confidence": 1, + "span": { + "offset": 926, + "length": 3 + } + }, + { + "content": "York,", + "polygon": [ + 0.9293, + 9.773, + 1.2568, + 9.773, + 1.2568, + 9.9098, + 0.9293, + 9.9098 + ], + "confidence": 1, + "span": { + "offset": 930, + "length": 5 + } + }, + { + "content": "NY,", + "polygon": [ + 1.3205, + 9.7805, + 1.5233, + 9.7805, + 1.5233, + 9.9098, + 1.3205, + 9.9098 + ], + "confidence": 1, + "span": { + "offset": 936, + "length": 3 + } + }, + { + "content": "10001", + "polygon": [ + 1.5903, + 9.7795, + 1.9882, + 9.7795, + 1.9882, + 9.8877, + 1.5903, + 9.8877 + ], + "confidence": 1, + "span": { + "offset": 940, + "length": 5 + } + } + ], + "selectionMarks": [ + { + "state": "unselected", + "polygon": [ + 4.3231, + 5.6279, + 4.7562, + 5.6279, + 4.7562, + 5.8654, + 4.3231, + 5.8654 + ], + "confidence": 0.212, + "span": { + "offset": 946, + "length": 12 + } + } + ], + "lines": [ + { + "content": "CONTOSO LTD.", + "polygon": [ + 0.5911, + 0.6857, + 2.3181, + 0.6857, + 2.3181, + 0.8664, + 0.5911, + 0.8664 + ], + "spans": [ + { + "offset": 0, + "length": 12 + } + ] + }, + { + "content": "INVOICE", + "polygon": [ + 7.0751, + 0.589, + 7.9886, + 0.589, + 7.9886, + 0.7697, + 7.0751, + 0.7697 + ], + "spans": [ + { + "offset": 13, + "length": 7 + } + ] + }, + { + "content": "Contoso Headquarters", + "polygon": [ + 0.5882, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 0.5882, + 1.5664 + ], + "spans": [ + { + "offset": 21, + "length": 20 + } + ] + }, + { + "content": "INVOICE: INV-100", + "polygon": [ + 6.8599, + 1.4217, + 7.9988, + 1.4217, + 7.9988, + 1.5218, + 6.8599, + 1.5218 + ], + "spans": [ + { + "offset": 42, + "length": 16 + } + ] + }, + { + "content": "123 456th St", + "polygon": [ + 0.5945, + 1.6092, + 1.3812, + 1.6092, + 1.3812, + 1.742, + 0.5945, + 1.742 + ], + "spans": [ + { + "offset": 59, + "length": 12 + } + ] + }, + { + "content": "INVOICE DATE: 11/15/2019", + "polygon": [ + 6.2263, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 6.2263, + 1.7449 + ], + "spans": [ + { + "offset": 72, + "length": 24 + } + ] + }, + { + "content": "New York, NY, 10001", + "polygon": [ + 0.5943, + 1.8307, + 1.9894, + 1.8307, + 1.9894, + 1.9675, + 0.5943, + 1.9675 + ], + "spans": [ + { + "offset": 97, + "length": 19 + } + ] + }, + { + "content": "DUE DATE: 12/15/2019", + "polygon": [ + 6.4966, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 6.4966, + 1.9515 + ], + "spans": [ + { + "offset": 117, + "length": 20 + } + ] + }, + { + "content": "CUSTOMER NAME: MICROSOFT CORPORATION", + "polygon": [ + 4.9513, + 2.0388, + 7.9825, + 2.0388, + 7.9825, + 2.1389, + 4.9513, + 2.1389 + ], + "spans": [ + { + "offset": 138, + "length": 36 + } + ] + }, + { + "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019", + "polygon": [ + 5.1667, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 5.1667, + 2.3615 + ], + "spans": [ + { + "offset": 175, + "length": 39 + } + ] + }, + { + "content": "CUSTOMER ID: CID-12345", + "polygon": [ + 6.3253, + 2.4488, + 7.9951, + 2.4488, + 7.9951, + 2.5489, + 6.3253, + 2.5489 + ], + "spans": [ + { + "offset": 215, + "length": 22 + } + ] + }, + { + "content": "Microsoft Corp", + "polygon": [ + 0.5943, + 2.6436, + 1.586, + 2.6436, + 1.586, + 2.7871, + 0.5943, + 2.7871 + ], + "spans": [ + { + "offset": 238, + "length": 14 + } + ] + }, + { + "content": "123 Other St,", + "polygon": [ + 0.5945, + 2.8476, + 1.4633, + 2.8476, + 1.4633, + 2.9845, + 0.5945, + 2.9845 + ], + "spans": [ + { + "offset": 253, + "length": 13 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 0.5943, + 3.0513, + 2.0083, + 3.0513, + 2.0083, + 3.1878, + 0.5943, + 3.1878 + ], + "spans": [ + { + "offset": 267, + "length": 17 + } + ] + }, + { + "content": "BILL TO:", + "polygon": [ + 0.5909, + 3.559, + 1.1032, + 3.559, + 1.1032, + 3.6592, + 0.5909, + 3.6592 + ], + "spans": [ + { + "offset": 285, + "length": 8 + } + ] + }, + { + "content": "SHIP TO:", + "polygon": [ + 3.3361, + 3.559, + 3.8903, + 3.559, + 3.8903, + 3.6592, + 3.3361, + 3.6592 + ], + "spans": [ + { + "offset": 294, + "length": 8 + } + ] + }, + { + "content": "SERVICE ADDRESS:", + "polygon": [ + 6.2104, + 3.559, + 7.4232, + 3.559, + 7.4232, + 3.6592, + 6.2104, + 3.6592 + ], + "spans": [ + { + "offset": 303, + "length": 16 + } + ] + }, + { + "content": "Microsoft Finance", + "polygon": [ + 0.5943, + 3.7641, + 1.7878, + 3.7641, + 1.7878, + 3.8794, + 0.5943, + 3.8794 + ], + "spans": [ + { + "offset": 320, + "length": 17 + } + ] + }, + { + "content": "Microsoft Delivery", + "polygon": [ + 3.3454, + 3.7641, + 4.5762, + 3.7641, + 4.5762, + 3.9076, + 3.3454, + 3.9076 + ], + "spans": [ + { + "offset": 338, + "length": 18 + } + ] + }, + { + "content": "Microsoft Services", + "polygon": [ + 6.2197, + 3.7641, + 7.4427, + 3.7641, + 7.4427, + 3.8794, + 6.2197, + 3.8794 + ], + "spans": [ + { + "offset": 357, + "length": 18 + } + ] + }, + { + "content": "123 Bill St,", + "polygon": [ + 0.5945, + 3.9681, + 1.2765, + 3.9681, + 1.2765, + 4.1049, + 0.5945, + 4.1049 + ], + "spans": [ + { + "offset": 376, + "length": 12 + } + ] + }, + { + "content": "123 Ship St,", + "polygon": [ + 3.3456, + 3.9681, + 4.1111, + 3.9681, + 4.1111, + 4.1109, + 3.3456, + 4.1109 + ], + "spans": [ + { + "offset": 389, + "length": 12 + } + ] + }, + { + "content": "123 Service St,", + "polygon": [ + 6.2199, + 3.9734, + 7.1821, + 3.9734, + 7.1821, + 4.1049, + 6.2199, + 4.1049 + ], + "spans": [ + { + "offset": 402, + "length": 15 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 0.5943, + 4.1717, + 2.0083, + 4.1717, + 2.0083, + 4.3082, + 0.5943, + 4.3082 + ], + "spans": [ + { + "offset": 418, + "length": 17 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 3.3454, + 4.1717, + 4.7594, + 4.1717, + 4.7594, + 4.3082, + 3.3454, + 4.3082 + ], + "spans": [ + { + "offset": 436, + "length": 17 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 6.2197, + 4.1717, + 7.6337, + 4.1717, + 7.6337, + 4.3082, + 6.2197, + 4.3082 + ], + "spans": [ + { + "offset": 454, + "length": 17 + } + ] + }, + { + "content": "SALESPERSON", + "polygon": [ + 0.7018, + 4.6528, + 1.6092, + 4.6528, + 1.6092, + 4.7529, + 0.7018, + 4.7529 + ], + "spans": [ + { + "offset": 472, + "length": 11 + } + ] + }, + { + "content": "P.O. NUMBER", + "polygon": [ + 2.1216, + 4.6528, + 3.0155, + 4.6528, + 3.0155, + 4.7529, + 2.1216, + 4.7529 + ], + "spans": [ + { + "offset": 484, + "length": 11 + } + ] + }, + { + "content": "REQUISITIONER", + "polygon": [ + 3.4953, + 4.6528, + 4.5157, + 4.6528, + 4.5157, + 4.7687, + 3.4953, + 4.7687 + ], + "spans": [ + { + "offset": 496, + "length": 13 + } + ] + }, + { + "content": "SHIPPED VIA", + "polygon": [ + 4.81, + 4.6528, + 5.6317, + 4.6528, + 5.6317, + 4.7529, + 4.81, + 4.7529 + ], + "spans": [ + { + "offset": 510, + "length": 11 + } + ] + }, + { + "content": "F.O.B. POINT", + "polygon": [ + 5.8696, + 4.6528, + 6.706, + 4.6528, + 6.706, + 4.7529, + 5.8696, + 4.7529 + ], + "spans": [ + { + "offset": 522, + "length": 12 + } + ] + }, + { + "content": "TERMS", + "polygon": [ + 7.1806, + 4.6528, + 7.6304, + 4.6528, + 7.6304, + 4.7529, + 7.1806, + 4.7529 + ], + "spans": [ + { + "offset": 535, + "length": 5 + } + ] + }, + { + "content": "PO-3333", + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ], + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + { + "content": "DATE", + "polygon": [ + 0.7409, + 5.421, + 1.0744, + 5.421, + 1.0744, + 5.5186, + 0.7409, + 5.5186 + ], + "spans": [ + { + "offset": 549, + "length": 4 + } + ] + }, + { + "content": "ITEM CODE", + "polygon": [ + 1.4213, + 5.4197, + 2.1407, + 5.4197, + 2.1407, + 5.5199, + 1.4213, + 5.5199 + ], + "spans": [ + { + "offset": 554, + "length": 9 + } + ] + }, + { + "content": "DESCRIPTION", + "polygon": [ + 2.8516, + 5.4197, + 3.7134, + 5.4197, + 3.7134, + 5.5199, + 2.8516, + 5.5199 + ], + "spans": [ + { + "offset": 564, + "length": 11 + } + ] + }, + { + "content": "QTY", + "polygon": [ + 4.4043, + 5.4197, + 4.6631, + 5.4197, + 4.6631, + 5.5357, + 4.4043, + 5.5357 + ], + "spans": [ + { + "offset": 576, + "length": 3 + } + ] + }, + { + "content": "UM", + "polygon": [ + 5.049, + 5.421, + 5.2654, + 5.421, + 5.2654, + 5.5199, + 5.049, + 5.5199 + ], + "spans": [ + { + "offset": 580, + "length": 2 + } + ] + }, + { + "content": "PRICE", + "polygon": [ + 5.8563, + 5.4199, + 6.2163, + 5.4199, + 6.2163, + 5.5197, + 5.8563, + 5.5197 + ], + "spans": [ + { + "offset": 583, + "length": 5 + } + ] + }, + { + "content": "TAX", + "polygon": [ + 6.7169, + 5.421, + 6.974, + 5.421, + 6.974, + 5.5186, + 6.7169, + 5.5186 + ], + "spans": [ + { + "offset": 589, + "length": 3 + } + ] + }, + { + "content": "AMOUNT", + "polygon": [ + 7.2847, + 5.4197, + 7.9039, + 5.4197, + 7.9039, + 5.5199, + 7.2847, + 5.5199 + ], + "spans": [ + { + "offset": 593, + "length": 6 + } + ] + }, + { + "content": "3/4/2021", + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ], + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + { + "content": "A123", + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ], + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + { + "content": "Consulting Services", + "polygon": [ + 2.3388, + 5.6883, + 3.6278, + 5.6883, + 3.6278, + 5.8312, + 2.3388, + 5.8312 + ], + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + { + "content": "2", + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ], + "spans": [ + { + "offset": 634, + "length": 1 + } + ] + }, + { + "content": "hours", + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ], + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + { + "content": "$30.00", + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ], + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + }, + { + "content": "10%", + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ], + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + { + "content": "$60.00", + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ], + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + { + "content": "3/5/2021", + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ], + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + { + "content": "B456", + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ], + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + { + "content": "Document Fee", + "polygon": [ + 2.345, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 2.345, + 6.0997 + ], + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + { + "content": "3", + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ], + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ], + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + }, + { + "content": "5%", + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ], + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + { + "content": "$30.00", + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ], + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + { + "content": "3/6/2021", + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ], + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + { + "content": "C789", + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ], + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + { + "content": "Printing Fee", + "polygon": [ + 2.345, + 6.2906, + 3.1351, + 6.2906, + 3.1351, + 6.4281, + 2.345, + 6.4281 + ], + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + { + "content": "10", + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ], + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + { + "content": "pages", + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ], + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + { + "content": "$1.00", + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ], + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + }, + { + "content": "20%", + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ], + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ], + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + }, + { + "content": "SUBTOTAL", + "polygon": [ + 6.0282, + 6.9118, + 6.7309, + 6.9118, + 6.7309, + 7.0199, + 6.0282, + 7.0199 + ], + "spans": [ + { + "offset": 759, + "length": 8 + } + ] + }, + { + "content": "$100.00", + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ], + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + { + "content": "SALES TAX", + "polygon": [ + 6.0382, + 7.2089, + 6.728, + 7.2089, + 6.728, + 7.317, + 6.0382, + 7.317 + ], + "spans": [ + { + "offset": 776, + "length": 9 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ], + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + { + "content": "TOTAL", + "polygon": [ + 6.2969, + 7.5089, + 6.7309, + 7.5089, + 6.7309, + 7.617, + 6.2969, + 7.617 + ], + "spans": [ + { + "offset": 793, + "length": 5 + } + ] + }, + { + "content": "$110.00", + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ], + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + { + "content": "PREVIOUS UNPAID BALANCE", + "polygon": [ + 4.8126, + 7.8055, + 6.7249, + 7.8055, + 6.7249, + 7.9137, + 4.8126, + 7.9137 + ], + "spans": [ + { + "offset": 807, + "length": 23 + } + ] + }, + { + "content": "$500.00", + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ], + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + { + "content": "AMOUNT DUE", + "polygon": [ + 5.7652, + 8.1022, + 6.725, + 8.1022, + 6.725, + 8.2104, + 5.7652, + 8.2104 + ], + "spans": [ + { + "offset": 839, + "length": 10 + } + ] + }, + { + "content": "$610.00", + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ], + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + }, + { + "content": "THANK YOU FOR YOUR BUSINESS!", + "polygon": [ + 3.129, + 8.539, + 5.356, + 8.539, + 5.356, + 8.6442, + 3.129, + 8.6442 + ], + "spans": [ + { + "offset": 858, + "length": 28 + } + ] + }, + { + "content": "REMIT TO:", + "polygon": [ + 0.5909, + 9.1607, + 1.2603, + 9.1607, + 1.2603, + 9.2608, + 0.5909, + 9.2608 + ], + "spans": [ + { + "offset": 887, + "length": 9 + } + ] + }, + { + "content": "Contoso Billing", + "polygon": [ + 0.5882, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 0.5882, + 9.5059 + ], + "spans": [ + { + "offset": 897, + "length": 15 + } + ] + }, + { + "content": "123 Remit St", + "polygon": [ + 0.5945, + 9.5717, + 1.4337, + 9.5717, + 1.4337, + 9.681, + 0.5945, + 9.681 + ], + "spans": [ + { + "offset": 913, + "length": 12 + } + ] + }, + { + "content": "New York, NY, 10001", + "polygon": [ + 0.5943, + 9.773, + 1.9882, + 9.773, + 1.9882, + 9.9098, + 0.5943, + 9.9098 + ], + "spans": [ + { + "offset": 926, + "length": 19 + } + ] + } + ], + "spans": [ + { + "offset": 0, + "length": 958 + } + ] + } + ], + "tables": [ + { + "rowCount": 4, + "columnCount": 8, + "cells": [ + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "DATE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4932, + 5.329, + 1.3011, + 5.3213, + 1.3011, + 5.6056, + 0.5009, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 549, + "length": 4 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "ITEM CODE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.3213, + 2.2476, + 5.3213, + 2.2399, + 5.6056, + 1.3011, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 554, + "length": 9 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "DESCRIPTION", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2476, + 5.3213, + 4.3174, + 5.329, + 4.3097, + 5.6056, + 2.2399, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 564, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "QTY", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3174, + 5.329, + 4.7483, + 5.329, + 4.7483, + 5.6056, + 4.3097, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 576, + "length": 3 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "UM", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.329, + 5.5639, + 5.329, + 5.5639, + 5.6056, + 4.7483, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 580, + "length": 2 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "PRICE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.329, + 6.495, + 5.329, + 6.495, + 5.6056, + 5.5639, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 583, + "length": 5 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "TAX", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.329, + 7.1875, + 5.329, + 7.1952, + 5.6056, + 6.495, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 589, + "length": 3 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "AMOUNT", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1875, + 5.329, + 7.9954, + 5.329, + 7.9954, + 5.598, + 7.1952, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 593, + "length": 6 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/4/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5009, + 5.6056, + 1.3011, + 5.6056, + 1.3011, + 5.8976, + 0.5009, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "A123", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.6056, + 2.2399, + 5.6056, + 2.2322, + 5.8976, + 1.3011, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Consulting Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2399, + 5.6056, + 4.3097, + 5.6056, + 4.3097, + 5.8976, + 2.2322, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "2 :unselected:", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 5.6056, + 4.7483, + 5.6056, + 4.7483, + 5.8976, + 4.3097, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 634, + "length": 1 + }, + { + "offset": 946, + "length": 12 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "hours", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.6056, + 5.5639, + 5.6056, + 5.5639, + 5.8976, + 4.7483, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.6056, + 6.495, + 5.6056, + 6.495, + 5.8976, + 5.5639, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "10%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.6056, + 7.1952, + 5.6056, + 7.1952, + 5.8976, + 6.495, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 5.6056, + 7.9954, + 5.598, + 7.9954, + 5.9053, + 7.1952, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/5/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5009, + 5.8976, + 1.3011, + 5.8976, + 1.3011, + 6.1973, + 0.5086, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "B456", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.8976, + 2.2322, + 5.8976, + 2.2245, + 6.1973, + 1.3011, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Document Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2322, + 5.8976, + 4.3097, + 5.8976, + 4.3097, + 6.1973, + 2.2245, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "3", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 5.8976, + 4.7483, + 5.8976, + 4.7483, + 6.1973, + 4.3097, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.8976, + 5.5639, + 5.8976, + 5.5639, + 6.1973, + 4.7483, + 6.1973 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.8976, + 6.495, + 5.8976, + 6.495, + 6.1973, + 5.5639, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "5%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.8976, + 7.1952, + 5.8976, + 7.1952, + 6.1973, + 6.495, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 5.8976, + 7.9954, + 5.9053, + 7.9954, + 6.1896, + 7.1952, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/6/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5086, + 6.1973, + 1.3011, + 6.1973, + 1.3011, + 6.4969, + 0.5086, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "C789", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 6.1973, + 2.2245, + 6.1973, + 2.2245, + 6.4969, + 1.3011, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Printing Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2245, + 6.1973, + 4.3097, + 6.1973, + 4.3097, + 6.4969, + 2.2245, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "10", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 6.1973, + 4.7483, + 6.1973, + 4.7483, + 6.4969, + 4.3097, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "pages", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 6.1973, + 5.5639, + 6.1973, + 5.5639, + 6.4969, + 4.7483, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$1.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 6.1973, + 6.495, + 6.1973, + 6.495, + 6.4969, + 5.5639, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "20%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 6.1973, + 7.1952, + 6.1973, + 7.1952, + 6.4969, + 6.495, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 6.1973, + 7.9954, + 6.1896, + 7.9954, + 6.5046, + 7.1952, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4901, + 5.3293, + 7.9946, + 5.3289, + 7.9954, + 6.5019, + 0.4906, + 6.502 + ] + } + ], + "spans": [ + { + "offset": 549, + "length": 209 + }, + { + "offset": 946, + "length": 12 + } + ] + }, + { + "rowCount": 2, + "columnCount": 6, + "cells": [ + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SALESPERSON", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4977, + 4.565, + 1.8042, + 4.565, + 1.8119, + 4.8388, + 0.5054, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 472, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "P.O. NUMBER", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.8042, + 4.565, + 3.3105, + 4.565, + 3.3105, + 4.8388, + 1.8119, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 484, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "REQUISITIONER", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3105, + 4.565, + 4.6939, + 4.565, + 4.6862, + 4.8388, + 3.3105, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 496, + "length": 13 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "SHIPPED VIA", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.6939, + 4.565, + 5.7468, + 4.565, + 5.7468, + 4.8388, + 4.6862, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 510, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "F.O.B. POINT", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.7468, + 4.565, + 6.815, + 4.565, + 6.815, + 4.8388, + 5.7468, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 522, + "length": 12 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "TERMS", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.815, + 4.565, + 7.9985, + 4.565, + 7.9985, + 4.8388, + 6.815, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 535, + "length": 5 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5054, + 4.8388, + 1.8119, + 4.8388, + 1.8119, + 5.1058, + 0.5131, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "PO-3333", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.8119, + 4.8388, + 3.3105, + 4.8388, + 3.3105, + 5.1058, + 1.8119, + 5.1058 + ] + } + ], + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3105, + 4.8388, + 4.6862, + 4.8388, + 4.6862, + 5.1058, + 3.3105, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.6862, + 4.8388, + 5.7468, + 4.8388, + 5.7468, + 5.1058, + 4.6862, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.7468, + 4.8388, + 6.815, + 4.8388, + 6.815, + 5.1058, + 5.7468, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.815, + 4.8388, + 7.9985, + 4.8388, + 7.9985, + 5.1125, + 6.815, + 5.1058 + ] + } + ], + "spans": [] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4971, + 4.565, + 7.9889, + 4.5653, + 7.989, + 5.1146, + 0.4963, + 5.1141 + ] + } + ], + "spans": [ + { + "offset": 472, + "length": 76 + } + ] + }, + { + "rowCount": 5, + "columnCount": 2, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SUBTOTAL", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7474, + 6.7934, + 6.8058, + 6.7934, + 6.8105, + 7.0886, + 4.7474, + 7.0886 + ] + } + ], + "spans": [ + { + "offset": 759, + "length": 8 + } + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$100.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8058, + 6.7934, + 7.9981, + 6.7934, + 7.9981, + 7.0934, + 6.8105, + 7.0886 + ] + } + ], + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SALES TAX", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7474, + 7.0886, + 6.8105, + 7.0886, + 6.8105, + 7.3743, + 4.7427, + 7.3743 + ] + } + ], + "spans": [ + { + "offset": 776, + "length": 9 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.0886, + 7.9981, + 7.0934, + 7.9981, + 7.3934, + 6.8105, + 7.3743 + ] + } + ], + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "TOTAL", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.3743, + 6.8105, + 7.3743, + 6.8105, + 7.6839, + 4.7427, + 7.6839 + ] + } + ], + "spans": [ + { + "offset": 793, + "length": 5 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$110.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.3743, + 7.9981, + 7.3934, + 7.9981, + 7.6886, + 6.8105, + 7.6839 + ] + } + ], + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "PREVIOUS UNPAID BALANCE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.6839, + 6.8105, + 7.6839, + 6.8105, + 7.9743, + 4.7427, + 7.9743 + ] + } + ], + "spans": [ + { + "offset": 807, + "length": 23 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$500.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.6839, + 7.9981, + 7.6886, + 7.9981, + 7.9839, + 6.8105, + 7.9743 + ] + } + ], + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + { + "rowIndex": 4, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "AMOUNT DUE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.9743, + 6.8105, + 7.9743, + 6.8105, + 8.2839, + 4.7381, + 8.2839 + ] + } + ], + "spans": [ + { + "offset": 839, + "length": 10 + } + ] + }, + { + "rowIndex": 4, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$610.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.9743, + 7.9981, + 7.9839, + 7.9981, + 8.2839, + 6.8105, + 8.2839 + ] + } + ], + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7456, + 6.7793, + 8.0143, + 6.7788, + 8.0137, + 8.2981, + 4.7446, + 8.2981 + ] + } + ], + "spans": [ + { + "offset": 759, + "length": 98 + } + ] + } + ], + "documents": [ + { + "docType": "prebuilt:invoice", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "fields": { + "AmountDue": { + "type": "number", + "valueNumber": 610, + "content": "$610.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + }, + "BillingAddress": { + "type": "string", + "valueString": "123 Bill St, Redmond WA, 98052", + "content": "123 Bill St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 3.9681, + 2.0083, + 3.9681, + 2.0083, + 4.3082, + 0.5943, + 4.3082 + ] + } + ], + "confidence": 0.947, + "spans": [ + { + "offset": 376, + "length": 12 + }, + { + "offset": 418, + "length": 17 + } + ] + }, + "BillingAddressRecipient": { + "type": "string", + "valueString": "Microsoft Finance", + "content": "Microsoft Finance", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 3.7641, + 1.7878, + 3.7641, + 1.7878, + 3.8794, + 0.5943, + 3.8794 + ] + } + ], + "confidence": 0.957, + "spans": [ + { + "offset": 320, + "length": 17 + } + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "123 Other St, Redmond WA, 98052", + "content": "123 Other St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 2.8476, + 2.0083, + 2.8476, + 2.0083, + 3.1878, + 0.5943, + 3.1878 + ] + } + ], + "confidence": 0.947, + "spans": [ + { + "offset": 253, + "length": 31 + } + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft Corp", + "content": "Microsoft Corp", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 2.6436, + 1.586, + 2.6436, + 1.586, + 2.7871, + 0.5943, + 2.7871 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 238, + "length": 14 + } + ] + }, + "CustomerId": { + "type": "string", + "valueString": "CID-12345", + "content": "CID-12345", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3369, + 2.4491, + 7.9951, + 2.4491, + 7.9951, + 2.5486, + 7.3369, + 2.5486 + ] + } + ], + "confidence": 0.964, + "spans": [ + { + "offset": 228, + "length": 9 + } + ] + }, + "CustomerName": { + "type": "string", + "valueString": "MICROSOFT CORPORATION", + "content": "MICROSOFT CORPORATION", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2419, + 2.0391, + 7.9825, + 2.0391, + 7.9825, + 2.1386, + 6.2419, + 2.1386 + ] + } + ], + "confidence": 0.949, + "spans": [ + { + "offset": 153, + "length": 21 + } + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2019-12-15", + "content": "12/15/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2494, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 7.2494, + 1.9515 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 127, + "length": 10 + } + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2019-11-15", + "content": "11/15/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2528, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 7.2528, + 1.7449 + ] + } + ], + "confidence": 0.972, + "spans": [ + { + "offset": 86, + "length": 10 + } + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "INV-100", + "content": "INV-100", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4959, + 1.422, + 7.9988, + 1.422, + 7.9988, + 1.5215, + 7.4959, + 1.5215 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 51, + "length": 7 + } + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 110, + "content": "$110.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 60, + "content": "$60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ] + } + ], + "confidence": 0.902, + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-04", + "content": "3/4/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ] + } + ], + "confidence": 0.938, + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Consulting Services", + "content": "Consulting Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.3388, + 5.6883, + 3.6278, + 5.6883, + 3.6278, + 5.8312, + 2.3388, + 5.8312 + ] + } + ], + "confidence": 0.9, + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "A123", + "content": "A123", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ] + } + ], + "confidence": 0.877, + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 2, + "content": "2", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 634, + "length": 1 + } + ] + }, + "Tax": { + "type": "number", + "content": "10%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ] + } + ], + "confidence": 0.78, + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + "Unit": { + "type": "string", + "valueString": "hours", + "content": "hours", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 30, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ] + } + ], + "confidence": 0.828, + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + } + }, + "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8312, + 0.592, + 5.8312 + ] + } + ], + "confidence": 0.955, + "spans": [ + { + "offset": 600, + "length": 59 + } + ] + }, + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 30, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ] + } + ], + "confidence": 0.916, + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-05", + "content": "3/5/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ] + } + ], + "confidence": 0.902, + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Document Fee", + "content": "Document Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.345, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 2.345, + 6.0997 + ] + } + ], + "confidence": 0.901, + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "B456", + "content": "B456", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ] + } + ], + "confidence": 0.886, + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 3, + "content": "3", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ] + } + ], + "confidence": 0.898, + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + "Tax": { + "type": "number", + "content": "5%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ] + } + ], + "confidence": 0.772, + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ] + } + ], + "confidence": 0.831, + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + } + }, + "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.121, + 0.592, + 6.121 + ] + } + ], + "confidence": 0.941, + "spans": [ + { + "offset": 660, + "length": 45 + } + ] + }, + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ] + } + ], + "confidence": 0.959, + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-06", + "content": "3/6/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ] + } + ], + "confidence": 0.903, + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Printing Fee", + "content": "Printing Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.345, + 6.2906, + 3.1351, + 6.2906, + 3.1351, + 6.4281, + 2.345, + 6.4281 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "C789", + "content": "C789", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ] + } + ], + "confidence": 0.898, + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 10, + "content": "10", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ] + } + ], + "confidence": 0.903, + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + "Tax": { + "type": "number", + "content": "20%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ] + } + ], + "confidence": 0.791, + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + "Unit": { + "type": "string", + "valueString": "pages", + "content": "pages", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 1, + "content": "$1.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ] + } + ], + "confidence": 0.829, + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + } + }, + "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4281, + 0.592, + 6.4281 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 706, + "length": 52 + } + ] + } + ] + }, + "Locale": { + "type": "string", + "valueString": "en-US", + "confidence": 1 + }, + "PreviousUnpaidBalance": { + "type": "number", + "valueNumber": 500, + "content": "$500.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ] + } + ], + "confidence": 0.962, + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + "PurchaseOrder": { + "type": "string", + "valueString": "PO-3333", + "content": "PO-3333", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ] + } + ], + "confidence": 0.967, + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + "RemittanceAddress": { + "type": "string", + "valueString": "123 Remit St New York, NY, 10001", + "content": "123 Remit St New York, NY, 10001", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 9.5717, + 1.9882, + 9.5717, + 1.9882, + 9.9098, + 0.5943, + 9.9098 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 913, + "length": 32 + } + ] + }, + "RemittanceAddressRecipient": { + "type": "string", + "valueString": "Contoso Billing", + "content": "Contoso Billing", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5882, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 0.5882, + 9.5059 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 897, + "length": 15 + } + ] + }, + "ServiceAddress": { + "type": "string", + "valueString": "123 Service St, Redmond WA, 98052", + "content": "123 Service St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2197, + 3.9734, + 7.6337, + 3.9734, + 7.6337, + 4.3082, + 6.2197, + 4.3082 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 402, + "length": 15 + }, + { + "offset": 454, + "length": 17 + } + ] + }, + "ServiceAddressRecipient": { + "type": "string", + "valueString": "Microsoft Services", + "content": "Microsoft Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2197, + 3.7641, + 7.4427, + 3.7641, + 7.4427, + 3.8794, + 6.2197, + 3.8794 + ] + } + ], + "confidence": 0.951, + "spans": [ + { + "offset": 357, + "length": 18 + } + ] + }, + "ServiceEndDate": { + "type": "date", + "valueDate": "2019-11-14", + "content": "11/14/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2528, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 7.2528, + 2.3615 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 204, + "length": 10 + } + ] + }, + "ServiceStartDate": { + "type": "date", + "valueDate": "2019-10-14", + "content": "10/14/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.3357, + 2.2306, + 7.0749, + 2.2306, + 7.0749, + 2.3615, + 6.3357, + 2.3615 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 191, + "length": 10 + } + ] + }, + "ShippingAddress": { + "type": "string", + "valueString": "123 Ship St, Redmond WA, 98052", + "content": "123 Ship St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3454, + 3.9681, + 4.7594, + 3.9681, + 4.7594, + 4.3082, + 3.3454, + 4.3082 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 389, + "length": 12 + }, + { + "offset": 436, + "length": 17 + } + ] + }, + "ShippingAddressRecipient": { + "type": "string", + "valueString": "Microsoft Delivery", + "content": "Microsoft Delivery", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3454, + 3.7641, + 4.5762, + 3.7641, + 4.5762, + 3.9076, + 3.3454, + 3.9076 + ] + } + ], + "confidence": 0.955, + "spans": [ + { + "offset": 338, + "length": 18 + } + ] + }, + "SubTotal": { + "type": "number", + "valueNumber": 100, + "content": "$100.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + "TotalTax": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "123 456th St New York, NY, 10001", + "content": "123 456th St New York, NY, 10001", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 1.6092, + 1.9894, + 1.6092, + 1.9894, + 1.9675, + 0.5943, + 1.9675 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 59, + "length": 12 + }, + { + "offset": 97, + "length": 19 + } + ] + }, + "VendorAddressRecipient": { + "type": "string", + "valueString": "Contoso Headquarters", + "content": "Contoso Headquarters", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5882, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 0.5882, + 1.5664 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 21, + "length": 20 + } + ] + }, + "VendorName": { + "type": "string", + "valueString": "CONTOSO LTD.", + "content": "CONTOSO LTD.", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5911, + 0.6857, + 2.3181, + 0.6857, + 2.3181, + 0.8664, + 0.5911, + 0.8664 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 0, + "length": 12 + } + ] + } + }, + "confidence": 1, + "spans": [ + { + "offset": 0, + "length": 958 + } + ] + } + ] + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetClassifyDocumentResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetClassifyDocumentResult.json index 65b5cddd9c49..463f03b9ac35 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetClassifyDocumentResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetClassifyDocumentResult.json @@ -1,104 +1,104 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "classifierId": "myClassifier", - "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" - }, - "responses": { - "200": { - "body": { - "status": "succeeded", - "createdDateTime": "2021-09-24T13:00:46Z", - "lastUpdatedDateTime": "2021-09-24T13:00:49Z", - "analyzeResult": { - "apiVersion": "2023-02-28-preview", - "modelId": "myClassifier", - "stringIndexType": "textElements", - "content": "", - "pages": [ - { - "kind": "document", - "pageNumber": 1, - "width": 8.5, - "height": 11, - "unit": "inch", - "spans": [] - }, - { - "kind": "document", - "pageNumber": 2, - "width": 8.5, - "height": 11, - "unit": "inch", - "spans": [] - }, - { - "kind": "document", - "pageNumber": 3, - "width": 8.5, - "height": 11, - "unit": "inch", - "spans": [] - } - ], - "documents": [ - { - "docType": "formA", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - }, - { - "pageNumber": 2, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "confidence": 0.97, - "spans": [] - }, - { - "docType": "formB", - "boundingRegions": [ - { - "pageNumber": 3, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "confidence": 0.97, - "spans": [] - } - ] - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "classifierId": "myClassifier", + "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" + }, + "responses": { + "200": { + "body": { + "status": "succeeded", + "createdDateTime": "2021-09-24T13:00:46Z", + "lastUpdatedDateTime": "2021-09-24T13:00:49Z", + "analyzeResult": { + "apiVersion": "2023-02-28-preview", + "modelId": "myClassifier", + "stringIndexType": "textElements", + "content": "", + "pages": [ + { + "kind": "document", + "pageNumber": 1, + "width": 8.5, + "height": 11, + "unit": "inch", + "spans": [] + }, + { + "kind": "document", + "pageNumber": 2, + "width": 8.5, + "height": 11, + "unit": "inch", + "spans": [] + }, + { + "kind": "document", + "pageNumber": 3, + "width": 8.5, + "height": 11, + "unit": "inch", + "spans": [] + } + ], + "documents": [ + { + "docType": "formA", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + }, + { + "pageNumber": 2, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "confidence": 0.97, + "spans": [] + }, + { + "docType": "formB", + "boundingRegions": [ + { + "pageNumber": 3, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "confidence": 0.97, + "spans": [] + } + ] + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifier.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifier.json index e42adaf9e2d9..229e119c518b 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifier.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifier.json @@ -1,32 +1,32 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "classifierId": "myClassifier" - }, - "responses": { - "200": { - "body": { - "classifierId": "myClassifier", - "description": "Classifier description", - "createdDateTime": "2022-07-30T00:00:00Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-02-28-preview", - "docTypes": { - "formA": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formADocs/" - } - }, - "formB": { - "azureBlobFileListSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "fileList": "formB.jsonl" - } - } - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "classifierId": "myClassifier" + }, + "responses": { + "200": { + "body": { + "classifierId": "myClassifier", + "description": "Classifier description", + "createdDateTime": "2022-07-30T00:00:00Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-02-28-preview", + "docTypes": { + "formA": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formADocs/" + } + }, + "formB": { + "azureBlobFileListSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "fileList": "formB.jsonl" + } + } + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifiers.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifiers.json index aa9bc171fd40..13a20797656b 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifiers.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentClassifiers.json @@ -1,57 +1,57 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "classifierId": "classifier1", - "description": "Classifier1 description", - "createdDateTime": "2022-07-30T00:00:00Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-02-28-preview", - "docTypes": { - "formA": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formADocs/" - } - }, - "formB": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formBDocs/" - } - } - } - }, - { - "classifierId": "classifier2", - "description": "Classifier2 description", - "createdDateTime": "2022-07-30T00:00:00Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-02-28-preview", - "docTypes": { - "formB": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formBDocs/" - } - }, - "formC": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formCDocs/" - } - } - } - } - ], - "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers?nextLink=nextLinkData" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "classifierId": "classifier1", + "description": "Classifier1 description", + "createdDateTime": "2022-07-30T00:00:00Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-02-28-preview", + "docTypes": { + "formA": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formADocs/" + } + }, + "formB": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formBDocs/" + } + } + } + }, + { + "classifierId": "classifier2", + "description": "Classifier2 description", + "createdDateTime": "2022-07-30T00:00:00Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-02-28-preview", + "docTypes": { + "formB": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formBDocs/" + } + }, + "formC": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formCDocs/" + } + } + } + } + ], + "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers?nextLink=nextLinkData" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Custom.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Custom.json index 0917c51af2a5..0ce05931c2a1 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Custom.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Custom.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "myCustomModel" - }, - "responses": { - "200": { - "body": { - "modelId": "myCustomModel", - "description": "Custom model description", - "createdDateTime": "2021-09-24T12:54:35Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-02-28-preview", - "docTypes": { - "myForm": { - "fieldSchema": { - "Name": { - "type": "string" - }, - "Date": { - "type": "date" - }, - "Amount": { - "type": "number" - } - }, - "buildMode": "template", - "fieldConfidence": { - "Name": 0.9, - "Date": 0.95, - "Amount": 0.93 - } - } - }, - "tags": { - "createdBy": "myUserId" - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "myCustomModel" + }, + "responses": { + "200": { + "body": { + "modelId": "myCustomModel", + "description": "Custom model description", + "createdDateTime": "2021-09-24T12:54:35Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-02-28-preview", + "docTypes": { + "myForm": { + "fieldSchema": { + "Name": { + "type": "string" + }, + "Date": { + "type": "date" + }, + "Amount": { + "type": "number" + } + }, + "buildMode": "template", + "fieldConfidence": { + "Name": 0.9, + "Date": 0.95, + "Amount": 0.93 + } + } + }, + "tags": { + "createdBy": "myUserId" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Prebuilt.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Prebuilt.json index 71eb2e816e55..99d5a85406cb 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Prebuilt.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModel_Prebuilt.json @@ -1,134 +1,134 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "modelId": "prebuilt-invoice" - }, - "responses": { - "200": { - "body": { - "modelId": "prebuilt-invoice", - "description": "Prebuilt model to extract key information from English invoices, including customer, vendor, invoice ID, due date, total, and more.", - "createdDateTime": "2021-07-30T00:00:00Z", - "apiVersion": "2023-02-28-preview", - "docTypes": { - "prebuilt:invoice": { - "fieldSchema": { - "CustomerName": { - "type": "string" - }, - "CustomerId": { - "type": "string" - }, - "PurchaseOrder": { - "type": "string" - }, - "InvoiceId": { - "type": "string" - }, - "InvoiceDate": { - "type": "date" - }, - "DueDate": { - "type": "date" - }, - "VendorName": { - "type": "string" - }, - "VendorAddress": { - "type": "string" - }, - "VendorAddressRecipient": { - "type": "string" - }, - "CustomerAddress": { - "type": "string" - }, - "CustomerAddressRecipient": { - "type": "string" - }, - "BillingAddress": { - "type": "string" - }, - "BillingAddressRecipient": { - "type": "string" - }, - "ShippingAddress": { - "type": "string" - }, - "ShippingAddressRecipient": { - "type": "string" - }, - "SubTotal": { - "type": "number" - }, - "TotalTax": { - "type": "number" - }, - "InvoiceTotal": { - "type": "number" - }, - "AmountDue": { - "type": "number" - }, - "PreviousUnpaidBalance": { - "type": "number" - }, - "RemittanceAddress": { - "type": "string" - }, - "RemittanceAddressRecipient": { - "type": "string" - }, - "ServiceAddress": { - "type": "string" - }, - "ServiceAddressRecipient": { - "type": "string" - }, - "ServiceStartDate": { - "type": "date" - }, - "ServiceEndDate": { - "type": "date" - }, - "Items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Amount": { - "type": "number" - }, - "Date": { - "type": "date" - }, - "Description": { - "type": "string" - }, - "Quantity": { - "type": "number" - }, - "ProductCode": { - "type": "string" - }, - "Tax": { - "type": "number" - }, - "Unit": { - "type": "string" - }, - "UnitPrice": { - "type": "number" - } - } - } - } - } - } - }, - "tags": {} - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "modelId": "prebuilt-invoice" + }, + "responses": { + "200": { + "body": { + "modelId": "prebuilt-invoice", + "description": "Prebuilt model to extract key information from English invoices, including customer, vendor, invoice ID, due date, total, and more.", + "createdDateTime": "2021-07-30T00:00:00Z", + "apiVersion": "2023-02-28-preview", + "docTypes": { + "prebuilt:invoice": { + "fieldSchema": { + "CustomerName": { + "type": "string" + }, + "CustomerId": { + "type": "string" + }, + "PurchaseOrder": { + "type": "string" + }, + "InvoiceId": { + "type": "string" + }, + "InvoiceDate": { + "type": "date" + }, + "DueDate": { + "type": "date" + }, + "VendorName": { + "type": "string" + }, + "VendorAddress": { + "type": "string" + }, + "VendorAddressRecipient": { + "type": "string" + }, + "CustomerAddress": { + "type": "string" + }, + "CustomerAddressRecipient": { + "type": "string" + }, + "BillingAddress": { + "type": "string" + }, + "BillingAddressRecipient": { + "type": "string" + }, + "ShippingAddress": { + "type": "string" + }, + "ShippingAddressRecipient": { + "type": "string" + }, + "SubTotal": { + "type": "number" + }, + "TotalTax": { + "type": "number" + }, + "InvoiceTotal": { + "type": "number" + }, + "AmountDue": { + "type": "number" + }, + "PreviousUnpaidBalance": { + "type": "number" + }, + "RemittanceAddress": { + "type": "string" + }, + "RemittanceAddressRecipient": { + "type": "string" + }, + "ServiceAddress": { + "type": "string" + }, + "ServiceAddressRecipient": { + "type": "string" + }, + "ServiceStartDate": { + "type": "date" + }, + "ServiceEndDate": { + "type": "date" + }, + "Items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Amount": { + "type": "number" + }, + "Date": { + "type": "date" + }, + "Description": { + "type": "string" + }, + "Quantity": { + "type": "number" + }, + "ProductCode": { + "type": "string" + }, + "Tax": { + "type": "number" + }, + "Unit": { + "type": "string" + }, + "UnitPrice": { + "type": "number" + } + } + } + } + } + } + }, + "tags": {} + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModels.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModels.json index f6d133837115..c4957ba19785 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModels.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetDocumentModels.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "modelId": "prebuilt-layout", - "createdDateTime": "2021-07-30T00:00:00Z", - "description": "Prebuilt model to extract text, selection marks, tables, and other layout information.", - "apiVersion": "2023-02-28-preview" - }, - { - "modelId": "myCustomModel", - "createdDateTime": "2021-09-24T12:54:35Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "description": "Custom model description", - "apiVersion": "2023-02-28-preview" - } - ], - "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels?nextLink=nextLinkData" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "modelId": "prebuilt-layout", + "createdDateTime": "2021-07-30T00:00:00Z", + "description": "Prebuilt model to extract text, selection marks, tables, and other layout information.", + "apiVersion": "2023-02-28-preview" + }, + { + "modelId": "myCustomModel", + "createdDateTime": "2021-09-24T12:54:35Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "description": "Custom model description", + "apiVersion": "2023-02-28-preview" + } + ], + "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels?nextLink=nextLinkData" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperation.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperation.json index 8a0d0e96a2d8..af1f7e48cba5 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperation.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperation.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview", - "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4" - }, - "responses": { - "200": { - "body": { - "operationId": "31533879936_426a3e4c-c6fb-4c83-937c-a92414c371a4", - "status": "succeeded", - "percentCompleted": 100, - "createdDateTime": "2021-09-23T09:12:57Z", - "lastUpdatedDateTime": "2021-09-23T09:13:01Z", - "kind": "documentModelBuild", - "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", - "result": { - "modelId": "myCustomModel", - "description": "Custom model description", - "createdDateTime": "2021-09-23T09:13:01Z", - "apiVersion": "2023-02-28-preview" - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview", + "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4" + }, + "responses": { + "200": { + "body": { + "operationId": "31533879936_426a3e4c-c6fb-4c83-937c-a92414c371a4", + "status": "succeeded", + "percentCompleted": 100, + "createdDateTime": "2021-09-23T09:12:57Z", + "lastUpdatedDateTime": "2021-09-23T09:13:01Z", + "kind": "documentModelBuild", + "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", + "result": { + "modelId": "myCustomModel", + "description": "Custom model description", + "createdDateTime": "2021-09-23T09:13:01Z", + "apiVersion": "2023-02-28-preview" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperations.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperations.json index df4616e8bf85..16a81d490b8d 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperations.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetOperations.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4", - "status": "running", - "percentCompleted": 0, - "createdDateTime": "2021-09-23T09:12:57Z", - "lastUpdatedDateTime": "2021-09-23T09:12:58Z", - "kind": "documentModelBuild", - "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", - "apiVersion": "2023-02-28-preview" - } - ], - "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations?nextLink=nextLinkData" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4", + "status": "running", + "percentCompleted": 0, + "createdDateTime": "2021-09-23T09:12:57Z", + "lastUpdatedDateTime": "2021-09-23T09:12:58Z", + "kind": "documentModelBuild", + "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", + "apiVersion": "2023-02-28-preview" + } + ], + "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations?nextLink=nextLinkData" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetResourceDetails.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetResourceDetails.json index de35e88df1d9..cbe0761545ff 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetResourceDetails.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/2023-02-28-preview/examples/GetResourceDetails.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-02-28-preview" - }, - "responses": { - "200": { - "body": { - "customDocumentModels": { - "count": 2, - "limit": 13 - }, - "customNeuralDocumentModelBuilds": { - "used": 1, - "quota": 10, - "quotaResetDateTime": "2023-03-01T00:00:00Z" - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-02-28-preview" + }, + "responses": { + "200": { + "body": { + "customDocumentModels": { + "count": 2, + "limit": 13 + }, + "customNeuralDocumentModelBuilds": { + "used": 1, + "quota": 10, + "quotaResetDateTime": "2023-03-01T00:00:00Z" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/FormRecognizer.json index 1dead32e2159..05e2f4f08868 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/FormRecognizer.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/FormRecognizer.json @@ -1,2220 +1,2220 @@ -{ - "swagger": "2.0", - "info": { - "title": "Form Recognizer Client", - "description": "Extracts content, layout, and structured data from documents.", - "version": "2022-08-31" - }, - "securityDefinitions": { - "apim_key": { - "type": "apiKey", - "name": "Ocp-Apim-Subscription-Key", - "in": "header" - } - }, - "security": [ - { - "apim_key": [] - } - ], - "x-ms-parameterized-host": { - "hostTemplate": "{endpoint}/formrecognizer", - "useSchemePrefix": false, - "parameters": [ - { - "$ref": "#/parameters/Endpoint" - } - ] - }, - "schemes": [ - "https" - ], - "paths": { - "/documentModels/{modelId}:analyze": { - "post": { - "summary": "Analyze document", - "description": "Analyzes document with document model.", - "operationId": "AnalyzeDocument", - "tags": [ - "Analysis" - ], - "consumes": [ - "application/json", - "application/octet-stream", - "application/pdf", - "image/jpeg", - "image/png", - "image/tiff", - "image/bmp", - "image/heif" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/PathDocumentModelId" - }, - { - "$ref": "#/parameters/QueryPages" - }, - { - "$ref": "#/parameters/QueryLocale" - }, - { - "$ref": "#/parameters/QueryStringIndexType" - }, - { - "$ref": "#/parameters/QueryApiVersion" - }, - { - "name": "analyzeRequest", - "description": "Analyze request parameters.", - "required": false, - "in": "body", - "schema": { - "$ref": "#/definitions/AnalyzeDocumentRequest" - } - } - ], - "responses": { - "202": { - "description": "Request is queued successfully.", - "headers": { - "Operation-Location": { - "type": "string", - "description": "URL used to track the progress and obtain the result of the analyze operation." - } - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "AnalyzeDocument_Url": { - "$ref": "./examples/AnalyzeDocument_Url.json" - }, - "AnalyzeDocument_Base64": { - "$ref": "./examples/AnalyzeDocument_Base64.json" - } - } - } - }, - "/documentModels/{modelId}/analyzeResults/{resultId}": { - "get": { - "summary": "Get analyze result", - "description": "Gets the result of document analysis.", - "operationId": "GetAnalyzeDocumentResult", - "tags": [ - "Analysis" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/PathDocumentModelId" - }, - { - "$ref": "#/parameters/PathResultId" - }, - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/AnalyzeResultOperation" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetAnalyzeDocumentResult": { - "$ref": "./examples/GetAnalyzeDocumentResult.json" - } - } - } - }, - "/documentModels:build": { - "post": { - "summary": "Build document model", - "description": "Builds a custom document analysis model.", - "operationId": "BuildDocumentModel", - "tags": [ - "Creation" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/QueryApiVersion" - }, - { - "name": "buildRequest", - "description": "Building request parameters.", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/BuildDocumentModelRequest" - } - } - ], - "responses": { - "202": { - "description": "Request is queued successfully.", - "headers": { - "Operation-Location": { - "type": "string", - "description": "Operation result URL." - } - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "BuildDocumentModel": { - "$ref": "./examples/BuildDocumentModel.json" - } - } - } - }, - "/documentModels:compose": { - "post": { - "summary": "Compose document model", - "description": "Creates a new document model from document types of existing document models.", - "operationId": "ComposeDocumentModel", - "tags": [ - "Creation" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/QueryApiVersion" - }, - { - "name": "composeRequest", - "description": "Compose request parameters.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ComposeDocumentModelRequest" - } - } - ], - "responses": { - "202": { - "description": "Request is queued successfully.", - "headers": { - "Operation-Location": { - "type": "string", - "description": "Operation result URL." - } - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "ComposeDocumentModel": { - "$ref": "./examples/ComposeDocumentModel.json" - } - } - } - }, - "/documentModels:authorizeCopy": { - "post": { - "summary": "Generate copy authorization", - "description": "Generates authorization to copy a document model to this location with specified modelId and optional description.", - "operationId": "AuthorizeCopyDocumentModel", - "tags": [ - "Creation" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/QueryApiVersion" - }, - { - "name": "authorizeCopyRequest", - "description": "Authorize copy request parameters.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AuthorizeCopyRequest" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/CopyAuthorization" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AuthorizeCopyDocumentModel": { - "$ref": "./examples/AuthorizeCopyDocumentModel.json" - } - } - } - }, - "/documentModels/{modelId}:copyTo": { - "post": { - "summary": "Copy document model", - "description": "Copies document model to the target resource, region, and modelId.", - "operationId": "CopyDocumentModelTo", - "tags": [ - "Creation" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/PathDocumentModelId" - }, - { - "$ref": "#/parameters/QueryApiVersion" - }, - { - "name": "copyToRequest", - "description": "Copy to request parameters.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CopyAuthorization" - } - } - ], - "responses": { - "202": { - "description": "Request is queued successfully.", - "headers": { - "Operation-Location": { - "type": "string", - "description": "Operation result URL." - } - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "CopyDocumentModelTo": { - "$ref": "./examples/CopyDocumentModelTo.json" - } - } - } - }, - "/operations": { - "get": { - "summary": "List operations", - "description": "Lists all operations.", - "operationId": "GetOperations", - "tags": [ - "Operation" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/GetOperationsResponse" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "value" - }, - "x-ms-examples": { - "GetOperations": { - "$ref": "./examples/GetOperations.json" - } - } - } - }, - "/operations/{operationId}": { - "get": { - "summary": "Get operation", - "description": "Gets operation info.", - "operationId": "GetOperation", - "tags": [ - "Operation" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/PathOperationId" - }, - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/OperationDetails" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetOperation": { - "$ref": "./examples/GetOperation.json" - } - } - } - }, - "/documentModels": { - "get": { - "summary": "List document models", - "description": "List all document models", - "operationId": "GetDocumentModels", - "tags": [ - "Management" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/GetDocumentModelsResponse" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "value" - }, - "x-ms-examples": { - "GetDocumentModels": { - "$ref": "./examples/GetDocumentModels.json" - } - } - } - }, - "/documentModels/{modelId}": { - "get": { - "summary": "Get document model", - "description": "Gets detailed document model information.", - "operationId": "GetDocumentModel", - "tags": [ - "Management" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/PathDocumentModelId" - }, - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/DocumentModelDetails" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDocumentModel_Prebuilt": { - "$ref": "./examples/GetDocumentModel_Prebuilt.json" - }, - "GetDocumentModel_Custom": { - "$ref": "./examples/GetDocumentModel_Custom.json" - } - } - }, - "delete": { - "summary": "Delete document model", - "description": "Deletes document model.", - "operationId": "DeleteDocumentModel", - "tags": [ - "Management" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/PathDocumentModelId" - }, - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "204": { - "description": "Deleting document model." - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDocumentModel": { - "$ref": "./examples/DeleteDocumentModel.json" - } - } - } - }, - "/info": { - "get": { - "summary": "Get resource info", - "description": "Return information about the current resource.", - "operationId": "GetResourceDetails", - "tags": [ - "Management" - ], - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/QueryApiVersion" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ResourceDetails" - } - }, - "default": { - "description": "Error encountered.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetResourceDetails": { - "$ref": "./examples/GetResourceDetails.json" - } - } - } - } - }, - "definitions": { - "AnalyzeDocumentRequest": { - "description": "Document analysis parameters.", - "type": "object", - "properties": { - "urlSource": { - "description": "Document URL to analyze", - "$ref": "#/definitions/UrlContentSource" - }, - "base64Source": { - "description": "Base64 encoding of the document to analyze", - "$ref": "#/definitions/Base64ContentSource" - } - } - }, - "BuildDocumentModelRequest": { - "description": "Request body to build a new custom document model.", - "type": "object", - "required": [ - "modelId", - "buildMode" - ], - "properties": { - "modelId": { - "$ref": "#/definitions/DocumentModelId" - }, - "description": { - "$ref": "#/definitions/DocumentModelDescription" - }, - "buildMode": { - "$ref": "#/definitions/DocumentBuildMode" - }, - "azureBlobSource": { - "description": "Azure Blob Storage location containing the training data.", - "$ref": "#/definitions/AzureBlobContentSource" - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ComposeDocumentModelRequest": { - "description": "Request body to create a composed document model from component document models.", - "type": "object", - "required": [ - "modelId", - "componentModels" - ], - "properties": { - "modelId": { - "$ref": "#/definitions/DocumentModelId" - }, - "description": { - "$ref": "#/definitions/DocumentModelDescription" - }, - "componentModels": { - "description": "List of component document models to compose.", - "type": "array", - "uniqueItems": true, - "items": { - "$ref": "#/definitions/ComponentDocumentModelDetails" - } - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ComponentDocumentModelDetails": { - "description": "A component of a composed document model.", - "type": "object", - "required": [ - "modelId" - ], - "properties": { - "modelId": { - "$ref": "#/definitions/DocumentModelId" - } - } - }, - "AuthorizeCopyRequest": { - "description": "Request body to authorize document model copy.", - "type": "object", - "required": [ - "modelId" - ], - "properties": { - "modelId": { - "$ref": "#/definitions/DocumentModelId" - }, - "description": { - "$ref": "#/definitions/DocumentModelDescription" - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "GetOperationsResponse": { - "description": "List Operations response object.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "description": "List of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationSummary" - } - }, - "nextLink": { - "description": "Link to the next page of operations.", - "type": "string" - } - } - }, - "OperationDetails": { - "description": "Get Operation response object.", - "type": "object", - "discriminator": "kind", - "required": [ - "operationId", - "status", - "createdDateTime", - "lastUpdatedDateTime", - "kind", - "resourceLocation" - ], - "properties": { - "operationId": { - "description": "Operation ID", - "type": "string" - }, - "status": { - "description": "Operation status.", - "type": "string", - "enum": [ - "notStarted", - "running", - "failed", - "succeeded", - "canceled" - ], - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "percentCompleted": { - "description": "Operation progress (0-100).", - "type": "integer", - "format": "int32", - "minimum": 0, - "maximum": 100 - }, - "createdDateTime": { - "description": "Date and time (UTC) when the operation was created.", - "type": "string", - "format": "date-time" - }, - "lastUpdatedDateTime": { - "description": "Date and time (UTC) when the status was last updated.", - "type": "string", - "format": "date-time" - }, - "kind": { - "description": "Type of operation.", - "type": "string" - }, - "resourceLocation": { - "description": "URL of the resource targeted by this operation.", - "type": "string" - }, - "apiVersion": { - "description": "API version used to create this operation.", - "type": "string" - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "error": { - "description": "Encountered error.", - "$ref": "#/definitions/Error" - } - } - }, - "DocumentModelBuildOperationDetails": { - "description": "Get Operation response object.", - "x-ms-discriminator-value": "documentModelBuild", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OperationDetails" - } - ], - "properties": { - "result": { - "description": "Operation result upon success.", - "$ref": "#/definitions/DocumentModelDetails" - } - } - }, - "DocumentModelComposeOperationDetails": { - "description": "Get Operation response object.", - "x-ms-discriminator-value": "documentModelCompose", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OperationDetails" - } - ], - "properties": { - "result": { - "description": "Operation result upon success.", - "$ref": "#/definitions/DocumentModelDetails" - } - } - }, - "DocumentModelCopyToOperationDetails": { - "description": "Get Operation response object.", - "x-ms-discriminator-value": "documentModelCopyTo", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OperationDetails" - } - ], - "properties": { - "result": { - "description": "Operation result upon success.", - "$ref": "#/definitions/DocumentModelDetails" - } - } - }, - "GetDocumentModelsResponse": { - "description": "List document models response object.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "description": "List of document models.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentModelSummary" - } - }, - "nextLink": { - "description": "Link to the next page of document models.", - "type": "string" - } - } - }, - "ResourceDetails": { - "description": "General information regarding the current resource.", - "type": "object", - "required": [ - "customDocumentModels" - ], - "properties": { - "customDocumentModels": { - "$ref": "#/definitions/CustomDocumentModelsDetails" - } - } - }, - "CustomDocumentModelsDetails": { - "description": "Details regarding custom document models.", - "type": "object", - "required": [ - "count", - "limit" - ], - "properties": { - "count": { - "description": "Number of custom document models in the current resource.", - "type": "integer", - "format": "int32" - }, - "limit": { - "description": "Maximum number of custom document models supported in the current resource.", - "type": "integer", - "format": "int32" - } - } - }, - "ApiVersion": { - "description": "API version.", - "type": "string", - "enum": [ - "2022-08-31" - ], - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - } - }, - "ErrorResponse": { - "description": "Error response object.", - "type": "object", - "required": [ - "error" - ], - "properties": { - "error": { - "$ref": "#/definitions/Error" - } - } - }, - "Error": { - "description": "Error info.", - "type": "object", - "required": [ - "code", - "message" - ], - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message.", - "type": "string" - }, - "target": { - "description": "Target of the error.", - "type": "string" - }, - "details": { - "description": "List of detailed errors.", - "type": "array", - "items": { - "$ref": "#/definitions/Error" - } - }, - "innererror": { - "$ref": "#/definitions/InnerError" - } - } - }, - "InnerError": { - "description": "Detailed error.", - "type": "object", - "required": [ - "code" - ], - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message.", - "type": "string" - }, - "innererror": { - "$ref": "#/definitions/InnerError" - } - } - }, - "UrlContentSource": { - "description": "Content at specified URL.", - "type": "string", - "format": "uri" - }, - "Base64ContentSource": { - "description": "Content represented via Base64 encoding.", - "type": "string", - "format": "byte" - }, - "AzureBlobContentSource": { - "description": "Azure Blob Storage content.", - "type": "object", - "required": [ - "containerUrl" - ], - "properties": { - "containerUrl": { - "description": "Azure Blob Storage container URL.", - "type": "string", - "format": "uri" - }, - "prefix": { - "description": "Blob name prefix.", - "type": "string" - } - } - }, - "CopyAuthorization": { - "description": "Authorization to copy a document model to the specified target resource and modelId.", - "type": "object", - "required": [ - "targetResourceId", - "targetResourceRegion", - "targetModelId", - "targetModelLocation", - "accessToken", - "expirationDateTime" - ], - "properties": { - "targetResourceId": { - "description": "ID of the target Azure resource where the document model should be copied to.", - "type": "string", - "x-ms-azure-resource": true - }, - "targetResourceRegion": { - "description": "Location of the target Azure resource where the document model should be copied to.", - "type": "string" - }, - "targetModelId": { - "description": "Identifier of the target document model.", - "$ref": "#/definitions/DocumentModelId" - }, - "targetModelLocation": { - "description": "URL of the copied document model in the target account.", - "type": "string" - }, - "accessToken": { - "description": "Token used to authorize the request.", - "type": "string" - }, - "expirationDateTime": { - "description": "Date/time when the access token expires.", - "type": "string", - "format": "date-time" - } - } - }, - "OperationSummary": { - "description": "Operation info.", - "type": "object", - "required": [ - "operationId", - "status", - "createdDateTime", - "lastUpdatedDateTime", - "kind", - "resourceLocation" - ], - "properties": { - "operationId": { - "description": "Operation ID", - "type": "string" - }, - "status": { - "description": "Operation status.", - "type": "string", - "enum": [ - "notStarted", - "running", - "failed", - "succeeded", - "canceled" - ], - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "percentCompleted": { - "description": "Operation progress (0-100).", - "type": "integer", - "format": "int32", - "minimum": 0, - "maximum": 100 - }, - "createdDateTime": { - "description": "Date and time (UTC) when the operation was created.", - "type": "string", - "format": "date-time" - }, - "lastUpdatedDateTime": { - "description": "Date and time (UTC) when the status was last updated.", - "type": "string", - "format": "date-time" - }, - "kind": { - "description": "Type of operation.", - "type": "string", - "enum": [ - "documentModelBuild", - "documentModelCompose", - "documentModelCopyTo" - ], - "x-ms-enum": { - "name": "OperationKind", - "modelAsString": true - } - }, - "resourceLocation": { - "description": "URL of the resource targeted by this operation.", - "type": "string" - }, - "apiVersion": { - "description": "API version used to create this operation.", - "type": "string" - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "DocumentModelSummary": { - "description": "Document model summary.", - "type": "object", - "required": [ - "modelId", - "createdDateTime" - ], - "properties": { - "modelId": { - "$ref": "#/definitions/DocumentModelId" - }, - "description": { - "$ref": "#/definitions/DocumentModelDescription" - }, - "createdDateTime": { - "description": "Date and time (UTC) when the document model was created.", - "type": "string", - "format": "date-time" - }, - "apiVersion": { - "description": "API version used to create this document model.", - "type": "string" - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "DocumentModelDetails": { - "description": "Document model info.", - "type": "object", - "required": [ - "modelId", - "createdDateTime" - ], - "properties": { - "modelId": { - "$ref": "#/definitions/DocumentModelId" - }, - "description": { - "$ref": "#/definitions/DocumentModelDescription" - }, - "createdDateTime": { - "description": "Date and time (UTC) when the document model was created.", - "type": "string", - "format": "date-time" - }, - "apiVersion": { - "description": "API version used to create this document model.", - "type": "string" - }, - "tags": { - "description": "List of key-value tag attributes associated with the document model.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "docTypes": { - "description": "Supported document types.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/DocumentTypeDetails" - } - } - } - }, - "DocumentTypeDetails": { - "description": "Document type info.", - "type": "object", - "required": [ - "fieldSchema" - ], - "properties": { - "description": { - "$ref": "#/definitions/DocumentModelDescription" - }, - "buildMode": { - "$ref": "#/definitions/DocumentBuildMode" - }, - "fieldSchema": { - "$ref": "#/definitions/DocTypeSchema" - }, - "fieldConfidence": { - "description": "Estimated confidence for each field.", - "type": "object", - "additionalProperties": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } - } - }, - "DocTypeSchema": { - "description": "Description of the document semantic schema using a JSON Schema style syntax.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/DocumentFieldSchema" - } - }, - "DocumentFieldSchema": { - "description": "Description of the field semantic schema using a JSON Schema style syntax.", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "$ref": "#/definitions/DocumentFieldType" - }, - "description": { - "description": "Field description.", - "type": "string" - }, - "example": { - "description": "Example field content.", - "type": "string" - }, - "items": { - "description": "Field type schema of each array element.", - "$ref": "#/definitions/DocumentFieldSchema" - }, - "properties": { - "description": "Named sub-fields of the object field.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/DocumentFieldSchema" - } - } - } - }, - "AnalyzeResultOperation": { - "description": "Status and result of the analyze operation.", - "type": "object", - "required": [ - "status", - "createdDateTime", - "lastUpdatedDateTime" - ], - "properties": { - "status": { - "description": "Operation status.", - "type": "string", - "enum": [ - "notStarted", - "running", - "failed", - "succeeded" - ], - "x-ms-enum": { - "name": "AnalyzeResultOperationStatus", - "modelAsString": false - } - }, - "createdDateTime": { - "description": "Date and time (UTC) when the analyze operation was submitted.", - "type": "string", - "format": "date-time" - }, - "lastUpdatedDateTime": { - "description": "Date and time (UTC) when the status was last updated.", - "type": "string", - "format": "date-time" - }, - "error": { - "description": "Encountered error during document analysis.", - "$ref": "#/definitions/Error" - }, - "analyzeResult": { - "$ref": "#/definitions/AnalyzeResult" - } - } - }, - "AnalyzeResult": { - "description": "Document analysis result.", - "type": "object", - "required": [ - "apiVersion", - "modelId", - "stringIndexType", - "content", - "pages" - ], - "properties": { - "apiVersion": { - "description": "API version used to produce this result.", - "$ref": "#/definitions/ApiVersion" - }, - "modelId": { - "description": "Document model ID used to produce this result.", - "$ref": "#/definitions/DocumentModelId" - }, - "stringIndexType": { - "description": "Method used to compute string offset and length.", - "$ref": "#/definitions/StringIndexType" - }, - "content": { - "description": "Concatenate string representation of all textual and visual elements in reading order.", - "type": "string" - }, - "pages": { - "description": "Analyzed pages.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentPage" - } - }, - "paragraphs": { - "description": "Extracted paragraphs.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentParagraph" - } - }, - "tables": { - "description": "Extracted tables.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentTable" - } - }, - "keyValuePairs": { - "description": "Extracted key-value pairs.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentKeyValuePair" - } - }, - "styles": { - "description": "Extracted font styles.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentStyle" - } - }, - "languages": { - "description": "Detected languages.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentLanguage" - } - }, - "documents": { - "description": "Extracted documents.", - "type": "array", - "items": { - "$ref": "#/definitions/Document" - } - } - } - }, - "DocumentPage": { - "description": "Content and layout elements extracted from a page from the input.", - "type": "object", - "required": [ - "pageNumber", - "spans" - ], - "properties": { - "pageNumber": { - "description": "1-based page number in the input document.", - "type": "integer", - "format": "int32", - "minimum": 1 - }, - "angle": { - "description": "The general orientation of the content in clockwise direction, measured in degrees between (-180, 180].", - "type": "number", - "minimum": -180, - "maximum": 180, - "exclusiveMinimum": true - }, - "width": { - "description": "The width of the image/PDF in pixels/inches, respectively.", - "type": "number", - "minimum": 0 - }, - "height": { - "description": "The height of the image/PDF in pixels/inches, respectively.", - "type": "number", - "minimum": 0 - }, - "unit": { - "description": "The unit used by the width, height, and polygon properties. For images, the unit is \"pixel\". For PDF, the unit is \"inch\".", - "type": "string", - "enum": [ - "pixel", - "inch" - ], - "x-ms-enum": { - "name": "LengthUnit", - "modelAsString": true - } - }, - "spans": { - "description": "Location of the page in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - }, - "words": { - "description": "Extracted words from the page.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentWord" - } - }, - "selectionMarks": { - "description": "Extracted selection marks from the page.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSelectionMark" - } - }, - "lines": { - "description": "Extracted lines from the page, potentially containing both textual and visual elements.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentLine" - } - } - } - }, - "DocumentWord": { - "description": "A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.", - "type": "object", - "required": [ - "content", - "span", - "confidence" - ], - "properties": { - "content": { - "description": "Text content of the word.", - "type": "string" - }, - "polygon": { - "description": "Bounding polygon of the word.", - "$ref": "#/definitions/BoundingPolygon" - }, - "span": { - "description": "Location of the word in the reading order concatenated content.", - "$ref": "#/definitions/DocumentSpan" - }, - "confidence": { - "description": "Confidence of correctly extracting the word.", - "$ref": "#/definitions/Confidence" - } - } - }, - "DocumentSelectionMark": { - "description": "A selection mark object representing check boxes, radio buttons, and other elements indicating a selection.", - "type": "object", - "required": [ - "state", - "span", - "confidence" - ], - "properties": { - "state": { - "description": "State of the selection mark.", - "$ref": "#/definitions/DocumentSelectionMarkState" - }, - "polygon": { - "description": "Bounding polygon of the selection mark.", - "$ref": "#/definitions/BoundingPolygon" - }, - "span": { - "description": "Location of the selection mark in the reading order concatenated content.", - "$ref": "#/definitions/DocumentSpan" - }, - "confidence": { - "description": "Confidence of correctly extracting the selection mark.", - "$ref": "#/definitions/Confidence" - } - } - }, - "DocumentSelectionMarkState": { - "description": "State of the selection mark.", - "type": "string", - "enum": [ - "selected", - "unselected" - ], - "x-ms-enum": { - "name": "SelectionMarkState", - "modelAsString": true - } - }, - "DocumentLine": { - "description": "A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.", - "type": "object", - "required": [ - "content", - "spans" - ], - "properties": { - "content": { - "description": "Concatenated content of the contained elements in reading order.", - "type": "string" - }, - "polygon": { - "description": "Bounding polygon of the line.", - "$ref": "#/definitions/BoundingPolygon" - }, - "spans": { - "description": "Location of the line in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - } - } - }, - "DocumentParagraph": { - "description": "A paragraph object consisting with contiguous lines generally with common alignment and spacing.", - "type": "object", - "required": [ - "content", - "spans" - ], - "properties": { - "role": { - "description": "Semantic role of the paragraph.", - "type": "string", - "enum": [ - "pageHeader", - "pageFooter", - "pageNumber", - "title", - "sectionHeading", - "footnote" - ], - "x-ms-enum": { - "name": "ParagraphRole", - "modelAsString": true - } - }, - "content": { - "description": "Concatenated content of the paragraph in reading order.", - "type": "string" - }, - "boundingRegions": { - "description": "Bounding regions covering the paragraph.", - "type": "array", - "items": { - "$ref": "#/definitions/BoundingRegion" - } - }, - "spans": { - "description": "Location of the paragraph in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - } - } - }, - "DocumentTable": { - "description": "A table object consisting table cells arranged in a rectangular layout.", - "type": "object", - "required": [ - "rowCount", - "columnCount", - "cells", - "spans" - ], - "properties": { - "rowCount": { - "description": "Number of rows in the table.", - "type": "integer", - "format": "int32", - "minimum": 1 - }, - "columnCount": { - "description": "Number of columns in the table.", - "type": "integer", - "format": "int32", - "minimum": 1 - }, - "cells": { - "description": "Cells contained within the table.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentTableCell" - } - }, - "boundingRegions": { - "description": "Bounding regions covering the table.", - "type": "array", - "items": { - "$ref": "#/definitions/BoundingRegion" - } - }, - "spans": { - "description": "Location of the table in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - } - } - }, - "DocumentTableCell": { - "description": "An object representing the location and content of a table cell.", - "type": "object", - "required": [ - "rowIndex", - "columnIndex", - "content", - "spans" - ], - "properties": { - "kind": { - "description": "Table cell kind.", - "type": "string", - "enum": [ - "content", - "rowHeader", - "columnHeader", - "stubHead", - "description" - ], - "default": "content", - "x-ms-enum": { - "name": "DocumentTableCellKind", - "modelAsString": true - } - }, - "rowIndex": { - "description": "Row index of the cell.", - "type": "integer", - "format": "int32" - }, - "columnIndex": { - "description": "Column index of the cell.", - "type": "integer", - "format": "int32" - }, - "rowSpan": { - "description": "Number of rows spanned by this cell.", - "type": "integer", - "format": "int32", - "minimum": 1, - "default": 1 - }, - "columnSpan": { - "description": "Number of columns spanned by this cell.", - "type": "integer", - "format": "int32", - "minimum": 1, - "default": 1 - }, - "content": { - "description": "Concatenated content of the table cell in reading order.", - "type": "string" - }, - "boundingRegions": { - "description": "Bounding regions covering the table cell.", - "type": "array", - "items": { - "$ref": "#/definitions/BoundingRegion" - } - }, - "spans": { - "description": "Location of the table cell in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - } - } - }, - "DocumentKeyValuePair": { - "description": "An object representing a form field with distinct field label (key) and field value (may be empty).", - "type": "object", - "required": [ - "key", - "confidence" - ], - "properties": { - "key": { - "description": "Field label of the key-value pair.", - "$ref": "#/definitions/DocumentKeyValueElement" - }, - "value": { - "description": "Field value of the key-value pair.", - "$ref": "#/definitions/DocumentKeyValueElement" - }, - "confidence": { - "description": "Confidence of correctly extracting the key-value pair.", - "$ref": "#/definitions/Confidence" - } - } - }, - "DocumentKeyValueElement": { - "description": "An object representing the field key or value in a key-value pair.", - "type": "object", - "required": [ - "content", - "spans" - ], - "properties": { - "content": { - "description": "Concatenated content of the key-value element in reading order.", - "type": "string" - }, - "boundingRegions": { - "description": "Bounding regions covering the key-value element.", - "type": "array", - "items": { - "$ref": "#/definitions/BoundingRegion" - } - }, - "spans": { - "description": "Location of the key-value element in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - } - } - }, - "DocumentStyle": { - "description": "An object representing observed text styles.", - "type": "object", - "required": [ - "spans", - "confidence" - ], - "properties": { - "isHandwritten": { - "description": "Is content handwritten?", - "type": "boolean" - }, - "spans": { - "description": "Location of the text elements in the concatenated content the style applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - }, - "confidence": { - "description": "Confidence of correctly identifying the style.", - "$ref": "#/definitions/Confidence" - } - } - }, - "DocumentLanguage": { - "description": "An object representing the detected language for a given text span.", - "type": "object", - "required": [ - "locale", - "spans", - "confidence" - ], - "properties": { - "locale": { - "description": "Detected language. Value may an ISO 639-1 language code (ex. \"en\", \"fr\") or BCP 47 language tag (ex. \"zh-Hans\").", - "type": "string" - }, - "spans": { - "description": "Location of the text elements in the concatenated content the language applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - }, - "confidence": { - "description": "Confidence of correctly identifying the language.", - "$ref": "#/definitions/Confidence" - } - } - }, - "Document": { - "description": "An object describing the location and semantic content of a document.", - "type": "object", - "required": [ - "docType", - "spans", - "confidence" - ], - "properties": { - "docType": { - "description": "Document type.", - "$ref": "#/definitions/DocType" - }, - "boundingRegions": { - "description": "Bounding regions covering the document.", - "type": "array", - "items": { - "$ref": "#/definitions/BoundingRegion" - } - }, - "spans": { - "description": "Location of the document in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - }, - "fields": { - "description": "Dictionary of named field values.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/DocumentField" - } - }, - "confidence": { - "description": "Confidence of correctly extracting the document.", - "$ref": "#/definitions/Confidence" - } - } - }, - "DocumentField": { - "description": "An object representing the content and location of a field value.", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "description": "Data type of the field value.", - "$ref": "#/definitions/DocumentFieldType" - }, - "valueString": { - "description": "String value.", - "type": "string" - }, - "valueDate": { - "description": "Date value in YYYY-MM-DD format (ISO 8601).", - "type": "string", - "format": "date" - }, - "valueTime": { - "description": "Time value in hh:mm:ss format (ISO 8601).", - "type": "string", - "format": "time" - }, - "valuePhoneNumber": { - "description": "Phone number value in E.164 format (ex. +19876543210).", - "type": "string" - }, - "valueNumber": { - "description": "Floating point value.", - "type": "number" - }, - "valueInteger": { - "description": "Integer value.", - "type": "integer", - "format": "int64" - }, - "valueSelectionMark": { - "description": "Selection mark value.", - "$ref": "#/definitions/DocumentSelectionMarkState" - }, - "valueSignature": { - "description": "Presence of signature.", - "type": "string", - "enum": [ - "signed", - "unsigned" - ], - "x-ms-enum": { - "name": "DocumentSignatureType", - "modelAsString": true - } - }, - "valueCountryRegion": { - "description": "3-letter country code value (ISO 3166-1 alpha-3).", - "type": "string" - }, - "valueArray": { - "description": "Array of field values.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentField" - } - }, - "valueObject": { - "description": "Dictionary of named field values.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/DocumentField" - } - }, - "valueCurrency": { - "description": "Currency value.", - "$ref": "#/definitions/CurrencyValue" - }, - "valueAddress": { - "description": "Address value.", - "$ref": "#/definitions/AddressValue" - }, - "content": { - "description": "Field content.", - "type": "string" - }, - "boundingRegions": { - "description": "Bounding regions covering the field.", - "type": "array", - "items": { - "$ref": "#/definitions/BoundingRegion" - } - }, - "spans": { - "description": "Location of the field in the reading order concatenated content.", - "type": "array", - "items": { - "$ref": "#/definitions/DocumentSpan" - } - }, - "confidence": { - "description": "Confidence of correctly extracting the field.", - "$ref": "#/definitions/Confidence" - } - } - }, - "DocumentFieldType": { - "description": "Semantic data type of the field value.", - "type": "string", - "enum": [ - "string", - "date", - "time", - "phoneNumber", - "number", - "integer", - "selectionMark", - "countryRegion", - "signature", - "array", - "object", - "currency", - "address" - ], - "x-ms-enum": { - "name": "DocumentFieldType", - "modelAsString": true - } - }, - "CurrencyValue": { - "description": "Currency field value.", - "type": "object", - "required": [ - "amount" - ], - "properties": { - "amount": { - "description": "Currency amount.", - "type": "number", - "format": "double" - }, - "currencySymbol": { - "description": "Currency symbol label, if any.", - "type": "string" - } - } - }, - "AddressValue": { - "description": "Address field value.", - "type": "object", - "properties": { - "houseNumber": { - "description": "House or building number.", - "type": "string" - }, - "poBox": { - "description": "Post office box number.", - "type": "string" - }, - "road": { - "description": "Street name.", - "type": "string" - }, - "city": { - "description": "Name of city, town, village, etc.", - "type": "string" - }, - "state": { - "description": "First-level administrative division.", - "type": "string" - }, - "postalCode": { - "description": "Postal code used for mail sorting.", - "type": "string" - }, - "countryRegion": { - "description": "Country/region.", - "type": "string" - }, - "streetAddress": { - "description": "Street-level address, excluding city, state, countryRegion, and postalCode.", - "type": "string" - } - } - }, - "DocumentModelId": { - "description": "Unique document model name.", - "type": "string", - "pattern": "[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}" - }, - "DocumentModelDescription": { - "description": "Document model description.", - "type": "string", - "maxLength": 4096 - }, - "DocumentBuildMode": { - "description": "Custom document model build mode.", - "type": "string", - "enum": [ - "template", - "neural" - ], - "x-ms-enum": { - "name": "DocumentBuildMode", - "modelAsString": true - } - }, - "DocType": { - "description": "Document type name.", - "type": "string", - "minLength": 2, - "maxLength": 64 - }, - "BoundingPolygon": { - "description": "Bounding polygon, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.", - "type": "array", - "items": { - "type": "number", - "minimum": 0 - } - }, - "BoundingRegion": { - "description": "Bounding polygon on a specific page of the input.", - "type": "object", - "required": [ - "pageNumber", - "polygon" - ], - "properties": { - "pageNumber": { - "description": "1-based page number of page containing the bounding region.", - "type": "integer", - "format": "int32", - "minimum": 1 - }, - "polygon": { - "description": "Bounding polygon on the page, or the entire page if not specified.", - "$ref": "#/definitions/BoundingPolygon" - } - } - }, - "Confidence": { - "description": "Prediction confidence.", - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "DocumentSpan": { - "description": "Contiguous region of the concatenated content property, specified as an offset and length.", - "type": "object", - "required": [ - "offset", - "length" - ], - "properties": { - "offset": { - "description": "Zero-based index of the content represented by the span.", - "type": "integer", - "format": "int32", - "minimum": 0 - }, - "length": { - "description": "Number of characters in the content represented by the span.", - "type": "integer", - "format": "int32", - "minimum": 0 - } - } - }, - "StringIndexType": { - "description": "Method used to compute string offset and length.", - "type": "string", - "enum": [ - "textElements", - "unicodeCodePoint", - "utf16CodeUnit" - ], - "x-ms-enum": { - "name": "StringIndexType", - "modelAsString": true - }, - "default": "textElements" - } - }, - "parameters": { - "Endpoint": { - "name": "endpoint", - "description": "Supported Cognitive Services endpoints (protocol and hostname, for\nexample: https://westus2.api.cognitive.microsoft.com).", - "x-ms-parameter-location": "client", - "required": true, - "type": "string", - "in": "path", - "x-ms-skip-url-encoding": true - }, - "QueryApiVersion": { - "name": "api-version", - "description": "Requested API version.", - "required": true, - "type": "string", - "in": "query", - "enum": [ - "2022-08-31" - ], - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - }, - "x-ms-parameter-location": "client" - }, - "PathDocumentModelId": { - "name": "modelId", - "description": "Unique document model name.", - "required": true, - "type": "string", - "pattern": "[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}", - "in": "path", - "x-ms-parameter-location": "method" - }, - "PathOperationId": { - "name": "operationId", - "description": "Unique operation ID.", - "required": true, - "type": "string", - "in": "path", - "x-ms-parameter-location": "method" - }, - "PathResultId": { - "name": "resultId", - "description": "Analyze operation result ID.", - "required": true, - "type": "string", - "in": "path", - "x-ms-parameter-location": "method" - }, - "QueryPages": { - "name": "pages", - "description": "List of 1-based page numbers to analyze. Ex. \"1-3,5,7-9\"", - "required": false, - "type": "string", - "in": "query", - "pattern": "^(\\d+(-\\d+)?)(,\\s*(\\d+(-\\d+)?))*$", - "x-ms-parameter-location": "method" - }, - "QueryLocale": { - "name": "locale", - "description": "Locale hint for text recognition and document analysis. Value may contain only the language code (ex. \"en\", \"fr\") or BCP 47 language tag (ex. \"en-US\").", - "required": false, - "type": "string", - "in": "query", - "x-ms-parameter-location": "method" - }, - "QueryStringIndexType": { - "name": "stringIndexType", - "description": "Method used to compute string offset and length.", - "required": false, - "in": "query", - "type": "string", - "enum": [ - "textElements", - "unicodeCodePoint", - "utf16CodeUnit" - ], - "x-ms-enum": { - "name": "StringIndexType", - "modelAsString": true - }, - "default": "textElements", - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "title": "Form Recognizer Client", + "description": "Extracts content, layout, and structured data from documents.", + "version": "2022-08-31" + }, + "securityDefinitions": { + "apim_key": { + "type": "apiKey", + "name": "Ocp-Apim-Subscription-Key", + "in": "header" + } + }, + "security": [ + { + "apim_key": [] + } + ], + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}/formrecognizer", + "useSchemePrefix": false, + "parameters": [ + { + "$ref": "#/parameters/Endpoint" + } + ] + }, + "schemes": [ + "https" + ], + "paths": { + "/documentModels/{modelId}:analyze": { + "post": { + "summary": "Analyze document", + "description": "Analyzes document with document model.", + "operationId": "AnalyzeDocument", + "tags": [ + "Analysis" + ], + "consumes": [ + "application/json", + "application/octet-stream", + "application/pdf", + "image/jpeg", + "image/png", + "image/tiff", + "image/bmp", + "image/heif" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/PathDocumentModelId" + }, + { + "$ref": "#/parameters/QueryPages" + }, + { + "$ref": "#/parameters/QueryLocale" + }, + { + "$ref": "#/parameters/QueryStringIndexType" + }, + { + "$ref": "#/parameters/QueryApiVersion" + }, + { + "name": "analyzeRequest", + "description": "Analyze request parameters.", + "required": false, + "in": "body", + "schema": { + "$ref": "#/definitions/AnalyzeDocumentRequest" + } + } + ], + "responses": { + "202": { + "description": "Request is queued successfully.", + "headers": { + "Operation-Location": { + "type": "string", + "description": "URL used to track the progress and obtain the result of the analyze operation." + } + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "AnalyzeDocument_Url": { + "$ref": "./examples/AnalyzeDocument_Url.json" + }, + "AnalyzeDocument_Base64": { + "$ref": "./examples/AnalyzeDocument_Base64.json" + } + } + } + }, + "/documentModels/{modelId}/analyzeResults/{resultId}": { + "get": { + "summary": "Get analyze result", + "description": "Gets the result of document analysis.", + "operationId": "GetAnalyzeDocumentResult", + "tags": [ + "Analysis" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/PathDocumentModelId" + }, + { + "$ref": "#/parameters/PathResultId" + }, + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/AnalyzeResultOperation" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetAnalyzeDocumentResult": { + "$ref": "./examples/GetAnalyzeDocumentResult.json" + } + } + } + }, + "/documentModels:build": { + "post": { + "summary": "Build document model", + "description": "Builds a custom document analysis model.", + "operationId": "BuildDocumentModel", + "tags": [ + "Creation" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/QueryApiVersion" + }, + { + "name": "buildRequest", + "description": "Building request parameters.", + "required": true, + "in": "body", + "schema": { + "$ref": "#/definitions/BuildDocumentModelRequest" + } + } + ], + "responses": { + "202": { + "description": "Request is queued successfully.", + "headers": { + "Operation-Location": { + "type": "string", + "description": "Operation result URL." + } + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "BuildDocumentModel": { + "$ref": "./examples/BuildDocumentModel.json" + } + } + } + }, + "/documentModels:compose": { + "post": { + "summary": "Compose document model", + "description": "Creates a new document model from document types of existing document models.", + "operationId": "ComposeDocumentModel", + "tags": [ + "Creation" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/QueryApiVersion" + }, + { + "name": "composeRequest", + "description": "Compose request parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ComposeDocumentModelRequest" + } + } + ], + "responses": { + "202": { + "description": "Request is queued successfully.", + "headers": { + "Operation-Location": { + "type": "string", + "description": "Operation result URL." + } + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ComposeDocumentModel": { + "$ref": "./examples/ComposeDocumentModel.json" + } + } + } + }, + "/documentModels:authorizeCopy": { + "post": { + "summary": "Generate copy authorization", + "description": "Generates authorization to copy a document model to this location with specified modelId and optional description.", + "operationId": "AuthorizeCopyDocumentModel", + "tags": [ + "Creation" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/QueryApiVersion" + }, + { + "name": "authorizeCopyRequest", + "description": "Authorize copy request parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizeCopyRequest" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/CopyAuthorization" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AuthorizeCopyDocumentModel": { + "$ref": "./examples/AuthorizeCopyDocumentModel.json" + } + } + } + }, + "/documentModels/{modelId}:copyTo": { + "post": { + "summary": "Copy document model", + "description": "Copies document model to the target resource, region, and modelId.", + "operationId": "CopyDocumentModelTo", + "tags": [ + "Creation" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/PathDocumentModelId" + }, + { + "$ref": "#/parameters/QueryApiVersion" + }, + { + "name": "copyToRequest", + "description": "Copy to request parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CopyAuthorization" + } + } + ], + "responses": { + "202": { + "description": "Request is queued successfully.", + "headers": { + "Operation-Location": { + "type": "string", + "description": "Operation result URL." + } + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "CopyDocumentModelTo": { + "$ref": "./examples/CopyDocumentModelTo.json" + } + } + } + }, + "/operations": { + "get": { + "summary": "List operations", + "description": "Lists all operations.", + "operationId": "GetOperations", + "tags": [ + "Operation" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GetOperationsResponse" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "value" + }, + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" + } + } + } + }, + "/operations/{operationId}": { + "get": { + "summary": "Get operation", + "description": "Gets operation info.", + "operationId": "GetOperation", + "tags": [ + "Operation" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/PathOperationId" + }, + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/OperationDetails" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetOperation": { + "$ref": "./examples/GetOperation.json" + } + } + } + }, + "/documentModels": { + "get": { + "summary": "List document models", + "description": "List all document models", + "operationId": "GetDocumentModels", + "tags": [ + "Management" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GetDocumentModelsResponse" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "value" + }, + "x-ms-examples": { + "GetDocumentModels": { + "$ref": "./examples/GetDocumentModels.json" + } + } + } + }, + "/documentModels/{modelId}": { + "get": { + "summary": "Get document model", + "description": "Gets detailed document model information.", + "operationId": "GetDocumentModel", + "tags": [ + "Management" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/PathDocumentModelId" + }, + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/DocumentModelDetails" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDocumentModel_Prebuilt": { + "$ref": "./examples/GetDocumentModel_Prebuilt.json" + }, + "GetDocumentModel_Custom": { + "$ref": "./examples/GetDocumentModel_Custom.json" + } + } + }, + "delete": { + "summary": "Delete document model", + "description": "Deletes document model.", + "operationId": "DeleteDocumentModel", + "tags": [ + "Management" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/PathDocumentModelId" + }, + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "204": { + "description": "Deleting document model." + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDocumentModel": { + "$ref": "./examples/DeleteDocumentModel.json" + } + } + } + }, + "/info": { + "get": { + "summary": "Get resource info", + "description": "Return information about the current resource.", + "operationId": "GetResourceDetails", + "tags": [ + "Management" + ], + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/QueryApiVersion" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/ResourceDetails" + } + }, + "default": { + "description": "Error encountered.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetResourceDetails": { + "$ref": "./examples/GetResourceDetails.json" + } + } + } + } + }, + "definitions": { + "AnalyzeDocumentRequest": { + "description": "Document analysis parameters.", + "type": "object", + "properties": { + "urlSource": { + "description": "Document URL to analyze", + "$ref": "#/definitions/UrlContentSource" + }, + "base64Source": { + "description": "Base64 encoding of the document to analyze", + "$ref": "#/definitions/Base64ContentSource" + } + } + }, + "BuildDocumentModelRequest": { + "description": "Request body to build a new custom document model.", + "type": "object", + "required": [ + "modelId", + "buildMode" + ], + "properties": { + "modelId": { + "$ref": "#/definitions/DocumentModelId" + }, + "description": { + "$ref": "#/definitions/DocumentModelDescription" + }, + "buildMode": { + "$ref": "#/definitions/DocumentBuildMode" + }, + "azureBlobSource": { + "description": "Azure Blob Storage location containing the training data.", + "$ref": "#/definitions/AzureBlobContentSource" + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ComposeDocumentModelRequest": { + "description": "Request body to create a composed document model from component document models.", + "type": "object", + "required": [ + "modelId", + "componentModels" + ], + "properties": { + "modelId": { + "$ref": "#/definitions/DocumentModelId" + }, + "description": { + "$ref": "#/definitions/DocumentModelDescription" + }, + "componentModels": { + "description": "List of component document models to compose.", + "type": "array", + "uniqueItems": true, + "items": { + "$ref": "#/definitions/ComponentDocumentModelDetails" + } + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ComponentDocumentModelDetails": { + "description": "A component of a composed document model.", + "type": "object", + "required": [ + "modelId" + ], + "properties": { + "modelId": { + "$ref": "#/definitions/DocumentModelId" + } + } + }, + "AuthorizeCopyRequest": { + "description": "Request body to authorize document model copy.", + "type": "object", + "required": [ + "modelId" + ], + "properties": { + "modelId": { + "$ref": "#/definitions/DocumentModelId" + }, + "description": { + "$ref": "#/definitions/DocumentModelDescription" + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "GetOperationsResponse": { + "description": "List Operations response object.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "description": "List of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationSummary" + } + }, + "nextLink": { + "description": "Link to the next page of operations.", + "type": "string" + } + } + }, + "OperationDetails": { + "description": "Get Operation response object.", + "type": "object", + "discriminator": "kind", + "required": [ + "operationId", + "status", + "createdDateTime", + "lastUpdatedDateTime", + "kind", + "resourceLocation" + ], + "properties": { + "operationId": { + "description": "Operation ID", + "type": "string" + }, + "status": { + "description": "Operation status.", + "type": "string", + "enum": [ + "notStarted", + "running", + "failed", + "succeeded", + "canceled" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "percentCompleted": { + "description": "Operation progress (0-100).", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 100 + }, + "createdDateTime": { + "description": "Date and time (UTC) when the operation was created.", + "type": "string", + "format": "date-time" + }, + "lastUpdatedDateTime": { + "description": "Date and time (UTC) when the status was last updated.", + "type": "string", + "format": "date-time" + }, + "kind": { + "description": "Type of operation.", + "type": "string" + }, + "resourceLocation": { + "description": "URL of the resource targeted by this operation.", + "type": "string" + }, + "apiVersion": { + "description": "API version used to create this operation.", + "type": "string" + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "error": { + "description": "Encountered error.", + "$ref": "#/definitions/Error" + } + } + }, + "DocumentModelBuildOperationDetails": { + "description": "Get Operation response object.", + "x-ms-discriminator-value": "documentModelBuild", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OperationDetails" + } + ], + "properties": { + "result": { + "description": "Operation result upon success.", + "$ref": "#/definitions/DocumentModelDetails" + } + } + }, + "DocumentModelComposeOperationDetails": { + "description": "Get Operation response object.", + "x-ms-discriminator-value": "documentModelCompose", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OperationDetails" + } + ], + "properties": { + "result": { + "description": "Operation result upon success.", + "$ref": "#/definitions/DocumentModelDetails" + } + } + }, + "DocumentModelCopyToOperationDetails": { + "description": "Get Operation response object.", + "x-ms-discriminator-value": "documentModelCopyTo", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OperationDetails" + } + ], + "properties": { + "result": { + "description": "Operation result upon success.", + "$ref": "#/definitions/DocumentModelDetails" + } + } + }, + "GetDocumentModelsResponse": { + "description": "List document models response object.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "description": "List of document models.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentModelSummary" + } + }, + "nextLink": { + "description": "Link to the next page of document models.", + "type": "string" + } + } + }, + "ResourceDetails": { + "description": "General information regarding the current resource.", + "type": "object", + "required": [ + "customDocumentModels" + ], + "properties": { + "customDocumentModels": { + "$ref": "#/definitions/CustomDocumentModelsDetails" + } + } + }, + "CustomDocumentModelsDetails": { + "description": "Details regarding custom document models.", + "type": "object", + "required": [ + "count", + "limit" + ], + "properties": { + "count": { + "description": "Number of custom document models in the current resource.", + "type": "integer", + "format": "int32" + }, + "limit": { + "description": "Maximum number of custom document models supported in the current resource.", + "type": "integer", + "format": "int32" + } + } + }, + "ApiVersion": { + "description": "API version.", + "type": "string", + "enum": [ + "2022-08-31" + ], + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "ErrorResponse": { + "description": "Error response object.", + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "$ref": "#/definitions/Error" + } + } + }, + "Error": { + "description": "Error info.", + "type": "object", + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message.", + "type": "string" + }, + "target": { + "description": "Target of the error.", + "type": "string" + }, + "details": { + "description": "List of detailed errors.", + "type": "array", + "items": { + "$ref": "#/definitions/Error" + } + }, + "innererror": { + "$ref": "#/definitions/InnerError" + } + } + }, + "InnerError": { + "description": "Detailed error.", + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message.", + "type": "string" + }, + "innererror": { + "$ref": "#/definitions/InnerError" + } + } + }, + "UrlContentSource": { + "description": "Content at specified URL.", + "type": "string", + "format": "uri" + }, + "Base64ContentSource": { + "description": "Content represented via Base64 encoding.", + "type": "string", + "format": "byte" + }, + "AzureBlobContentSource": { + "description": "Azure Blob Storage content.", + "type": "object", + "required": [ + "containerUrl" + ], + "properties": { + "containerUrl": { + "description": "Azure Blob Storage container URL.", + "type": "string", + "format": "uri" + }, + "prefix": { + "description": "Blob name prefix.", + "type": "string" + } + } + }, + "CopyAuthorization": { + "description": "Authorization to copy a document model to the specified target resource and modelId.", + "type": "object", + "required": [ + "targetResourceId", + "targetResourceRegion", + "targetModelId", + "targetModelLocation", + "accessToken", + "expirationDateTime" + ], + "properties": { + "targetResourceId": { + "description": "ID of the target Azure resource where the document model should be copied to.", + "type": "string", + "x-ms-azure-resource": true + }, + "targetResourceRegion": { + "description": "Location of the target Azure resource where the document model should be copied to.", + "type": "string" + }, + "targetModelId": { + "description": "Identifier of the target document model.", + "$ref": "#/definitions/DocumentModelId" + }, + "targetModelLocation": { + "description": "URL of the copied document model in the target account.", + "type": "string" + }, + "accessToken": { + "description": "Token used to authorize the request.", + "type": "string" + }, + "expirationDateTime": { + "description": "Date/time when the access token expires.", + "type": "string", + "format": "date-time" + } + } + }, + "OperationSummary": { + "description": "Operation info.", + "type": "object", + "required": [ + "operationId", + "status", + "createdDateTime", + "lastUpdatedDateTime", + "kind", + "resourceLocation" + ], + "properties": { + "operationId": { + "description": "Operation ID", + "type": "string" + }, + "status": { + "description": "Operation status.", + "type": "string", + "enum": [ + "notStarted", + "running", + "failed", + "succeeded", + "canceled" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "percentCompleted": { + "description": "Operation progress (0-100).", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 100 + }, + "createdDateTime": { + "description": "Date and time (UTC) when the operation was created.", + "type": "string", + "format": "date-time" + }, + "lastUpdatedDateTime": { + "description": "Date and time (UTC) when the status was last updated.", + "type": "string", + "format": "date-time" + }, + "kind": { + "description": "Type of operation.", + "type": "string", + "enum": [ + "documentModelBuild", + "documentModelCompose", + "documentModelCopyTo" + ], + "x-ms-enum": { + "name": "OperationKind", + "modelAsString": true + } + }, + "resourceLocation": { + "description": "URL of the resource targeted by this operation.", + "type": "string" + }, + "apiVersion": { + "description": "API version used to create this operation.", + "type": "string" + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "DocumentModelSummary": { + "description": "Document model summary.", + "type": "object", + "required": [ + "modelId", + "createdDateTime" + ], + "properties": { + "modelId": { + "$ref": "#/definitions/DocumentModelId" + }, + "description": { + "$ref": "#/definitions/DocumentModelDescription" + }, + "createdDateTime": { + "description": "Date and time (UTC) when the document model was created.", + "type": "string", + "format": "date-time" + }, + "apiVersion": { + "description": "API version used to create this document model.", + "type": "string" + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "DocumentModelDetails": { + "description": "Document model info.", + "type": "object", + "required": [ + "modelId", + "createdDateTime" + ], + "properties": { + "modelId": { + "$ref": "#/definitions/DocumentModelId" + }, + "description": { + "$ref": "#/definitions/DocumentModelDescription" + }, + "createdDateTime": { + "description": "Date and time (UTC) when the document model was created.", + "type": "string", + "format": "date-time" + }, + "apiVersion": { + "description": "API version used to create this document model.", + "type": "string" + }, + "tags": { + "description": "List of key-value tag attributes associated with the document model.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docTypes": { + "description": "Supported document types.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DocumentTypeDetails" + } + } + } + }, + "DocumentTypeDetails": { + "description": "Document type info.", + "type": "object", + "required": [ + "fieldSchema" + ], + "properties": { + "description": { + "$ref": "#/definitions/DocumentModelDescription" + }, + "buildMode": { + "$ref": "#/definitions/DocumentBuildMode" + }, + "fieldSchema": { + "$ref": "#/definitions/DocTypeSchema" + }, + "fieldConfidence": { + "description": "Estimated confidence for each field.", + "type": "object", + "additionalProperties": { + "type": "number", + "minimum": 0, + "maximum": 1 + } + } + } + }, + "DocTypeSchema": { + "description": "Description of the document semantic schema using a JSON Schema style syntax.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DocumentFieldSchema" + } + }, + "DocumentFieldSchema": { + "description": "Description of the field semantic schema using a JSON Schema style syntax.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "$ref": "#/definitions/DocumentFieldType" + }, + "description": { + "description": "Field description.", + "type": "string" + }, + "example": { + "description": "Example field content.", + "type": "string" + }, + "items": { + "description": "Field type schema of each array element.", + "$ref": "#/definitions/DocumentFieldSchema" + }, + "properties": { + "description": "Named sub-fields of the object field.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DocumentFieldSchema" + } + } + } + }, + "AnalyzeResultOperation": { + "description": "Status and result of the analyze operation.", + "type": "object", + "required": [ + "status", + "createdDateTime", + "lastUpdatedDateTime" + ], + "properties": { + "status": { + "description": "Operation status.", + "type": "string", + "enum": [ + "notStarted", + "running", + "failed", + "succeeded" + ], + "x-ms-enum": { + "name": "AnalyzeResultOperationStatus", + "modelAsString": false + } + }, + "createdDateTime": { + "description": "Date and time (UTC) when the analyze operation was submitted.", + "type": "string", + "format": "date-time" + }, + "lastUpdatedDateTime": { + "description": "Date and time (UTC) when the status was last updated.", + "type": "string", + "format": "date-time" + }, + "error": { + "description": "Encountered error during document analysis.", + "$ref": "#/definitions/Error" + }, + "analyzeResult": { + "$ref": "#/definitions/AnalyzeResult" + } + } + }, + "AnalyzeResult": { + "description": "Document analysis result.", + "type": "object", + "required": [ + "apiVersion", + "modelId", + "stringIndexType", + "content", + "pages" + ], + "properties": { + "apiVersion": { + "description": "API version used to produce this result.", + "$ref": "#/definitions/ApiVersion" + }, + "modelId": { + "description": "Document model ID used to produce this result.", + "$ref": "#/definitions/DocumentModelId" + }, + "stringIndexType": { + "description": "Method used to compute string offset and length.", + "$ref": "#/definitions/StringIndexType" + }, + "content": { + "description": "Concatenate string representation of all textual and visual elements in reading order.", + "type": "string" + }, + "pages": { + "description": "Analyzed pages.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentPage" + } + }, + "paragraphs": { + "description": "Extracted paragraphs.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentParagraph" + } + }, + "tables": { + "description": "Extracted tables.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentTable" + } + }, + "keyValuePairs": { + "description": "Extracted key-value pairs.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentKeyValuePair" + } + }, + "styles": { + "description": "Extracted font styles.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentStyle" + } + }, + "languages": { + "description": "Detected languages.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentLanguage" + } + }, + "documents": { + "description": "Extracted documents.", + "type": "array", + "items": { + "$ref": "#/definitions/Document" + } + } + } + }, + "DocumentPage": { + "description": "Content and layout elements extracted from a page from the input.", + "type": "object", + "required": [ + "pageNumber", + "spans" + ], + "properties": { + "pageNumber": { + "description": "1-based page number in the input document.", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "angle": { + "description": "The general orientation of the content in clockwise direction, measured in degrees between (-180, 180].", + "type": "number", + "minimum": -180, + "maximum": 180, + "exclusiveMinimum": true + }, + "width": { + "description": "The width of the image/PDF in pixels/inches, respectively.", + "type": "number", + "minimum": 0 + }, + "height": { + "description": "The height of the image/PDF in pixels/inches, respectively.", + "type": "number", + "minimum": 0 + }, + "unit": { + "description": "The unit used by the width, height, and polygon properties. For images, the unit is \"pixel\". For PDF, the unit is \"inch\".", + "type": "string", + "enum": [ + "pixel", + "inch" + ], + "x-ms-enum": { + "name": "LengthUnit", + "modelAsString": true + } + }, + "spans": { + "description": "Location of the page in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + }, + "words": { + "description": "Extracted words from the page.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentWord" + } + }, + "selectionMarks": { + "description": "Extracted selection marks from the page.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSelectionMark" + } + }, + "lines": { + "description": "Extracted lines from the page, potentially containing both textual and visual elements.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentLine" + } + } + } + }, + "DocumentWord": { + "description": "A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.", + "type": "object", + "required": [ + "content", + "span", + "confidence" + ], + "properties": { + "content": { + "description": "Text content of the word.", + "type": "string" + }, + "polygon": { + "description": "Bounding polygon of the word.", + "$ref": "#/definitions/BoundingPolygon" + }, + "span": { + "description": "Location of the word in the reading order concatenated content.", + "$ref": "#/definitions/DocumentSpan" + }, + "confidence": { + "description": "Confidence of correctly extracting the word.", + "$ref": "#/definitions/Confidence" + } + } + }, + "DocumentSelectionMark": { + "description": "A selection mark object representing check boxes, radio buttons, and other elements indicating a selection.", + "type": "object", + "required": [ + "state", + "span", + "confidence" + ], + "properties": { + "state": { + "description": "State of the selection mark.", + "$ref": "#/definitions/DocumentSelectionMarkState" + }, + "polygon": { + "description": "Bounding polygon of the selection mark.", + "$ref": "#/definitions/BoundingPolygon" + }, + "span": { + "description": "Location of the selection mark in the reading order concatenated content.", + "$ref": "#/definitions/DocumentSpan" + }, + "confidence": { + "description": "Confidence of correctly extracting the selection mark.", + "$ref": "#/definitions/Confidence" + } + } + }, + "DocumentSelectionMarkState": { + "description": "State of the selection mark.", + "type": "string", + "enum": [ + "selected", + "unselected" + ], + "x-ms-enum": { + "name": "SelectionMarkState", + "modelAsString": true + } + }, + "DocumentLine": { + "description": "A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.", + "type": "object", + "required": [ + "content", + "spans" + ], + "properties": { + "content": { + "description": "Concatenated content of the contained elements in reading order.", + "type": "string" + }, + "polygon": { + "description": "Bounding polygon of the line.", + "$ref": "#/definitions/BoundingPolygon" + }, + "spans": { + "description": "Location of the line in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + } + } + }, + "DocumentParagraph": { + "description": "A paragraph object consisting with contiguous lines generally with common alignment and spacing.", + "type": "object", + "required": [ + "content", + "spans" + ], + "properties": { + "role": { + "description": "Semantic role of the paragraph.", + "type": "string", + "enum": [ + "pageHeader", + "pageFooter", + "pageNumber", + "title", + "sectionHeading", + "footnote" + ], + "x-ms-enum": { + "name": "ParagraphRole", + "modelAsString": true + } + }, + "content": { + "description": "Concatenated content of the paragraph in reading order.", + "type": "string" + }, + "boundingRegions": { + "description": "Bounding regions covering the paragraph.", + "type": "array", + "items": { + "$ref": "#/definitions/BoundingRegion" + } + }, + "spans": { + "description": "Location of the paragraph in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + } + } + }, + "DocumentTable": { + "description": "A table object consisting table cells arranged in a rectangular layout.", + "type": "object", + "required": [ + "rowCount", + "columnCount", + "cells", + "spans" + ], + "properties": { + "rowCount": { + "description": "Number of rows in the table.", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "columnCount": { + "description": "Number of columns in the table.", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "cells": { + "description": "Cells contained within the table.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentTableCell" + } + }, + "boundingRegions": { + "description": "Bounding regions covering the table.", + "type": "array", + "items": { + "$ref": "#/definitions/BoundingRegion" + } + }, + "spans": { + "description": "Location of the table in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + } + } + }, + "DocumentTableCell": { + "description": "An object representing the location and content of a table cell.", + "type": "object", + "required": [ + "rowIndex", + "columnIndex", + "content", + "spans" + ], + "properties": { + "kind": { + "description": "Table cell kind.", + "type": "string", + "enum": [ + "content", + "rowHeader", + "columnHeader", + "stubHead", + "description" + ], + "default": "content", + "x-ms-enum": { + "name": "DocumentTableCellKind", + "modelAsString": true + } + }, + "rowIndex": { + "description": "Row index of the cell.", + "type": "integer", + "format": "int32" + }, + "columnIndex": { + "description": "Column index of the cell.", + "type": "integer", + "format": "int32" + }, + "rowSpan": { + "description": "Number of rows spanned by this cell.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 1 + }, + "columnSpan": { + "description": "Number of columns spanned by this cell.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 1 + }, + "content": { + "description": "Concatenated content of the table cell in reading order.", + "type": "string" + }, + "boundingRegions": { + "description": "Bounding regions covering the table cell.", + "type": "array", + "items": { + "$ref": "#/definitions/BoundingRegion" + } + }, + "spans": { + "description": "Location of the table cell in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + } + } + }, + "DocumentKeyValuePair": { + "description": "An object representing a form field with distinct field label (key) and field value (may be empty).", + "type": "object", + "required": [ + "key", + "confidence" + ], + "properties": { + "key": { + "description": "Field label of the key-value pair.", + "$ref": "#/definitions/DocumentKeyValueElement" + }, + "value": { + "description": "Field value of the key-value pair.", + "$ref": "#/definitions/DocumentKeyValueElement" + }, + "confidence": { + "description": "Confidence of correctly extracting the key-value pair.", + "$ref": "#/definitions/Confidence" + } + } + }, + "DocumentKeyValueElement": { + "description": "An object representing the field key or value in a key-value pair.", + "type": "object", + "required": [ + "content", + "spans" + ], + "properties": { + "content": { + "description": "Concatenated content of the key-value element in reading order.", + "type": "string" + }, + "boundingRegions": { + "description": "Bounding regions covering the key-value element.", + "type": "array", + "items": { + "$ref": "#/definitions/BoundingRegion" + } + }, + "spans": { + "description": "Location of the key-value element in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + } + } + }, + "DocumentStyle": { + "description": "An object representing observed text styles.", + "type": "object", + "required": [ + "spans", + "confidence" + ], + "properties": { + "isHandwritten": { + "description": "Is content handwritten?", + "type": "boolean" + }, + "spans": { + "description": "Location of the text elements in the concatenated content the style applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + }, + "confidence": { + "description": "Confidence of correctly identifying the style.", + "$ref": "#/definitions/Confidence" + } + } + }, + "DocumentLanguage": { + "description": "An object representing the detected language for a given text span.", + "type": "object", + "required": [ + "locale", + "spans", + "confidence" + ], + "properties": { + "locale": { + "description": "Detected language. Value may an ISO 639-1 language code (ex. \"en\", \"fr\") or BCP 47 language tag (ex. \"zh-Hans\").", + "type": "string" + }, + "spans": { + "description": "Location of the text elements in the concatenated content the language applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + }, + "confidence": { + "description": "Confidence of correctly identifying the language.", + "$ref": "#/definitions/Confidence" + } + } + }, + "Document": { + "description": "An object describing the location and semantic content of a document.", + "type": "object", + "required": [ + "docType", + "spans", + "confidence" + ], + "properties": { + "docType": { + "description": "Document type.", + "$ref": "#/definitions/DocType" + }, + "boundingRegions": { + "description": "Bounding regions covering the document.", + "type": "array", + "items": { + "$ref": "#/definitions/BoundingRegion" + } + }, + "spans": { + "description": "Location of the document in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + }, + "fields": { + "description": "Dictionary of named field values.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DocumentField" + } + }, + "confidence": { + "description": "Confidence of correctly extracting the document.", + "$ref": "#/definitions/Confidence" + } + } + }, + "DocumentField": { + "description": "An object representing the content and location of a field value.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "description": "Data type of the field value.", + "$ref": "#/definitions/DocumentFieldType" + }, + "valueString": { + "description": "String value.", + "type": "string" + }, + "valueDate": { + "description": "Date value in YYYY-MM-DD format (ISO 8601).", + "type": "string", + "format": "date" + }, + "valueTime": { + "description": "Time value in hh:mm:ss format (ISO 8601).", + "type": "string", + "format": "time" + }, + "valuePhoneNumber": { + "description": "Phone number value in E.164 format (ex. +19876543210).", + "type": "string" + }, + "valueNumber": { + "description": "Floating point value.", + "type": "number" + }, + "valueInteger": { + "description": "Integer value.", + "type": "integer", + "format": "int64" + }, + "valueSelectionMark": { + "description": "Selection mark value.", + "$ref": "#/definitions/DocumentSelectionMarkState" + }, + "valueSignature": { + "description": "Presence of signature.", + "type": "string", + "enum": [ + "signed", + "unsigned" + ], + "x-ms-enum": { + "name": "DocumentSignatureType", + "modelAsString": true + } + }, + "valueCountryRegion": { + "description": "3-letter country code value (ISO 3166-1 alpha-3).", + "type": "string" + }, + "valueArray": { + "description": "Array of field values.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentField" + } + }, + "valueObject": { + "description": "Dictionary of named field values.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DocumentField" + } + }, + "valueCurrency": { + "description": "Currency value.", + "$ref": "#/definitions/CurrencyValue" + }, + "valueAddress": { + "description": "Address value.", + "$ref": "#/definitions/AddressValue" + }, + "content": { + "description": "Field content.", + "type": "string" + }, + "boundingRegions": { + "description": "Bounding regions covering the field.", + "type": "array", + "items": { + "$ref": "#/definitions/BoundingRegion" + } + }, + "spans": { + "description": "Location of the field in the reading order concatenated content.", + "type": "array", + "items": { + "$ref": "#/definitions/DocumentSpan" + } + }, + "confidence": { + "description": "Confidence of correctly extracting the field.", + "$ref": "#/definitions/Confidence" + } + } + }, + "DocumentFieldType": { + "description": "Semantic data type of the field value.", + "type": "string", + "enum": [ + "string", + "date", + "time", + "phoneNumber", + "number", + "integer", + "selectionMark", + "countryRegion", + "signature", + "array", + "object", + "currency", + "address" + ], + "x-ms-enum": { + "name": "DocumentFieldType", + "modelAsString": true + } + }, + "CurrencyValue": { + "description": "Currency field value.", + "type": "object", + "required": [ + "amount" + ], + "properties": { + "amount": { + "description": "Currency amount.", + "type": "number", + "format": "double" + }, + "currencySymbol": { + "description": "Currency symbol label, if any.", + "type": "string" + } + } + }, + "AddressValue": { + "description": "Address field value.", + "type": "object", + "properties": { + "houseNumber": { + "description": "House or building number.", + "type": "string" + }, + "poBox": { + "description": "Post office box number.", + "type": "string" + }, + "road": { + "description": "Street name.", + "type": "string" + }, + "city": { + "description": "Name of city, town, village, etc.", + "type": "string" + }, + "state": { + "description": "First-level administrative division.", + "type": "string" + }, + "postalCode": { + "description": "Postal code used for mail sorting.", + "type": "string" + }, + "countryRegion": { + "description": "Country/region.", + "type": "string" + }, + "streetAddress": { + "description": "Street-level address, excluding city, state, countryRegion, and postalCode.", + "type": "string" + } + } + }, + "DocumentModelId": { + "description": "Unique document model name.", + "type": "string", + "pattern": "[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}" + }, + "DocumentModelDescription": { + "description": "Document model description.", + "type": "string", + "maxLength": 4096 + }, + "DocumentBuildMode": { + "description": "Custom document model build mode.", + "type": "string", + "enum": [ + "template", + "neural" + ], + "x-ms-enum": { + "name": "DocumentBuildMode", + "modelAsString": true + } + }, + "DocType": { + "description": "Document type name.", + "type": "string", + "minLength": 2, + "maxLength": 64 + }, + "BoundingPolygon": { + "description": "Bounding polygon, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.", + "type": "array", + "items": { + "type": "number", + "minimum": 0 + } + }, + "BoundingRegion": { + "description": "Bounding polygon on a specific page of the input.", + "type": "object", + "required": [ + "pageNumber", + "polygon" + ], + "properties": { + "pageNumber": { + "description": "1-based page number of page containing the bounding region.", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "polygon": { + "description": "Bounding polygon on the page, or the entire page if not specified.", + "$ref": "#/definitions/BoundingPolygon" + } + } + }, + "Confidence": { + "description": "Prediction confidence.", + "type": "number", + "minimum": 0, + "maximum": 1 + }, + "DocumentSpan": { + "description": "Contiguous region of the concatenated content property, specified as an offset and length.", + "type": "object", + "required": [ + "offset", + "length" + ], + "properties": { + "offset": { + "description": "Zero-based index of the content represented by the span.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "length": { + "description": "Number of characters in the content represented by the span.", + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + }, + "StringIndexType": { + "description": "Method used to compute string offset and length.", + "type": "string", + "enum": [ + "textElements", + "unicodeCodePoint", + "utf16CodeUnit" + ], + "x-ms-enum": { + "name": "StringIndexType", + "modelAsString": true + }, + "default": "textElements" + } + }, + "parameters": { + "Endpoint": { + "name": "endpoint", + "description": "Supported Cognitive Services endpoints (protocol and hostname, for\nexample: https://westus2.api.cognitive.microsoft.com).", + "x-ms-parameter-location": "client", + "required": true, + "type": "string", + "in": "path", + "x-ms-skip-url-encoding": true + }, + "QueryApiVersion": { + "name": "api-version", + "description": "Requested API version.", + "required": true, + "type": "string", + "in": "query", + "enum": [ + "2022-08-31" + ], + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + }, + "x-ms-parameter-location": "client" + }, + "PathDocumentModelId": { + "name": "modelId", + "description": "Unique document model name.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}", + "in": "path", + "x-ms-parameter-location": "method" + }, + "PathOperationId": { + "name": "operationId", + "description": "Unique operation ID.", + "required": true, + "type": "string", + "in": "path", + "x-ms-parameter-location": "method" + }, + "PathResultId": { + "name": "resultId", + "description": "Analyze operation result ID.", + "required": true, + "type": "string", + "in": "path", + "x-ms-parameter-location": "method" + }, + "QueryPages": { + "name": "pages", + "description": "List of 1-based page numbers to analyze. Ex. \"1-3,5,7-9\"", + "required": false, + "type": "string", + "in": "query", + "pattern": "^(\\d+(-\\d+)?)(,\\s*(\\d+(-\\d+)?))*$", + "x-ms-parameter-location": "method" + }, + "QueryLocale": { + "name": "locale", + "description": "Locale hint for text recognition and document analysis. Value may contain only the language code (ex. \"en\", \"fr\") or BCP 47 language tag (ex. \"en-US\").", + "required": false, + "type": "string", + "in": "query", + "x-ms-parameter-location": "method" + }, + "QueryStringIndexType": { + "name": "stringIndexType", + "description": "Method used to compute string offset and length.", + "required": false, + "in": "query", + "type": "string", + "enum": [ + "textElements", + "unicodeCodePoint", + "utf16CodeUnit" + ], + "x-ms-enum": { + "name": "StringIndexType", + "modelAsString": true + }, + "default": "textElements", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Base64.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Base64.json index 9f4032ce41cd..aa2417ead468 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Base64.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Base64.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "prebuilt-layout", - "pages": "1-2,4", - "locale": "en-US", - "stringIndexType": "textElements", - "analyzeRequest": { - "base64Source": "{base64EncodedPdf}" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "{endpoint}/formrecognizer/documentModels/prebuilt-layout/analyzeResults/{resultId}?api-version={apiVersion}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "prebuilt-layout", + "pages": "1-2,4", + "locale": "en-US", + "stringIndexType": "textElements", + "analyzeRequest": { + "base64Source": "{base64EncodedPdf}" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "{endpoint}/formrecognizer/documentModels/prebuilt-layout/analyzeResults/{resultId}?api-version={apiVersion}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Url.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Url.json index cf5915e79d9e..026e5753980c 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Url.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AnalyzeDocument_Url.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "customModel", - "pages": "1-2,4", - "locale": "en-US", - "stringIndexType": "textElements", - "analyzeRequest": { - "urlSource": "http://host.com/doc.pdf" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "{endpoint}/formrecognizer/documentModels/customModel/analyzeResults/{resultId}?api-version={apiVersion}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "customModel", + "pages": "1-2,4", + "locale": "en-US", + "stringIndexType": "textElements", + "analyzeRequest": { + "urlSource": "http://host.com/doc.pdf" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "{endpoint}/formrecognizer/documentModels/customModel/analyzeResults/{resultId}?api-version={apiVersion}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AuthorizeCopyDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AuthorizeCopyDocumentModel.json index 8108f410fc4f..660c79dd27e1 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AuthorizeCopyDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/AuthorizeCopyDocumentModel.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "authorizeCopyRequest": { - "modelId": "{targetModelId}", - "description": "{targetModelDescription}" - } - }, - "responses": { - "200": { - "body": { - "targetResourceId": "{targetResourceId}", - "targetResourceRegion": "{targetResourceRegion}", - "targetModelId": "{targetModelId}", - "targetModelLocation": "{targetEndpoint}/formrecognizer/documentModels/{targetModelId}?api-version={apiVersion}", - "accessToken": "{accessToken}", - "expirationDateTime": "2021-09-23T09:12:54.552Z" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "authorizeCopyRequest": { + "modelId": "{targetModelId}", + "description": "{targetModelDescription}" + } + }, + "responses": { + "200": { + "body": { + "targetResourceId": "{targetResourceId}", + "targetResourceRegion": "{targetResourceRegion}", + "targetModelId": "{targetModelId}", + "targetModelLocation": "{targetEndpoint}/formrecognizer/documentModels/{targetModelId}?api-version={apiVersion}", + "accessToken": "{accessToken}", + "expirationDateTime": "2021-09-23T09:12:54.552Z" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/BuildDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/BuildDocumentModel.json index eb7df0221a39..60f6db4ac355 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/BuildDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/BuildDocumentModel.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "buildRequest": { - "modelId": "{modelId}", - "description": "{modelDescription}", - "buildMode": "template", - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "{blobNamePrefix}" - }, - "tags": { - "createdBy": "{userId}" - } - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "{endpoint}/formrecognizer/operations/{operationId}?api-version={apiVersion}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "buildRequest": { + "modelId": "{modelId}", + "description": "{modelDescription}", + "buildMode": "template", + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "{blobNamePrefix}" + }, + "tags": { + "createdBy": "{userId}" + } + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "{endpoint}/formrecognizer/operations/{operationId}?api-version={apiVersion}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/ComposeDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/ComposeDocumentModel.json index 5cf1165da148..b59559fdb6b5 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/ComposeDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/ComposeDocumentModel.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "composeRequest": { - "modelId": "{composedModelId}", - "description": "{composedModelDescription}", - "componentModels": [ - { - "modelId": "{modelId1}" - }, - { - "modelId": "{modelId2}" - } - ] - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "{endpoint}/formrecognizer/operations/{operationId}?api-version={apiVersion}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "composeRequest": { + "modelId": "{composedModelId}", + "description": "{composedModelDescription}", + "componentModels": [ + { + "modelId": "{modelId1}" + }, + { + "modelId": "{modelId2}" + } + ] + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "{endpoint}/formrecognizer/operations/{operationId}?api-version={apiVersion}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/CopyDocumentModelTo.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/CopyDocumentModelTo.json index 1151bf29bc32..6c55bc8d1939 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/CopyDocumentModelTo.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/CopyDocumentModelTo.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "sourceModel", - "copyToRequest": { - "targetResourceId": "{targetResourceId}", - "targetResourceRegion": "{targetResourceRegion}", - "targetModelId": "targetModel", - "targetModelLocation": "{targetEndpoint}/formrecognizer/documentModels/targetModel?api-version={apiVersion}", - "accessToken": "{accessToken}", - "expirationDateTime": "2021-09-23T09:12:54.552Z" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "{endpoint}/formrecognizer/operations/{operationId}?api-version={apiVersion}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "sourceModel", + "copyToRequest": { + "targetResourceId": "{targetResourceId}", + "targetResourceRegion": "{targetResourceRegion}", + "targetModelId": "targetModel", + "targetModelLocation": "{targetEndpoint}/formrecognizer/documentModels/targetModel?api-version={apiVersion}", + "accessToken": "{accessToken}", + "expirationDateTime": "2021-09-23T09:12:54.552Z" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "{endpoint}/formrecognizer/operations/{operationId}?api-version={apiVersion}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/DeleteDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/DeleteDocumentModel.json index 5b856e0a7ed7..5b86b604dbf9 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/DeleteDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/DeleteDocumentModel.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "{modelId}" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "{modelId}" + }, + "responses": { + "204": {} + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetAnalyzeDocumentResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetAnalyzeDocumentResult.json index 2295fa64a3f3..428019fd08e2 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetAnalyzeDocumentResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetAnalyzeDocumentResult.json @@ -1,7219 +1,7219 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "prebuilt-invoice", - "resultId": "{resultId}" - }, - "responses": { - "200": { - "body": { - "status": "succeeded", - "createdDateTime": "2021-09-24T13:00:46Z", - "lastUpdatedDateTime": "2021-09-24T13:00:49Z", - "analyzeResult": { - "apiVersion": "{apiVersion}", - "modelId": "prebuilt-invoice", - "stringIndexType": "textElements", - "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:", - "pages": [ - { - "pageNumber": 1, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch", - "words": [ - { - "content": "CONTOSO", - "polygon": [ - 0.5911, - 0.6857, - 1.7451, - 0.6857, - 1.7451, - 0.8664, - 0.5911, - 0.8664 - ], - "confidence": 1, - "span": { - "offset": 0, - "length": 7 - } - }, - { - "content": "LTD.", - "polygon": [ - 1.8441, - 0.6879, - 2.3181, - 0.6879, - 2.3181, - 0.865, - 1.8441, - 0.865 - ], - "confidence": 1, - "span": { - "offset": 8, - "length": 4 - } - }, - { - "content": "INVOICE", - "polygon": [ - 7.0751, - 0.589, - 7.9886, - 0.589, - 7.9886, - 0.7697, - 7.0751, - 0.7697 - ], - "confidence": 1, - "span": { - "offset": 13, - "length": 7 - } - }, - { - "content": "Contoso", - "polygon": [ - 0.5882, - 1.4303, - 1.1337, - 1.4303, - 1.1337, - 1.5383, - 0.5882, - 1.5383 - ], - "confidence": 1, - "span": { - "offset": 21, - "length": 7 - } - }, - { - "content": "Headquarters", - "polygon": [ - 1.1905, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 1.1905, - 1.5664 - ], - "confidence": 1, - "span": { - "offset": 29, - "length": 12 - } - }, - { - "content": "INVOICE:", - "polygon": [ - 6.8599, - 1.4217, - 7.4328, - 1.4217, - 7.4328, - 1.5218, - 6.8599, - 1.5218 - ], - "confidence": 1, - "span": { - "offset": 42, - "length": 8 - } - }, - { - "content": "INV-100", - "polygon": [ - 7.4959, - 1.422, - 7.9988, - 1.422, - 7.9988, - 1.5215, - 7.4959, - 1.5215 - ], - "confidence": 1, - "span": { - "offset": 51, - "length": 7 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 1.6339, - 0.8213, - 1.6339, - 0.8213, - 1.742, - 0.5945, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 59, - "length": 3 - } - }, - { - "content": "456th", - "polygon": [ - 0.874, - 1.6092, - 1.2102, - 1.6092, - 1.2102, - 1.742, - 0.874, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 63, - "length": 5 - } - }, - { - "content": "St", - "polygon": [ - 1.2598, - 1.6339, - 1.3812, - 1.6339, - 1.3812, - 1.742, - 1.2598, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 69, - "length": 2 - } - }, - { - "content": "INVOICE", - "polygon": [ - 6.2263, - 1.6254, - 6.7562, - 1.6254, - 6.7562, - 1.7256, - 6.2263, - 1.7256 - ], - "confidence": 1, - "span": { - "offset": 72, - "length": 7 - } - }, - { - "content": "DATE:", - "polygon": [ - 6.8132, - 1.6267, - 7.1891, - 1.6267, - 7.1891, - 1.7248, - 6.8132, - 1.7248 - ], - "confidence": 1, - "span": { - "offset": 80, - "length": 5 - } - }, - { - "content": "11/15/2019", - "polygon": [ - 7.2528, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 7.2528, - 1.7449 - ], - "confidence": 1, - "span": { - "offset": 86, - "length": 10 - } - }, - { - "content": "New", - "polygon": [ - 0.5943, - 1.8385, - 0.8848, - 1.8385, - 0.8848, - 1.9454, - 0.5943, - 1.9454 - ], - "confidence": 1, - "span": { - "offset": 97, - "length": 3 - } - }, - { - "content": "York,", - "polygon": [ - 0.9293, - 1.8307, - 1.2568, - 1.8307, - 1.2568, - 1.9675, - 0.9293, - 1.9675 - ], - "confidence": 1, - "span": { - "offset": 101, - "length": 5 - } - }, - { - "content": "NY,", - "polygon": [ - 1.3205, - 1.8382, - 1.5242, - 1.8382, - 1.5242, - 1.9675, - 1.3205, - 1.9675 - ], - "confidence": 1, - "span": { - "offset": 107, - "length": 3 - } - }, - { - "content": "10001", - "polygon": [ - 1.5915, - 1.8372, - 1.9894, - 1.8372, - 1.9894, - 1.9454, - 1.5915, - 1.9454 - ], - "confidence": 1, - "span": { - "offset": 111, - "length": 5 - } - }, - { - "content": "DUE", - "polygon": [ - 6.4966, - 1.8333, - 6.7569, - 1.8333, - 6.7569, - 1.9322, - 6.4966, - 1.9322 - ], - "confidence": 1, - "span": { - "offset": 117, - "length": 3 - } - }, - { - "content": "DATE:", - "polygon": [ - 6.8126, - 1.8333, - 7.1846, - 1.8333, - 7.1846, - 1.9315, - 6.8126, - 1.9315 - ], - "confidence": 1, - "span": { - "offset": 121, - "length": 5 - } - }, - { - "content": "12/15/2019", - "polygon": [ - 7.2494, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 7.2494, - 1.9515 - ], - "confidence": 1, - "span": { - "offset": 127, - "length": 10 - } - }, - { - "content": "CUSTOMER", - "polygon": [ - 4.9513, - 2.0388, - 5.6868, - 2.0388, - 5.6868, - 2.1389, - 4.9513, - 2.1389 - ], - "confidence": 1, - "span": { - "offset": 138, - "length": 8 - } - }, - { - "content": "NAME:", - "polygon": [ - 5.7412, - 2.04, - 6.1764, - 2.04, - 6.1764, - 2.1381, - 5.7412, - 2.1381 - ], - "confidence": 1, - "span": { - "offset": 147, - "length": 5 - } - }, - { - "content": "MICROSOFT", - "polygon": [ - 6.2419, - 2.0391, - 6.9981, - 2.0391, - 6.9981, - 2.1386, - 6.2419, - 2.1386 - ], - "confidence": 1, - "span": { - "offset": 153, - "length": 9 - } - }, - { - "content": "CORPORATION", - "polygon": [ - 7.0448, - 2.0391, - 7.9825, - 2.0391, - 7.9825, - 2.1386, - 7.0448, - 2.1386 - ], - "confidence": 1, - "span": { - "offset": 163, - "length": 11 - } - }, - { - "content": "SERVICE", - "polygon": [ - 5.1667, - 2.2421, - 5.6923, - 2.2421, - 5.6923, - 2.3422, - 5.1667, - 2.3422 - ], - "confidence": 1, - "span": { - "offset": 175, - "length": 7 - } - }, - { - "content": "PERIOD:", - "polygon": [ - 5.748, - 2.2421, - 6.2721, - 2.2421, - 6.2721, - 2.3422, - 5.748, - 2.3422 - ], - "confidence": 1, - "span": { - "offset": 183, - "length": 7 - } - }, - { - "content": "10/14/2019", - "polygon": [ - 6.3357, - 2.2306, - 7.0749, - 2.2306, - 7.0749, - 2.3615, - 6.3357, - 2.3615 - ], - "confidence": 1, - "span": { - "offset": 191, - "length": 10 - } - }, - { - "content": "–", - "polygon": [ - 7.122, - 2.2922, - 7.1995, - 2.2922, - 7.1995, - 2.3037, - 7.122, - 2.3037 - ], - "confidence": 1, - "span": { - "offset": 202, - "length": 1 - } - }, - { - "content": "11/14/2019", - "polygon": [ - 7.2528, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 7.2528, - 2.3615 - ], - "confidence": 1, - "span": { - "offset": 204, - "length": 10 - } - }, - { - "content": "CUSTOMER", - "polygon": [ - 6.3253, - 2.4488, - 7.0608, - 2.4488, - 7.0608, - 2.5489, - 6.3253, - 2.5489 - ], - "confidence": 1, - "span": { - "offset": 215, - "length": 8 - } - }, - { - "content": "ID:", - "polygon": [ - 7.1153, - 2.45, - 7.2809, - 2.45, - 7.2809, - 2.5481, - 7.1153, - 2.5481 - ], - "confidence": 1, - "span": { - "offset": 224, - "length": 3 - } - }, - { - "content": "CID-12345", - "polygon": [ - 7.3369, - 2.4491, - 7.9951, - 2.4491, - 7.9951, - 2.5486, - 7.3369, - 2.5486 - ], - "confidence": 1, - "span": { - "offset": 228, - "length": 9 - } - }, - { - "content": "Microsoft", - "polygon": [ - 0.5943, - 2.6436, - 1.2303, - 2.6436, - 1.2303, - 2.759, - 0.5943, - 2.759 - ], - "confidence": 1, - "span": { - "offset": 238, - "length": 9 - } - }, - { - "content": "Corp", - "polygon": [ - 1.2808, - 2.651, - 1.586, - 2.651, - 1.586, - 2.7871, - 1.2808, - 2.7871 - ], - "confidence": 1, - "span": { - "offset": 248, - "length": 4 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 2.8541, - 0.8213, - 2.8541, - 0.8213, - 2.9623, - 0.5945, - 2.9623 - ], - "confidence": 1, - "span": { - "offset": 253, - "length": 3 - } - }, - { - "content": "Other", - "polygon": [ - 0.875, - 2.8476, - 1.262, - 2.8476, - 1.262, - 2.9623, - 0.875, - 2.9623 - ], - "confidence": 1, - "span": { - "offset": 257, - "length": 5 - } - }, - { - "content": "St,", - "polygon": [ - 1.3058, - 2.8541, - 1.4633, - 2.8541, - 1.4633, - 2.9845, - 1.3058, - 2.9845 - ], - "confidence": 1, - "span": { - "offset": 263, - "length": 3 - } - }, - { - "content": "Redmond", - "polygon": [ - 0.5943, - 3.0513, - 1.2222, - 3.0513, - 1.2222, - 3.1656, - 0.5943, - 3.1656 - ], - "confidence": 1, - "span": { - "offset": 267, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 1.2753, - 3.0585, - 1.5468, - 3.0585, - 1.5468, - 3.1878, - 1.2753, - 3.1878 - ], - "confidence": 1, - "span": { - "offset": 275, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 1.6033, - 3.0575, - 2.0083, - 3.0575, - 2.0083, - 3.1656, - 1.6033, - 3.1656 - ], - "confidence": 1, - "span": { - "offset": 279, - "length": 5 - } - }, - { - "content": "BILL", - "polygon": [ - 0.5909, - 3.5603, - 0.8438, - 3.5603, - 0.8438, - 3.6579, - 0.5909, - 3.6579 - ], - "confidence": 1, - "span": { - "offset": 285, - "length": 4 - } - }, - { - "content": "TO:", - "polygon": [ - 0.8846, - 3.559, - 1.1032, - 3.559, - 1.1032, - 3.6592, - 0.8846, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 290, - "length": 3 - } - }, - { - "content": "SHIP", - "polygon": [ - 3.3361, - 3.559, - 3.6278, - 3.559, - 3.6278, - 3.6592, - 3.3361, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 294, - "length": 4 - } - }, - { - "content": "TO:", - "polygon": [ - 3.6716, - 3.559, - 3.8903, - 3.559, - 3.8903, - 3.6592, - 3.6716, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 299, - "length": 3 - } - }, - { - "content": "SERVICE", - "polygon": [ - 6.2104, - 3.559, - 6.7361, - 3.559, - 6.7361, - 3.6592, - 6.2104, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 303, - "length": 7 - } - }, - { - "content": "ADDRESS:", - "polygon": [ - 6.7828, - 3.559, - 7.4232, - 3.559, - 7.4232, - 3.6592, - 6.7828, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 311, - "length": 8 - } - }, - { - "content": "Microsoft", - "polygon": [ - 0.5943, - 3.7641, - 1.2303, - 3.7641, - 1.2303, - 3.8794, - 0.5943, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 320, - "length": 9 - } - }, - { - "content": "Finance", - "polygon": [ - 1.287, - 3.7701, - 1.7878, - 3.7701, - 1.7878, - 3.8794, - 1.287, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 330, - "length": 7 - } - }, - { - "content": "Microsoft", - "polygon": [ - 3.3454, - 3.7641, - 3.9814, - 3.7641, - 3.9814, - 3.8794, - 3.3454, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 338, - "length": 9 - } - }, - { - "content": "Delivery", - "polygon": [ - 4.0381, - 3.7647, - 4.5762, - 3.7647, - 4.5762, - 3.9076, - 4.0381, - 3.9076 - ], - "confidence": 1, - "span": { - "offset": 348, - "length": 8 - } - }, - { - "content": "Microsoft", - "polygon": [ - 6.2197, - 3.7641, - 6.8557, - 3.7641, - 6.8557, - 3.8794, - 6.2197, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 357, - "length": 9 - } - }, - { - "content": "Services", - "polygon": [ - 6.9042, - 3.7701, - 7.4427, - 3.7701, - 7.4427, - 3.8794, - 6.9042, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 367, - "length": 8 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 3.9746, - 0.8213, - 3.9746, - 0.8213, - 4.0827, - 0.5945, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 376, - "length": 3 - } - }, - { - "content": "Bill", - "polygon": [ - 0.8842, - 3.9681, - 1.0657, - 3.9681, - 1.0657, - 4.0817, - 0.8842, - 4.0817 - ], - "confidence": 1, - "span": { - "offset": 380, - "length": 4 - } - }, - { - "content": "St,", - "polygon": [ - 1.1222, - 3.9746, - 1.2765, - 3.9746, - 1.2765, - 4.1049, - 1.1222, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 385, - "length": 3 - } - }, - { - "content": "123", - "polygon": [ - 3.3456, - 3.9746, - 3.5724, - 3.9746, - 3.5724, - 4.0827, - 3.3456, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 389, - "length": 3 - } - }, - { - "content": "Ship", - "polygon": [ - 3.6239, - 3.9681, - 3.9042, - 3.9681, - 3.9042, - 4.1109, - 3.6239, - 4.1109 - ], - "confidence": 1, - "span": { - "offset": 393, - "length": 4 - } - }, - { - "content": "St,", - "polygon": [ - 3.9536, - 3.9746, - 4.1111, - 3.9746, - 4.1111, - 4.1049, - 3.9536, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 398, - "length": 3 - } - }, - { - "content": "123", - "polygon": [ - 6.2199, - 3.9746, - 6.4467, - 3.9746, - 6.4467, - 4.0827, - 6.2199, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 402, - "length": 3 - } - }, - { - "content": "Service", - "polygon": [ - 6.4985, - 3.9734, - 6.9738, - 3.9734, - 6.9738, - 4.0827, - 6.4985, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 406, - "length": 7 - } - }, - { - "content": "St,", - "polygon": [ - 7.0246, - 3.9746, - 7.1821, - 3.9746, - 7.1821, - 4.1049, - 7.0246, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 414, - "length": 3 - } - }, - { - "content": "Redmond", - "polygon": [ - 0.5943, - 4.1717, - 1.2222, - 4.1717, - 1.2222, - 4.2861, - 0.5943, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 418, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 1.2753, - 4.1789, - 1.5468, - 4.1789, - 1.5468, - 4.3082, - 1.2753, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 426, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 1.6033, - 4.1779, - 2.0083, - 4.1779, - 2.0083, - 4.2861, - 1.6033, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 430, - "length": 5 - } - }, - { - "content": "Redmond", - "polygon": [ - 3.3454, - 4.1717, - 3.9732, - 4.1717, - 3.9732, - 4.2861, - 3.3454, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 436, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 4.0264, - 4.1789, - 4.2979, - 4.1789, - 4.2979, - 4.3082, - 4.0264, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 444, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 4.3544, - 4.1779, - 4.7594, - 4.1779, - 4.7594, - 4.2861, - 4.3544, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 448, - "length": 5 - } - }, - { - "content": "Redmond", - "polygon": [ - 6.2197, - 4.1717, - 6.8475, - 4.1717, - 6.8475, - 4.2861, - 6.2197, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 454, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 6.9007, - 4.1789, - 7.1722, - 4.1789, - 7.1722, - 4.3082, - 6.9007, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 462, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 7.2287, - 4.1779, - 7.6337, - 4.1779, - 7.6337, - 4.2861, - 7.2287, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 466, - "length": 5 - } - }, - { - "content": "SALESPERSON", - "polygon": [ - 0.7018, - 4.6528, - 1.6092, - 4.6528, - 1.6092, - 4.7529, - 0.7018, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 472, - "length": 11 - } - }, - { - "content": "P.O.", - "polygon": [ - 2.1216, - 4.6528, - 2.3788, - 4.6528, - 2.3788, - 4.7529, - 2.1216, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 484, - "length": 4 - } - }, - { - "content": "NUMBER", - "polygon": [ - 2.4376, - 4.654, - 3.0155, - 4.654, - 3.0155, - 4.7529, - 2.4376, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 489, - "length": 6 - } - }, - { - "content": "REQUISITIONER", - "polygon": [ - 3.4953, - 4.6528, - 4.5157, - 4.6528, - 4.5157, - 4.7687, - 3.4953, - 4.7687 - ], - "confidence": 1, - "span": { - "offset": 496, - "length": 13 - } - }, - { - "content": "SHIPPED", - "polygon": [ - 4.81, - 4.6528, - 5.362, - 4.6528, - 5.362, - 4.7529, - 4.81, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 510, - "length": 7 - } - }, - { - "content": "VIA", - "polygon": [ - 5.409, - 4.654, - 5.6317, - 4.654, - 5.6317, - 4.7517, - 5.409, - 4.7517 - ], - "confidence": 1, - "span": { - "offset": 518, - "length": 3 - } - }, - { - "content": "F.O.B.", - "polygon": [ - 5.8696, - 4.6528, - 6.2467, - 4.6528, - 6.2467, - 4.7529, - 5.8696, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 522, - "length": 6 - } - }, - { - "content": "POINT", - "polygon": [ - 6.3054, - 4.6528, - 6.706, - 4.6528, - 6.706, - 4.7529, - 6.3054, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 529, - "length": 5 - } - }, - { - "content": "TERMS", - "polygon": [ - 7.1806, - 4.6528, - 7.6304, - 4.6528, - 7.6304, - 4.7529, - 7.1806, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 535, - "length": 5 - } - }, - { - "content": "PO-3333", - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ], - "confidence": 1, - "span": { - "offset": 541, - "length": 7 - } - }, - { - "content": "DATE", - "polygon": [ - 0.7409, - 5.421, - 1.0744, - 5.421, - 1.0744, - 5.5186, - 0.7409, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 549, - "length": 4 - } - }, - { - "content": "ITEM", - "polygon": [ - 1.4213, - 5.421, - 1.7338, - 5.421, - 1.7338, - 5.5186, - 1.4213, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 554, - "length": 4 - } - }, - { - "content": "CODE", - "polygon": [ - 1.7893, - 5.4197, - 2.1407, - 5.4197, - 2.1407, - 5.5199, - 1.7893, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 559, - "length": 4 - } - }, - { - "content": "DESCRIPTION", - "polygon": [ - 2.8516, - 5.4197, - 3.7134, - 5.4197, - 3.7134, - 5.5199, - 2.8516, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 564, - "length": 11 - } - }, - { - "content": "QTY", - "polygon": [ - 4.4043, - 5.4197, - 4.6631, - 5.4197, - 4.6631, - 5.5357, - 4.4043, - 5.5357 - ], - "confidence": 1, - "span": { - "offset": 576, - "length": 3 - } - }, - { - "content": "UM", - "polygon": [ - 5.049, - 5.421, - 5.2654, - 5.421, - 5.2654, - 5.5199, - 5.049, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 580, - "length": 2 - } - }, - { - "content": "PRICE", - "polygon": [ - 5.8563, - 5.4199, - 6.2163, - 5.4199, - 6.2163, - 5.5197, - 5.8563, - 5.5197 - ], - "confidence": 1, - "span": { - "offset": 583, - "length": 5 - } - }, - { - "content": "TAX", - "polygon": [ - 6.7169, - 5.421, - 6.974, - 5.421, - 6.974, - 5.5186, - 6.7169, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 589, - "length": 3 - } - }, - { - "content": "AMOUNT", - "polygon": [ - 7.2847, - 5.4197, - 7.9039, - 5.4197, - 7.9039, - 5.5199, - 7.2847, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 593, - "length": 6 - } - }, - { - "content": "3/4/2021", - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ], - "confidence": 1, - "span": { - "offset": 600, - "length": 8 - } - }, - { - "content": "A123", - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 609, - "length": 4 - } - }, - { - "content": "Consulting", - "polygon": [ - 2.3388, - 5.6883, - 3.0438, - 5.6883, - 3.0438, - 5.8312, - 2.3388, - 5.8312 - ], - "confidence": 1, - "span": { - "offset": 614, - "length": 10 - } - }, - { - "content": "Services", - "polygon": [ - 3.0925, - 5.6937, - 3.6278, - 5.6937, - 3.6278, - 5.803, - 3.0925, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 625, - "length": 8 - } - }, - { - "content": "2", - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ], - "confidence": 1, - "span": { - "offset": 634, - "length": 1 - } - }, - { - "content": "hours", - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 636, - "length": 5 - } - }, - { - "content": "$30.00", - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ], - "confidence": 1, - "span": { - "offset": 642, - "length": 6 - } - }, - { - "content": "10%", - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ], - "confidence": 1, - "span": { - "offset": 649, - "length": 3 - } - }, - { - "content": "$60.00", - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ], - "confidence": 1, - "span": { - "offset": 653, - "length": 6 - } - }, - { - "content": "3/5/2021", - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ], - "confidence": 1, - "span": { - "offset": 660, - "length": 8 - } - }, - { - "content": "B456", - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 669, - "length": 4 - } - }, - { - "content": "Document", - "polygon": [ - 2.345, - 5.993, - 3.0318, - 5.993, - 3.0318, - 6.0997, - 2.345, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 674, - "length": 8 - } - }, - { - "content": "Fee", - "polygon": [ - 3.0887, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 3.0887, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 683, - "length": 3 - } - }, - { - "content": "3", - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 687, - "length": 1 - } - }, - { - "content": "$10.00", - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ], - "confidence": 1, - "span": { - "offset": 689, - "length": 6 - } - }, - { - "content": "5%", - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ], - "confidence": 1, - "span": { - "offset": 696, - "length": 2 - } - }, - { - "content": "$30.00", - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ], - "confidence": 1, - "span": { - "offset": 699, - "length": 6 - } - }, - { - "content": "3/6/2021", - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ], - "confidence": 1, - "span": { - "offset": 706, - "length": 8 - } - }, - { - "content": "C789", - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 715, - "length": 4 - } - }, - { - "content": "Printing", - "polygon": [ - 2.345, - 6.2906, - 2.8575, - 6.2906, - 2.8575, - 6.4281, - 2.345, - 6.4281 - ], - "confidence": 1, - "span": { - "offset": 720, - "length": 8 - } - }, - { - "content": "Fee", - "polygon": [ - 2.9143, - 6.2933, - 3.1351, - 6.2933, - 3.1351, - 6.3999, - 2.9143, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 729, - "length": 3 - } - }, - { - "content": "10", - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 733, - "length": 2 - } - }, - { - "content": "pages", - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ], - "confidence": 1, - "span": { - "offset": 736, - "length": 5 - } - }, - { - "content": "$1.00", - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ], - "confidence": 1, - "span": { - "offset": 742, - "length": 5 - } - }, - { - "content": "20%", - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ], - "confidence": 1, - "span": { - "offset": 748, - "length": 3 - } - }, - { - "content": "$10.00", - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ], - "confidence": 1, - "span": { - "offset": 752, - "length": 6 - } - }, - { - "content": "SUBTOTAL", - "polygon": [ - 6.0282, - 6.9118, - 6.7309, - 6.9118, - 6.7309, - 7.0199, - 6.0282, - 7.0199 - ], - "confidence": 1, - "span": { - "offset": 759, - "length": 8 - } - }, - { - "content": "$100.00", - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ], - "confidence": 1, - "span": { - "offset": 768, - "length": 7 - } - }, - { - "content": "SALES", - "polygon": [ - 6.0382, - 7.2089, - 6.4262, - 7.2089, - 6.4262, - 7.317, - 6.0382, - 7.317 - ], - "confidence": 1, - "span": { - "offset": 776, - "length": 5 - } - }, - { - "content": "TAX", - "polygon": [ - 6.4702, - 7.2099, - 6.728, - 7.2099, - 6.728, - 7.316, - 6.4702, - 7.316 - ], - "confidence": 1, - "span": { - "offset": 782, - "length": 3 - } - }, - { - "content": "$10.00", - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ], - "confidence": 1, - "span": { - "offset": 786, - "length": 6 - } - }, - { - "content": "TOTAL", - "polygon": [ - 6.2969, - 7.5089, - 6.7309, - 7.5089, - 6.7309, - 7.617, - 6.2969, - 7.617 - ], - "confidence": 1, - "span": { - "offset": 793, - "length": 5 - } - }, - { - "content": "$110.00", - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ], - "confidence": 1, - "span": { - "offset": 799, - "length": 7 - } - }, - { - "content": "PREVIOUS", - "polygon": [ - 4.8126, - 7.8055, - 5.4789, - 7.8055, - 5.4789, - 7.9137, - 4.8126, - 7.9137 - ], - "confidence": 1, - "span": { - "offset": 807, - "length": 8 - } - }, - { - "content": "UNPAID", - "polygon": [ - 5.5362, - 7.8065, - 6.057, - 7.8065, - 6.057, - 7.9137, - 5.5362, - 7.9137 - ], - "confidence": 1, - "span": { - "offset": 816, - "length": 6 - } - }, - { - "content": "BALANCE", - "polygon": [ - 6.1164, - 7.8057, - 6.7249, - 7.8057, - 6.7249, - 7.9135, - 6.1164, - 7.9135 - ], - "confidence": 1, - "span": { - "offset": 823, - "length": 7 - } - }, - { - "content": "$500.00", - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ], - "confidence": 1, - "span": { - "offset": 831, - "length": 7 - } - }, - { - "content": "AMOUNT", - "polygon": [ - 5.7652, - 8.1022, - 6.4055, - 8.1022, - 6.4055, - 8.2104, - 5.7652, - 8.2104 - ], - "confidence": 1, - "span": { - "offset": 839, - "length": 6 - } - }, - { - "content": "DUE", - "polygon": [ - 6.4562, - 8.1032, - 6.725, - 8.1032, - 6.725, - 8.2104, - 6.4562, - 8.2104 - ], - "confidence": 1, - "span": { - "offset": 846, - "length": 3 - } - }, - { - "content": "$610.00", - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ], - "confidence": 1, - "span": { - "offset": 850, - "length": 7 - } - }, - { - "content": "THANK", - "polygon": [ - 3.129, - 8.5453, - 3.5887, - 8.5453, - 3.5887, - 8.6429, - 3.129, - 8.6429 - ], - "confidence": 1, - "span": { - "offset": 858, - "length": 5 - } - }, - { - "content": "YOU", - "polygon": [ - 3.6316, - 8.544, - 3.9064, - 8.544, - 3.9064, - 8.6442, - 3.6316, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 864, - "length": 3 - } - }, - { - "content": "FOR", - "polygon": [ - 3.9671, - 8.544, - 4.2187, - 8.544, - 4.2187, - 8.6442, - 3.9671, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 868, - "length": 3 - } - }, - { - "content": "YOUR", - "polygon": [ - 4.2638, - 8.544, - 4.6347, - 8.544, - 4.6347, - 8.6442, - 4.2638, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 872, - "length": 4 - } - }, - { - "content": "BUSINESS!", - "polygon": [ - 4.6859, - 8.539, - 5.356, - 8.539, - 5.356, - 8.6442, - 4.6859, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 877, - "length": 9 - } - }, - { - "content": "REMIT", - "polygon": [ - 0.5909, - 9.1619, - 1.0014, - 9.1619, - 1.0014, - 9.2596, - 0.5909, - 9.2596 - ], - "confidence": 1, - "span": { - "offset": 887, - "length": 5 - } - }, - { - "content": "TO:", - "polygon": [ - 1.0446, - 9.1607, - 1.2603, - 9.1607, - 1.2603, - 9.2608, - 1.0446, - 9.2608 - ], - "confidence": 1, - "span": { - "offset": 893, - "length": 3 - } - }, - { - "content": "Contoso", - "polygon": [ - 0.5882, - 9.3697, - 1.1337, - 9.3697, - 1.1337, - 9.4777, - 0.5882, - 9.4777 - ], - "confidence": 1, - "span": { - "offset": 897, - "length": 7 - } - }, - { - "content": "Billing", - "polygon": [ - 1.1905, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 1.1905, - 9.5059 - ], - "confidence": 1, - "span": { - "offset": 905, - "length": 7 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 9.5728, - 0.8213, - 9.5728, - 0.8213, - 9.681, - 0.5945, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 913, - "length": 3 - } - }, - { - "content": "Remit", - "polygon": [ - 0.881, - 9.5717, - 1.264, - 9.5717, - 1.264, - 9.681, - 0.881, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 917, - "length": 5 - } - }, - { - "content": "St", - "polygon": [ - 1.3125, - 9.5728, - 1.4337, - 9.5728, - 1.4337, - 9.681, - 1.3125, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 923, - "length": 2 - } - }, - { - "content": "New", - "polygon": [ - 0.5943, - 9.7808, - 0.8848, - 9.7808, - 0.8848, - 9.8877, - 0.5943, - 9.8877 - ], - "confidence": 1, - "span": { - "offset": 926, - "length": 3 - } - }, - { - "content": "York,", - "polygon": [ - 0.9293, - 9.773, - 1.2568, - 9.773, - 1.2568, - 9.9098, - 0.9293, - 9.9098 - ], - "confidence": 1, - "span": { - "offset": 930, - "length": 5 - } - }, - { - "content": "NY,", - "polygon": [ - 1.3205, - 9.7805, - 1.5233, - 9.7805, - 1.5233, - 9.9098, - 1.3205, - 9.9098 - ], - "confidence": 1, - "span": { - "offset": 936, - "length": 3 - } - }, - { - "content": "10001", - "polygon": [ - 1.5903, - 9.7795, - 1.9882, - 9.7795, - 1.9882, - 9.8877, - 1.5903, - 9.8877 - ], - "confidence": 1, - "span": { - "offset": 940, - "length": 5 - } - } - ], - "selectionMarks": [ - { - "state": "unselected", - "polygon": [ - 4.3231, - 5.6279, - 4.7562, - 5.6279, - 4.7562, - 5.8654, - 4.3231, - 5.8654 - ], - "confidence": 0.212, - "span": { - "offset": 946, - "length": 12 - } - } - ], - "lines": [ - { - "content": "CONTOSO LTD.", - "polygon": [ - 0.5911, - 0.6857, - 2.3181, - 0.6857, - 2.3181, - 0.8664, - 0.5911, - 0.8664 - ], - "spans": [ - { - "offset": 0, - "length": 12 - } - ] - }, - { - "content": "INVOICE", - "polygon": [ - 7.0751, - 0.589, - 7.9886, - 0.589, - 7.9886, - 0.7697, - 7.0751, - 0.7697 - ], - "spans": [ - { - "offset": 13, - "length": 7 - } - ] - }, - { - "content": "Contoso Headquarters", - "polygon": [ - 0.5882, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 0.5882, - 1.5664 - ], - "spans": [ - { - "offset": 21, - "length": 20 - } - ] - }, - { - "content": "INVOICE: INV-100", - "polygon": [ - 6.8599, - 1.4217, - 7.9988, - 1.4217, - 7.9988, - 1.5218, - 6.8599, - 1.5218 - ], - "spans": [ - { - "offset": 42, - "length": 16 - } - ] - }, - { - "content": "123 456th St", - "polygon": [ - 0.5945, - 1.6092, - 1.3812, - 1.6092, - 1.3812, - 1.742, - 0.5945, - 1.742 - ], - "spans": [ - { - "offset": 59, - "length": 12 - } - ] - }, - { - "content": "INVOICE DATE: 11/15/2019", - "polygon": [ - 6.2263, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 6.2263, - 1.7449 - ], - "spans": [ - { - "offset": 72, - "length": 24 - } - ] - }, - { - "content": "New York, NY, 10001", - "polygon": [ - 0.5943, - 1.8307, - 1.9894, - 1.8307, - 1.9894, - 1.9675, - 0.5943, - 1.9675 - ], - "spans": [ - { - "offset": 97, - "length": 19 - } - ] - }, - { - "content": "DUE DATE: 12/15/2019", - "polygon": [ - 6.4966, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 6.4966, - 1.9515 - ], - "spans": [ - { - "offset": 117, - "length": 20 - } - ] - }, - { - "content": "CUSTOMER NAME: MICROSOFT CORPORATION", - "polygon": [ - 4.9513, - 2.0388, - 7.9825, - 2.0388, - 7.9825, - 2.1389, - 4.9513, - 2.1389 - ], - "spans": [ - { - "offset": 138, - "length": 36 - } - ] - }, - { - "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019", - "polygon": [ - 5.1667, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 5.1667, - 2.3615 - ], - "spans": [ - { - "offset": 175, - "length": 39 - } - ] - }, - { - "content": "CUSTOMER ID: CID-12345", - "polygon": [ - 6.3253, - 2.4488, - 7.9951, - 2.4488, - 7.9951, - 2.5489, - 6.3253, - 2.5489 - ], - "spans": [ - { - "offset": 215, - "length": 22 - } - ] - }, - { - "content": "Microsoft Corp", - "polygon": [ - 0.5943, - 2.6436, - 1.586, - 2.6436, - 1.586, - 2.7871, - 0.5943, - 2.7871 - ], - "spans": [ - { - "offset": 238, - "length": 14 - } - ] - }, - { - "content": "123 Other St,", - "polygon": [ - 0.5945, - 2.8476, - 1.4633, - 2.8476, - 1.4633, - 2.9845, - 0.5945, - 2.9845 - ], - "spans": [ - { - "offset": 253, - "length": 13 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 0.5943, - 3.0513, - 2.0083, - 3.0513, - 2.0083, - 3.1878, - 0.5943, - 3.1878 - ], - "spans": [ - { - "offset": 267, - "length": 17 - } - ] - }, - { - "content": "BILL TO:", - "polygon": [ - 0.5909, - 3.559, - 1.1032, - 3.559, - 1.1032, - 3.6592, - 0.5909, - 3.6592 - ], - "spans": [ - { - "offset": 285, - "length": 8 - } - ] - }, - { - "content": "SHIP TO:", - "polygon": [ - 3.3361, - 3.559, - 3.8903, - 3.559, - 3.8903, - 3.6592, - 3.3361, - 3.6592 - ], - "spans": [ - { - "offset": 294, - "length": 8 - } - ] - }, - { - "content": "SERVICE ADDRESS:", - "polygon": [ - 6.2104, - 3.559, - 7.4232, - 3.559, - 7.4232, - 3.6592, - 6.2104, - 3.6592 - ], - "spans": [ - { - "offset": 303, - "length": 16 - } - ] - }, - { - "content": "Microsoft Finance", - "polygon": [ - 0.5943, - 3.7641, - 1.7878, - 3.7641, - 1.7878, - 3.8794, - 0.5943, - 3.8794 - ], - "spans": [ - { - "offset": 320, - "length": 17 - } - ] - }, - { - "content": "Microsoft Delivery", - "polygon": [ - 3.3454, - 3.7641, - 4.5762, - 3.7641, - 4.5762, - 3.9076, - 3.3454, - 3.9076 - ], - "spans": [ - { - "offset": 338, - "length": 18 - } - ] - }, - { - "content": "Microsoft Services", - "polygon": [ - 6.2197, - 3.7641, - 7.4427, - 3.7641, - 7.4427, - 3.8794, - 6.2197, - 3.8794 - ], - "spans": [ - { - "offset": 357, - "length": 18 - } - ] - }, - { - "content": "123 Bill St,", - "polygon": [ - 0.5945, - 3.9681, - 1.2765, - 3.9681, - 1.2765, - 4.1049, - 0.5945, - 4.1049 - ], - "spans": [ - { - "offset": 376, - "length": 12 - } - ] - }, - { - "content": "123 Ship St,", - "polygon": [ - 3.3456, - 3.9681, - 4.1111, - 3.9681, - 4.1111, - 4.1109, - 3.3456, - 4.1109 - ], - "spans": [ - { - "offset": 389, - "length": 12 - } - ] - }, - { - "content": "123 Service St,", - "polygon": [ - 6.2199, - 3.9734, - 7.1821, - 3.9734, - 7.1821, - 4.1049, - 6.2199, - 4.1049 - ], - "spans": [ - { - "offset": 402, - "length": 15 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 0.5943, - 4.1717, - 2.0083, - 4.1717, - 2.0083, - 4.3082, - 0.5943, - 4.3082 - ], - "spans": [ - { - "offset": 418, - "length": 17 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 3.3454, - 4.1717, - 4.7594, - 4.1717, - 4.7594, - 4.3082, - 3.3454, - 4.3082 - ], - "spans": [ - { - "offset": 436, - "length": 17 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 6.2197, - 4.1717, - 7.6337, - 4.1717, - 7.6337, - 4.3082, - 6.2197, - 4.3082 - ], - "spans": [ - { - "offset": 454, - "length": 17 - } - ] - }, - { - "content": "SALESPERSON", - "polygon": [ - 0.7018, - 4.6528, - 1.6092, - 4.6528, - 1.6092, - 4.7529, - 0.7018, - 4.7529 - ], - "spans": [ - { - "offset": 472, - "length": 11 - } - ] - }, - { - "content": "P.O. NUMBER", - "polygon": [ - 2.1216, - 4.6528, - 3.0155, - 4.6528, - 3.0155, - 4.7529, - 2.1216, - 4.7529 - ], - "spans": [ - { - "offset": 484, - "length": 11 - } - ] - }, - { - "content": "REQUISITIONER", - "polygon": [ - 3.4953, - 4.6528, - 4.5157, - 4.6528, - 4.5157, - 4.7687, - 3.4953, - 4.7687 - ], - "spans": [ - { - "offset": 496, - "length": 13 - } - ] - }, - { - "content": "SHIPPED VIA", - "polygon": [ - 4.81, - 4.6528, - 5.6317, - 4.6528, - 5.6317, - 4.7529, - 4.81, - 4.7529 - ], - "spans": [ - { - "offset": 510, - "length": 11 - } - ] - }, - { - "content": "F.O.B. POINT", - "polygon": [ - 5.8696, - 4.6528, - 6.706, - 4.6528, - 6.706, - 4.7529, - 5.8696, - 4.7529 - ], - "spans": [ - { - "offset": 522, - "length": 12 - } - ] - }, - { - "content": "TERMS", - "polygon": [ - 7.1806, - 4.6528, - 7.6304, - 4.6528, - 7.6304, - 4.7529, - 7.1806, - 4.7529 - ], - "spans": [ - { - "offset": 535, - "length": 5 - } - ] - }, - { - "content": "PO-3333", - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ], - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - { - "content": "DATE", - "polygon": [ - 0.7409, - 5.421, - 1.0744, - 5.421, - 1.0744, - 5.5186, - 0.7409, - 5.5186 - ], - "spans": [ - { - "offset": 549, - "length": 4 - } - ] - }, - { - "content": "ITEM CODE", - "polygon": [ - 1.4213, - 5.4197, - 2.1407, - 5.4197, - 2.1407, - 5.5199, - 1.4213, - 5.5199 - ], - "spans": [ - { - "offset": 554, - "length": 9 - } - ] - }, - { - "content": "DESCRIPTION", - "polygon": [ - 2.8516, - 5.4197, - 3.7134, - 5.4197, - 3.7134, - 5.5199, - 2.8516, - 5.5199 - ], - "spans": [ - { - "offset": 564, - "length": 11 - } - ] - }, - { - "content": "QTY", - "polygon": [ - 4.4043, - 5.4197, - 4.6631, - 5.4197, - 4.6631, - 5.5357, - 4.4043, - 5.5357 - ], - "spans": [ - { - "offset": 576, - "length": 3 - } - ] - }, - { - "content": "UM", - "polygon": [ - 5.049, - 5.421, - 5.2654, - 5.421, - 5.2654, - 5.5199, - 5.049, - 5.5199 - ], - "spans": [ - { - "offset": 580, - "length": 2 - } - ] - }, - { - "content": "PRICE", - "polygon": [ - 5.8563, - 5.4199, - 6.2163, - 5.4199, - 6.2163, - 5.5197, - 5.8563, - 5.5197 - ], - "spans": [ - { - "offset": 583, - "length": 5 - } - ] - }, - { - "content": "TAX", - "polygon": [ - 6.7169, - 5.421, - 6.974, - 5.421, - 6.974, - 5.5186, - 6.7169, - 5.5186 - ], - "spans": [ - { - "offset": 589, - "length": 3 - } - ] - }, - { - "content": "AMOUNT", - "polygon": [ - 7.2847, - 5.4197, - 7.9039, - 5.4197, - 7.9039, - 5.5199, - 7.2847, - 5.5199 - ], - "spans": [ - { - "offset": 593, - "length": 6 - } - ] - }, - { - "content": "3/4/2021", - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ], - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - { - "content": "A123", - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ], - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - { - "content": "Consulting Services", - "polygon": [ - 2.3388, - 5.6883, - 3.6278, - 5.6883, - 3.6278, - 5.8312, - 2.3388, - 5.8312 - ], - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - { - "content": "2", - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ], - "spans": [ - { - "offset": 634, - "length": 1 - } - ] - }, - { - "content": "hours", - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ], - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - { - "content": "$30.00", - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ], - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - }, - { - "content": "10%", - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ], - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - { - "content": "$60.00", - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ], - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - { - "content": "3/5/2021", - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ], - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - { - "content": "B456", - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ], - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - { - "content": "Document Fee", - "polygon": [ - 2.345, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 2.345, - 6.0997 - ], - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - { - "content": "3", - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ], - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ], - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - }, - { - "content": "5%", - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ], - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - { - "content": "$30.00", - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ], - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - { - "content": "3/6/2021", - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ], - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - { - "content": "C789", - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ], - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - { - "content": "Printing Fee", - "polygon": [ - 2.345, - 6.2906, - 3.1351, - 6.2906, - 3.1351, - 6.4281, - 2.345, - 6.4281 - ], - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - { - "content": "10", - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ], - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - { - "content": "pages", - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ], - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - { - "content": "$1.00", - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ], - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - }, - { - "content": "20%", - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ], - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ], - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - }, - { - "content": "SUBTOTAL", - "polygon": [ - 6.0282, - 6.9118, - 6.7309, - 6.9118, - 6.7309, - 7.0199, - 6.0282, - 7.0199 - ], - "spans": [ - { - "offset": 759, - "length": 8 - } - ] - }, - { - "content": "$100.00", - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ], - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - { - "content": "SALES TAX", - "polygon": [ - 6.0382, - 7.2089, - 6.728, - 7.2089, - 6.728, - 7.317, - 6.0382, - 7.317 - ], - "spans": [ - { - "offset": 776, - "length": 9 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ], - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - { - "content": "TOTAL", - "polygon": [ - 6.2969, - 7.5089, - 6.7309, - 7.5089, - 6.7309, - 7.617, - 6.2969, - 7.617 - ], - "spans": [ - { - "offset": 793, - "length": 5 - } - ] - }, - { - "content": "$110.00", - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ], - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - { - "content": "PREVIOUS UNPAID BALANCE", - "polygon": [ - 4.8126, - 7.8055, - 6.7249, - 7.8055, - 6.7249, - 7.9137, - 4.8126, - 7.9137 - ], - "spans": [ - { - "offset": 807, - "length": 23 - } - ] - }, - { - "content": "$500.00", - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ], - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - { - "content": "AMOUNT DUE", - "polygon": [ - 5.7652, - 8.1022, - 6.725, - 8.1022, - 6.725, - 8.2104, - 5.7652, - 8.2104 - ], - "spans": [ - { - "offset": 839, - "length": 10 - } - ] - }, - { - "content": "$610.00", - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ], - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - }, - { - "content": "THANK YOU FOR YOUR BUSINESS!", - "polygon": [ - 3.129, - 8.539, - 5.356, - 8.539, - 5.356, - 8.6442, - 3.129, - 8.6442 - ], - "spans": [ - { - "offset": 858, - "length": 28 - } - ] - }, - { - "content": "REMIT TO:", - "polygon": [ - 0.5909, - 9.1607, - 1.2603, - 9.1607, - 1.2603, - 9.2608, - 0.5909, - 9.2608 - ], - "spans": [ - { - "offset": 887, - "length": 9 - } - ] - }, - { - "content": "Contoso Billing", - "polygon": [ - 0.5882, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 0.5882, - 9.5059 - ], - "spans": [ - { - "offset": 897, - "length": 15 - } - ] - }, - { - "content": "123 Remit St", - "polygon": [ - 0.5945, - 9.5717, - 1.4337, - 9.5717, - 1.4337, - 9.681, - 0.5945, - 9.681 - ], - "spans": [ - { - "offset": 913, - "length": 12 - } - ] - }, - { - "content": "New York, NY, 10001", - "polygon": [ - 0.5943, - 9.773, - 1.9882, - 9.773, - 1.9882, - 9.9098, - 0.5943, - 9.9098 - ], - "spans": [ - { - "offset": 926, - "length": 19 - } - ] - } - ], - "spans": [ - { - "offset": 0, - "length": 958 - } - ] - } - ], - "tables": [ - { - "rowCount": 4, - "columnCount": 8, - "cells": [ - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "DATE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4932, - 5.329, - 1.3011, - 5.3213, - 1.3011, - 5.6056, - 0.5009, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 549, - "length": 4 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "ITEM CODE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.3213, - 2.2476, - 5.3213, - 2.2399, - 5.6056, - 1.3011, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 554, - "length": 9 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "DESCRIPTION", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2476, - 5.3213, - 4.3174, - 5.329, - 4.3097, - 5.6056, - 2.2399, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 564, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "QTY", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3174, - 5.329, - 4.7483, - 5.329, - 4.7483, - 5.6056, - 4.3097, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 576, - "length": 3 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "UM", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.329, - 5.5639, - 5.329, - 5.5639, - 5.6056, - 4.7483, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 580, - "length": 2 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "PRICE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.329, - 6.495, - 5.329, - 6.495, - 5.6056, - 5.5639, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 583, - "length": 5 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "TAX", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.329, - 7.1875, - 5.329, - 7.1952, - 5.6056, - 6.495, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 589, - "length": 3 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "AMOUNT", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1875, - 5.329, - 7.9954, - 5.329, - 7.9954, - 5.598, - 7.1952, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 593, - "length": 6 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/4/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5009, - 5.6056, - 1.3011, - 5.6056, - 1.3011, - 5.8976, - 0.5009, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "A123", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.6056, - 2.2399, - 5.6056, - 2.2322, - 5.8976, - 1.3011, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Consulting Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2399, - 5.6056, - 4.3097, - 5.6056, - 4.3097, - 5.8976, - 2.2322, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "2 :unselected:", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 5.6056, - 4.7483, - 5.6056, - 4.7483, - 5.8976, - 4.3097, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 634, - "length": 1 - }, - { - "offset": 946, - "length": 12 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "hours", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.6056, - 5.5639, - 5.6056, - 5.5639, - 5.8976, - 4.7483, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.6056, - 6.495, - 5.6056, - 6.495, - 5.8976, - 5.5639, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "10%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.6056, - 7.1952, - 5.6056, - 7.1952, - 5.8976, - 6.495, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 5.6056, - 7.9954, - 5.598, - 7.9954, - 5.9053, - 7.1952, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/5/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5009, - 5.8976, - 1.3011, - 5.8976, - 1.3011, - 6.1973, - 0.5086, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "B456", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.8976, - 2.2322, - 5.8976, - 2.2245, - 6.1973, - 1.3011, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Document Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2322, - 5.8976, - 4.3097, - 5.8976, - 4.3097, - 6.1973, - 2.2245, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "3", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 5.8976, - 4.7483, - 5.8976, - 4.7483, - 6.1973, - 4.3097, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.8976, - 5.5639, - 5.8976, - 5.5639, - 6.1973, - 4.7483, - 6.1973 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 2, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.8976, - 6.495, - 5.8976, - 6.495, - 6.1973, - 5.5639, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "5%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.8976, - 7.1952, - 5.8976, - 7.1952, - 6.1973, - 6.495, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 5.8976, - 7.9954, - 5.9053, - 7.9954, - 6.1896, - 7.1952, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/6/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5086, - 6.1973, - 1.3011, - 6.1973, - 1.3011, - 6.4969, - 0.5086, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "C789", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 6.1973, - 2.2245, - 6.1973, - 2.2245, - 6.4969, - 1.3011, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Printing Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2245, - 6.1973, - 4.3097, - 6.1973, - 4.3097, - 6.4969, - 2.2245, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "10", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 6.1973, - 4.7483, - 6.1973, - 4.7483, - 6.4969, - 4.3097, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "pages", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 6.1973, - 5.5639, - 6.1973, - 5.5639, - 6.4969, - 4.7483, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$1.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 6.1973, - 6.495, - 6.1973, - 6.495, - 6.4969, - 5.5639, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "20%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 6.1973, - 7.1952, - 6.1973, - 7.1952, - 6.4969, - 6.495, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 6.1973, - 7.9954, - 6.1896, - 7.9954, - 6.5046, - 7.1952, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4901, - 5.3293, - 7.9946, - 5.3289, - 7.9954, - 6.5019, - 0.4906, - 6.502 - ] - } - ], - "spans": [ - { - "offset": 549, - "length": 209 - }, - { - "offset": 946, - "length": 12 - } - ] - }, - { - "rowCount": 2, - "columnCount": 6, - "cells": [ - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SALESPERSON", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4977, - 4.565, - 1.8042, - 4.565, - 1.8119, - 4.8388, - 0.5054, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 472, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "P.O. NUMBER", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.8042, - 4.565, - 3.3105, - 4.565, - 3.3105, - 4.8388, - 1.8119, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 484, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "REQUISITIONER", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3105, - 4.565, - 4.6939, - 4.565, - 4.6862, - 4.8388, - 3.3105, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 496, - "length": 13 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "SHIPPED VIA", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.6939, - 4.565, - 5.7468, - 4.565, - 5.7468, - 4.8388, - 4.6862, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 510, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "F.O.B. POINT", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.7468, - 4.565, - 6.815, - 4.565, - 6.815, - 4.8388, - 5.7468, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 522, - "length": 12 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "TERMS", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.815, - 4.565, - 7.9985, - 4.565, - 7.9985, - 4.8388, - 6.815, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 535, - "length": 5 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5054, - 4.8388, - 1.8119, - 4.8388, - 1.8119, - 5.1058, - 0.5131, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "PO-3333", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.8119, - 4.8388, - 3.3105, - 4.8388, - 3.3105, - 5.1058, - 1.8119, - 5.1058 - ] - } - ], - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3105, - 4.8388, - 4.6862, - 4.8388, - 4.6862, - 5.1058, - 3.3105, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.6862, - 4.8388, - 5.7468, - 4.8388, - 5.7468, - 5.1058, - 4.6862, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.7468, - 4.8388, - 6.815, - 4.8388, - 6.815, - 5.1058, - 5.7468, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.815, - 4.8388, - 7.9985, - 4.8388, - 7.9985, - 5.1125, - 6.815, - 5.1058 - ] - } - ], - "spans": [] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4971, - 4.565, - 7.9889, - 4.5653, - 7.989, - 5.1146, - 0.4963, - 5.1141 - ] - } - ], - "spans": [ - { - "offset": 472, - "length": 76 - } - ] - }, - { - "rowCount": 5, - "columnCount": 2, - "cells": [ - { - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SUBTOTAL", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7474, - 6.7934, - 6.8058, - 6.7934, - 6.8105, - 7.0886, - 4.7474, - 7.0886 - ] - } - ], - "spans": [ - { - "offset": 759, - "length": 8 - } - ] - }, - { - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$100.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8058, - 6.7934, - 7.9981, - 6.7934, - 7.9981, - 7.0934, - 6.8105, - 7.0886 - ] - } - ], - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SALES TAX", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7474, - 7.0886, - 6.8105, - 7.0886, - 6.8105, - 7.3743, - 4.7427, - 7.3743 - ] - } - ], - "spans": [ - { - "offset": 776, - "length": 9 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.0886, - 7.9981, - 7.0934, - 7.9981, - 7.3934, - 6.8105, - 7.3743 - ] - } - ], - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "TOTAL", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.3743, - 6.8105, - 7.3743, - 6.8105, - 7.6839, - 4.7427, - 7.6839 - ] - } - ], - "spans": [ - { - "offset": 793, - "length": 5 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$110.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.3743, - 7.9981, - 7.3934, - 7.9981, - 7.6886, - 6.8105, - 7.6839 - ] - } - ], - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "PREVIOUS UNPAID BALANCE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.6839, - 6.8105, - 7.6839, - 6.8105, - 7.9743, - 4.7427, - 7.9743 - ] - } - ], - "spans": [ - { - "offset": 807, - "length": 23 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$500.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.6839, - 7.9981, - 7.6886, - 7.9981, - 7.9839, - 6.8105, - 7.9743 - ] - } - ], - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - { - "rowIndex": 4, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "AMOUNT DUE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.9743, - 6.8105, - 7.9743, - 6.8105, - 8.2839, - 4.7381, - 8.2839 - ] - } - ], - "spans": [ - { - "offset": 839, - "length": 10 - } - ] - }, - { - "rowIndex": 4, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$610.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.9743, - 7.9981, - 7.9839, - 7.9981, - 8.2839, - 6.8105, - 8.2839 - ] - } - ], - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7456, - 6.7793, - 8.0143, - 6.7788, - 8.0137, - 8.2981, - 4.7446, - 8.2981 - ] - } - ], - "spans": [ - { - "offset": 759, - "length": 98 - } - ] - } - ], - "documents": [ - { - "docType": "prebuilt:invoice", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "fields": { - "AmountDue": { - "type": "number", - "valueNumber": 610, - "content": "$610.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - }, - "BillingAddress": { - "type": "string", - "valueString": "123 Bill St, Redmond WA, 98052", - "content": "123 Bill St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 3.9681, - 2.0083, - 3.9681, - 2.0083, - 4.3082, - 0.5943, - 4.3082 - ] - } - ], - "confidence": 0.947, - "spans": [ - { - "offset": 376, - "length": 12 - }, - { - "offset": 418, - "length": 17 - } - ] - }, - "BillingAddressRecipient": { - "type": "string", - "valueString": "Microsoft Finance", - "content": "Microsoft Finance", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 3.7641, - 1.7878, - 3.7641, - 1.7878, - 3.8794, - 0.5943, - 3.8794 - ] - } - ], - "confidence": 0.957, - "spans": [ - { - "offset": 320, - "length": 17 - } - ] - }, - "CustomerAddress": { - "type": "string", - "valueString": "123 Other St, Redmond WA, 98052", - "content": "123 Other St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 2.8476, - 2.0083, - 2.8476, - 2.0083, - 3.1878, - 0.5943, - 3.1878 - ] - } - ], - "confidence": 0.947, - "spans": [ - { - "offset": 253, - "length": 31 - } - ] - }, - "CustomerAddressRecipient": { - "type": "string", - "valueString": "Microsoft Corp", - "content": "Microsoft Corp", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 2.6436, - 1.586, - 2.6436, - 1.586, - 2.7871, - 0.5943, - 2.7871 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 238, - "length": 14 - } - ] - }, - "CustomerId": { - "type": "string", - "valueString": "CID-12345", - "content": "CID-12345", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3369, - 2.4491, - 7.9951, - 2.4491, - 7.9951, - 2.5486, - 7.3369, - 2.5486 - ] - } - ], - "confidence": 0.964, - "spans": [ - { - "offset": 228, - "length": 9 - } - ] - }, - "CustomerName": { - "type": "string", - "valueString": "MICROSOFT CORPORATION", - "content": "MICROSOFT CORPORATION", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2419, - 2.0391, - 7.9825, - 2.0391, - 7.9825, - 2.1386, - 6.2419, - 2.1386 - ] - } - ], - "confidence": 0.949, - "spans": [ - { - "offset": 153, - "length": 21 - } - ] - }, - "DueDate": { - "type": "date", - "valueDate": "2019-12-15", - "content": "12/15/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2494, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 7.2494, - 1.9515 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 127, - "length": 10 - } - ] - }, - "InvoiceDate": { - "type": "date", - "valueDate": "2019-11-15", - "content": "11/15/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2528, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 7.2528, - 1.7449 - ] - } - ], - "confidence": 0.972, - "spans": [ - { - "offset": 86, - "length": 10 - } - ] - }, - "InvoiceId": { - "type": "string", - "valueString": "INV-100", - "content": "INV-100", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4959, - 1.422, - 7.9988, - 1.422, - 7.9988, - 1.5215, - 7.4959, - 1.5215 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 51, - "length": 7 - } - ] - }, - "InvoiceTotal": { - "type": "number", - "valueNumber": 110, - "content": "$110.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - "Items": { - "type": "array", - "valueArray": [ - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 60, - "content": "$60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ] - } - ], - "confidence": 0.902, - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-04", - "content": "3/4/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ] - } - ], - "confidence": 0.938, - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Consulting Services", - "content": "Consulting Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.3388, - 5.6883, - 3.6278, - 5.6883, - 3.6278, - 5.8312, - 2.3388, - 5.8312 - ] - } - ], - "confidence": 0.9, - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "A123", - "content": "A123", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ] - } - ], - "confidence": 0.877, - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 2, - "content": "2", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 634, - "length": 1 - } - ] - }, - "Tax": { - "type": "number", - "content": "10%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ] - } - ], - "confidence": 0.78, - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - "Unit": { - "type": "string", - "valueString": "hours", - "content": "hours", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 30, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ] - } - ], - "confidence": 0.828, - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - } - }, - "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8312, - 0.592, - 5.8312 - ] - } - ], - "confidence": 0.955, - "spans": [ - { - "offset": 600, - "length": 59 - } - ] - }, - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 30, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ] - } - ], - "confidence": 0.916, - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-05", - "content": "3/5/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ] - } - ], - "confidence": 0.902, - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Document Fee", - "content": "Document Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.345, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 2.345, - 6.0997 - ] - } - ], - "confidence": 0.901, - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "B456", - "content": "B456", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ] - } - ], - "confidence": 0.886, - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 3, - "content": "3", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ] - } - ], - "confidence": 0.898, - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - "Tax": { - "type": "number", - "content": "5%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ] - } - ], - "confidence": 0.772, - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ] - } - ], - "confidence": 0.831, - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - } - }, - "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.121, - 0.592, - 6.121 - ] - } - ], - "confidence": 0.941, - "spans": [ - { - "offset": 660, - "length": 45 - } - ] - }, - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ] - } - ], - "confidence": 0.959, - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-06", - "content": "3/6/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ] - } - ], - "confidence": 0.903, - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Printing Fee", - "content": "Printing Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.345, - 6.2906, - 3.1351, - 6.2906, - 3.1351, - 6.4281, - 2.345, - 6.4281 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "C789", - "content": "C789", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ] - } - ], - "confidence": 0.898, - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 10, - "content": "10", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ] - } - ], - "confidence": 0.903, - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - "Tax": { - "type": "number", - "content": "20%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ] - } - ], - "confidence": 0.791, - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - "Unit": { - "type": "string", - "valueString": "pages", - "content": "pages", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 1, - "content": "$1.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ] - } - ], - "confidence": 0.829, - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - } - }, - "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4281, - 0.592, - 6.4281 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 706, - "length": 52 - } - ] - } - ] - }, - "Locale": { - "type": "string", - "valueString": "en-US", - "confidence": 1 - }, - "PreviousUnpaidBalance": { - "type": "number", - "valueNumber": 500, - "content": "$500.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ] - } - ], - "confidence": 0.962, - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - "PurchaseOrder": { - "type": "string", - "valueString": "PO-3333", - "content": "PO-3333", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ] - } - ], - "confidence": 0.967, - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - "RemittanceAddress": { - "type": "string", - "valueString": "123 Remit St New York, NY, 10001", - "content": "123 Remit St New York, NY, 10001", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 9.5717, - 1.9882, - 9.5717, - 1.9882, - 9.9098, - 0.5943, - 9.9098 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 913, - "length": 32 - } - ] - }, - "RemittanceAddressRecipient": { - "type": "string", - "valueString": "Contoso Billing", - "content": "Contoso Billing", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5882, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 0.5882, - 9.5059 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 897, - "length": 15 - } - ] - }, - "ServiceAddress": { - "type": "string", - "valueString": "123 Service St, Redmond WA, 98052", - "content": "123 Service St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2197, - 3.9734, - 7.6337, - 3.9734, - 7.6337, - 4.3082, - 6.2197, - 4.3082 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 402, - "length": 15 - }, - { - "offset": 454, - "length": 17 - } - ] - }, - "ServiceAddressRecipient": { - "type": "string", - "valueString": "Microsoft Services", - "content": "Microsoft Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2197, - 3.7641, - 7.4427, - 3.7641, - 7.4427, - 3.8794, - 6.2197, - 3.8794 - ] - } - ], - "confidence": 0.951, - "spans": [ - { - "offset": 357, - "length": 18 - } - ] - }, - "ServiceEndDate": { - "type": "date", - "valueDate": "2019-11-14", - "content": "11/14/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2528, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 7.2528, - 2.3615 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 204, - "length": 10 - } - ] - }, - "ServiceStartDate": { - "type": "date", - "valueDate": "2019-10-14", - "content": "10/14/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.3357, - 2.2306, - 7.0749, - 2.2306, - 7.0749, - 2.3615, - 6.3357, - 2.3615 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 191, - "length": 10 - } - ] - }, - "ShippingAddress": { - "type": "string", - "valueString": "123 Ship St, Redmond WA, 98052", - "content": "123 Ship St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3454, - 3.9681, - 4.7594, - 3.9681, - 4.7594, - 4.3082, - 3.3454, - 4.3082 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 389, - "length": 12 - }, - { - "offset": 436, - "length": 17 - } - ] - }, - "ShippingAddressRecipient": { - "type": "string", - "valueString": "Microsoft Delivery", - "content": "Microsoft Delivery", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3454, - 3.7641, - 4.5762, - 3.7641, - 4.5762, - 3.9076, - 3.3454, - 3.9076 - ] - } - ], - "confidence": 0.955, - "spans": [ - { - "offset": 338, - "length": 18 - } - ] - }, - "SubTotal": { - "type": "number", - "valueNumber": 100, - "content": "$100.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - "TotalTax": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - "VendorAddress": { - "type": "string", - "valueString": "123 456th St New York, NY, 10001", - "content": "123 456th St New York, NY, 10001", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 1.6092, - 1.9894, - 1.6092, - 1.9894, - 1.9675, - 0.5943, - 1.9675 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 59, - "length": 12 - }, - { - "offset": 97, - "length": 19 - } - ] - }, - "VendorAddressRecipient": { - "type": "string", - "valueString": "Contoso Headquarters", - "content": "Contoso Headquarters", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5882, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 0.5882, - 1.5664 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 21, - "length": 20 - } - ] - }, - "VendorName": { - "type": "string", - "valueString": "CONTOSO LTD.", - "content": "CONTOSO LTD.", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5911, - 0.6857, - 2.3181, - 0.6857, - 2.3181, - 0.8664, - 0.5911, - 0.8664 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 0, - "length": 12 - } - ] - } - }, - "confidence": 1, - "spans": [ - { - "offset": 0, - "length": 958 - } - ] - } - ] - } - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "prebuilt-invoice", + "resultId": "{resultId}" + }, + "responses": { + "200": { + "body": { + "status": "succeeded", + "createdDateTime": "2021-09-24T13:00:46Z", + "lastUpdatedDateTime": "2021-09-24T13:00:49Z", + "analyzeResult": { + "apiVersion": "{apiVersion}", + "modelId": "prebuilt-invoice", + "stringIndexType": "textElements", + "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:", + "pages": [ + { + "pageNumber": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch", + "words": [ + { + "content": "CONTOSO", + "polygon": [ + 0.5911, + 0.6857, + 1.7451, + 0.6857, + 1.7451, + 0.8664, + 0.5911, + 0.8664 + ], + "confidence": 1, + "span": { + "offset": 0, + "length": 7 + } + }, + { + "content": "LTD.", + "polygon": [ + 1.8441, + 0.6879, + 2.3181, + 0.6879, + 2.3181, + 0.865, + 1.8441, + 0.865 + ], + "confidence": 1, + "span": { + "offset": 8, + "length": 4 + } + }, + { + "content": "INVOICE", + "polygon": [ + 7.0751, + 0.589, + 7.9886, + 0.589, + 7.9886, + 0.7697, + 7.0751, + 0.7697 + ], + "confidence": 1, + "span": { + "offset": 13, + "length": 7 + } + }, + { + "content": "Contoso", + "polygon": [ + 0.5882, + 1.4303, + 1.1337, + 1.4303, + 1.1337, + 1.5383, + 0.5882, + 1.5383 + ], + "confidence": 1, + "span": { + "offset": 21, + "length": 7 + } + }, + { + "content": "Headquarters", + "polygon": [ + 1.1905, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 1.1905, + 1.5664 + ], + "confidence": 1, + "span": { + "offset": 29, + "length": 12 + } + }, + { + "content": "INVOICE:", + "polygon": [ + 6.8599, + 1.4217, + 7.4328, + 1.4217, + 7.4328, + 1.5218, + 6.8599, + 1.5218 + ], + "confidence": 1, + "span": { + "offset": 42, + "length": 8 + } + }, + { + "content": "INV-100", + "polygon": [ + 7.4959, + 1.422, + 7.9988, + 1.422, + 7.9988, + 1.5215, + 7.4959, + 1.5215 + ], + "confidence": 1, + "span": { + "offset": 51, + "length": 7 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 1.6339, + 0.8213, + 1.6339, + 0.8213, + 1.742, + 0.5945, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 59, + "length": 3 + } + }, + { + "content": "456th", + "polygon": [ + 0.874, + 1.6092, + 1.2102, + 1.6092, + 1.2102, + 1.742, + 0.874, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 63, + "length": 5 + } + }, + { + "content": "St", + "polygon": [ + 1.2598, + 1.6339, + 1.3812, + 1.6339, + 1.3812, + 1.742, + 1.2598, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 69, + "length": 2 + } + }, + { + "content": "INVOICE", + "polygon": [ + 6.2263, + 1.6254, + 6.7562, + 1.6254, + 6.7562, + 1.7256, + 6.2263, + 1.7256 + ], + "confidence": 1, + "span": { + "offset": 72, + "length": 7 + } + }, + { + "content": "DATE:", + "polygon": [ + 6.8132, + 1.6267, + 7.1891, + 1.6267, + 7.1891, + 1.7248, + 6.8132, + 1.7248 + ], + "confidence": 1, + "span": { + "offset": 80, + "length": 5 + } + }, + { + "content": "11/15/2019", + "polygon": [ + 7.2528, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 7.2528, + 1.7449 + ], + "confidence": 1, + "span": { + "offset": 86, + "length": 10 + } + }, + { + "content": "New", + "polygon": [ + 0.5943, + 1.8385, + 0.8848, + 1.8385, + 0.8848, + 1.9454, + 0.5943, + 1.9454 + ], + "confidence": 1, + "span": { + "offset": 97, + "length": 3 + } + }, + { + "content": "York,", + "polygon": [ + 0.9293, + 1.8307, + 1.2568, + 1.8307, + 1.2568, + 1.9675, + 0.9293, + 1.9675 + ], + "confidence": 1, + "span": { + "offset": 101, + "length": 5 + } + }, + { + "content": "NY,", + "polygon": [ + 1.3205, + 1.8382, + 1.5242, + 1.8382, + 1.5242, + 1.9675, + 1.3205, + 1.9675 + ], + "confidence": 1, + "span": { + "offset": 107, + "length": 3 + } + }, + { + "content": "10001", + "polygon": [ + 1.5915, + 1.8372, + 1.9894, + 1.8372, + 1.9894, + 1.9454, + 1.5915, + 1.9454 + ], + "confidence": 1, + "span": { + "offset": 111, + "length": 5 + } + }, + { + "content": "DUE", + "polygon": [ + 6.4966, + 1.8333, + 6.7569, + 1.8333, + 6.7569, + 1.9322, + 6.4966, + 1.9322 + ], + "confidence": 1, + "span": { + "offset": 117, + "length": 3 + } + }, + { + "content": "DATE:", + "polygon": [ + 6.8126, + 1.8333, + 7.1846, + 1.8333, + 7.1846, + 1.9315, + 6.8126, + 1.9315 + ], + "confidence": 1, + "span": { + "offset": 121, + "length": 5 + } + }, + { + "content": "12/15/2019", + "polygon": [ + 7.2494, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 7.2494, + 1.9515 + ], + "confidence": 1, + "span": { + "offset": 127, + "length": 10 + } + }, + { + "content": "CUSTOMER", + "polygon": [ + 4.9513, + 2.0388, + 5.6868, + 2.0388, + 5.6868, + 2.1389, + 4.9513, + 2.1389 + ], + "confidence": 1, + "span": { + "offset": 138, + "length": 8 + } + }, + { + "content": "NAME:", + "polygon": [ + 5.7412, + 2.04, + 6.1764, + 2.04, + 6.1764, + 2.1381, + 5.7412, + 2.1381 + ], + "confidence": 1, + "span": { + "offset": 147, + "length": 5 + } + }, + { + "content": "MICROSOFT", + "polygon": [ + 6.2419, + 2.0391, + 6.9981, + 2.0391, + 6.9981, + 2.1386, + 6.2419, + 2.1386 + ], + "confidence": 1, + "span": { + "offset": 153, + "length": 9 + } + }, + { + "content": "CORPORATION", + "polygon": [ + 7.0448, + 2.0391, + 7.9825, + 2.0391, + 7.9825, + 2.1386, + 7.0448, + 2.1386 + ], + "confidence": 1, + "span": { + "offset": 163, + "length": 11 + } + }, + { + "content": "SERVICE", + "polygon": [ + 5.1667, + 2.2421, + 5.6923, + 2.2421, + 5.6923, + 2.3422, + 5.1667, + 2.3422 + ], + "confidence": 1, + "span": { + "offset": 175, + "length": 7 + } + }, + { + "content": "PERIOD:", + "polygon": [ + 5.748, + 2.2421, + 6.2721, + 2.2421, + 6.2721, + 2.3422, + 5.748, + 2.3422 + ], + "confidence": 1, + "span": { + "offset": 183, + "length": 7 + } + }, + { + "content": "10/14/2019", + "polygon": [ + 6.3357, + 2.2306, + 7.0749, + 2.2306, + 7.0749, + 2.3615, + 6.3357, + 2.3615 + ], + "confidence": 1, + "span": { + "offset": 191, + "length": 10 + } + }, + { + "content": "–", + "polygon": [ + 7.122, + 2.2922, + 7.1995, + 2.2922, + 7.1995, + 2.3037, + 7.122, + 2.3037 + ], + "confidence": 1, + "span": { + "offset": 202, + "length": 1 + } + }, + { + "content": "11/14/2019", + "polygon": [ + 7.2528, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 7.2528, + 2.3615 + ], + "confidence": 1, + "span": { + "offset": 204, + "length": 10 + } + }, + { + "content": "CUSTOMER", + "polygon": [ + 6.3253, + 2.4488, + 7.0608, + 2.4488, + 7.0608, + 2.5489, + 6.3253, + 2.5489 + ], + "confidence": 1, + "span": { + "offset": 215, + "length": 8 + } + }, + { + "content": "ID:", + "polygon": [ + 7.1153, + 2.45, + 7.2809, + 2.45, + 7.2809, + 2.5481, + 7.1153, + 2.5481 + ], + "confidence": 1, + "span": { + "offset": 224, + "length": 3 + } + }, + { + "content": "CID-12345", + "polygon": [ + 7.3369, + 2.4491, + 7.9951, + 2.4491, + 7.9951, + 2.5486, + 7.3369, + 2.5486 + ], + "confidence": 1, + "span": { + "offset": 228, + "length": 9 + } + }, + { + "content": "Microsoft", + "polygon": [ + 0.5943, + 2.6436, + 1.2303, + 2.6436, + 1.2303, + 2.759, + 0.5943, + 2.759 + ], + "confidence": 1, + "span": { + "offset": 238, + "length": 9 + } + }, + { + "content": "Corp", + "polygon": [ + 1.2808, + 2.651, + 1.586, + 2.651, + 1.586, + 2.7871, + 1.2808, + 2.7871 + ], + "confidence": 1, + "span": { + "offset": 248, + "length": 4 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 2.8541, + 0.8213, + 2.8541, + 0.8213, + 2.9623, + 0.5945, + 2.9623 + ], + "confidence": 1, + "span": { + "offset": 253, + "length": 3 + } + }, + { + "content": "Other", + "polygon": [ + 0.875, + 2.8476, + 1.262, + 2.8476, + 1.262, + 2.9623, + 0.875, + 2.9623 + ], + "confidence": 1, + "span": { + "offset": 257, + "length": 5 + } + }, + { + "content": "St,", + "polygon": [ + 1.3058, + 2.8541, + 1.4633, + 2.8541, + 1.4633, + 2.9845, + 1.3058, + 2.9845 + ], + "confidence": 1, + "span": { + "offset": 263, + "length": 3 + } + }, + { + "content": "Redmond", + "polygon": [ + 0.5943, + 3.0513, + 1.2222, + 3.0513, + 1.2222, + 3.1656, + 0.5943, + 3.1656 + ], + "confidence": 1, + "span": { + "offset": 267, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 1.2753, + 3.0585, + 1.5468, + 3.0585, + 1.5468, + 3.1878, + 1.2753, + 3.1878 + ], + "confidence": 1, + "span": { + "offset": 275, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 1.6033, + 3.0575, + 2.0083, + 3.0575, + 2.0083, + 3.1656, + 1.6033, + 3.1656 + ], + "confidence": 1, + "span": { + "offset": 279, + "length": 5 + } + }, + { + "content": "BILL", + "polygon": [ + 0.5909, + 3.5603, + 0.8438, + 3.5603, + 0.8438, + 3.6579, + 0.5909, + 3.6579 + ], + "confidence": 1, + "span": { + "offset": 285, + "length": 4 + } + }, + { + "content": "TO:", + "polygon": [ + 0.8846, + 3.559, + 1.1032, + 3.559, + 1.1032, + 3.6592, + 0.8846, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 290, + "length": 3 + } + }, + { + "content": "SHIP", + "polygon": [ + 3.3361, + 3.559, + 3.6278, + 3.559, + 3.6278, + 3.6592, + 3.3361, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 294, + "length": 4 + } + }, + { + "content": "TO:", + "polygon": [ + 3.6716, + 3.559, + 3.8903, + 3.559, + 3.8903, + 3.6592, + 3.6716, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 299, + "length": 3 + } + }, + { + "content": "SERVICE", + "polygon": [ + 6.2104, + 3.559, + 6.7361, + 3.559, + 6.7361, + 3.6592, + 6.2104, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 303, + "length": 7 + } + }, + { + "content": "ADDRESS:", + "polygon": [ + 6.7828, + 3.559, + 7.4232, + 3.559, + 7.4232, + 3.6592, + 6.7828, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 311, + "length": 8 + } + }, + { + "content": "Microsoft", + "polygon": [ + 0.5943, + 3.7641, + 1.2303, + 3.7641, + 1.2303, + 3.8794, + 0.5943, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 320, + "length": 9 + } + }, + { + "content": "Finance", + "polygon": [ + 1.287, + 3.7701, + 1.7878, + 3.7701, + 1.7878, + 3.8794, + 1.287, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 330, + "length": 7 + } + }, + { + "content": "Microsoft", + "polygon": [ + 3.3454, + 3.7641, + 3.9814, + 3.7641, + 3.9814, + 3.8794, + 3.3454, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 338, + "length": 9 + } + }, + { + "content": "Delivery", + "polygon": [ + 4.0381, + 3.7647, + 4.5762, + 3.7647, + 4.5762, + 3.9076, + 4.0381, + 3.9076 + ], + "confidence": 1, + "span": { + "offset": 348, + "length": 8 + } + }, + { + "content": "Microsoft", + "polygon": [ + 6.2197, + 3.7641, + 6.8557, + 3.7641, + 6.8557, + 3.8794, + 6.2197, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 357, + "length": 9 + } + }, + { + "content": "Services", + "polygon": [ + 6.9042, + 3.7701, + 7.4427, + 3.7701, + 7.4427, + 3.8794, + 6.9042, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 367, + "length": 8 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 3.9746, + 0.8213, + 3.9746, + 0.8213, + 4.0827, + 0.5945, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 376, + "length": 3 + } + }, + { + "content": "Bill", + "polygon": [ + 0.8842, + 3.9681, + 1.0657, + 3.9681, + 1.0657, + 4.0817, + 0.8842, + 4.0817 + ], + "confidence": 1, + "span": { + "offset": 380, + "length": 4 + } + }, + { + "content": "St,", + "polygon": [ + 1.1222, + 3.9746, + 1.2765, + 3.9746, + 1.2765, + 4.1049, + 1.1222, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 385, + "length": 3 + } + }, + { + "content": "123", + "polygon": [ + 3.3456, + 3.9746, + 3.5724, + 3.9746, + 3.5724, + 4.0827, + 3.3456, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 389, + "length": 3 + } + }, + { + "content": "Ship", + "polygon": [ + 3.6239, + 3.9681, + 3.9042, + 3.9681, + 3.9042, + 4.1109, + 3.6239, + 4.1109 + ], + "confidence": 1, + "span": { + "offset": 393, + "length": 4 + } + }, + { + "content": "St,", + "polygon": [ + 3.9536, + 3.9746, + 4.1111, + 3.9746, + 4.1111, + 4.1049, + 3.9536, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 398, + "length": 3 + } + }, + { + "content": "123", + "polygon": [ + 6.2199, + 3.9746, + 6.4467, + 3.9746, + 6.4467, + 4.0827, + 6.2199, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 402, + "length": 3 + } + }, + { + "content": "Service", + "polygon": [ + 6.4985, + 3.9734, + 6.9738, + 3.9734, + 6.9738, + 4.0827, + 6.4985, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 406, + "length": 7 + } + }, + { + "content": "St,", + "polygon": [ + 7.0246, + 3.9746, + 7.1821, + 3.9746, + 7.1821, + 4.1049, + 7.0246, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 414, + "length": 3 + } + }, + { + "content": "Redmond", + "polygon": [ + 0.5943, + 4.1717, + 1.2222, + 4.1717, + 1.2222, + 4.2861, + 0.5943, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 418, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 1.2753, + 4.1789, + 1.5468, + 4.1789, + 1.5468, + 4.3082, + 1.2753, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 426, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 1.6033, + 4.1779, + 2.0083, + 4.1779, + 2.0083, + 4.2861, + 1.6033, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 430, + "length": 5 + } + }, + { + "content": "Redmond", + "polygon": [ + 3.3454, + 4.1717, + 3.9732, + 4.1717, + 3.9732, + 4.2861, + 3.3454, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 436, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 4.0264, + 4.1789, + 4.2979, + 4.1789, + 4.2979, + 4.3082, + 4.0264, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 444, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 4.3544, + 4.1779, + 4.7594, + 4.1779, + 4.7594, + 4.2861, + 4.3544, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 448, + "length": 5 + } + }, + { + "content": "Redmond", + "polygon": [ + 6.2197, + 4.1717, + 6.8475, + 4.1717, + 6.8475, + 4.2861, + 6.2197, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 454, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 6.9007, + 4.1789, + 7.1722, + 4.1789, + 7.1722, + 4.3082, + 6.9007, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 462, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 7.2287, + 4.1779, + 7.6337, + 4.1779, + 7.6337, + 4.2861, + 7.2287, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 466, + "length": 5 + } + }, + { + "content": "SALESPERSON", + "polygon": [ + 0.7018, + 4.6528, + 1.6092, + 4.6528, + 1.6092, + 4.7529, + 0.7018, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 472, + "length": 11 + } + }, + { + "content": "P.O.", + "polygon": [ + 2.1216, + 4.6528, + 2.3788, + 4.6528, + 2.3788, + 4.7529, + 2.1216, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 484, + "length": 4 + } + }, + { + "content": "NUMBER", + "polygon": [ + 2.4376, + 4.654, + 3.0155, + 4.654, + 3.0155, + 4.7529, + 2.4376, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 489, + "length": 6 + } + }, + { + "content": "REQUISITIONER", + "polygon": [ + 3.4953, + 4.6528, + 4.5157, + 4.6528, + 4.5157, + 4.7687, + 3.4953, + 4.7687 + ], + "confidence": 1, + "span": { + "offset": 496, + "length": 13 + } + }, + { + "content": "SHIPPED", + "polygon": [ + 4.81, + 4.6528, + 5.362, + 4.6528, + 5.362, + 4.7529, + 4.81, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 510, + "length": 7 + } + }, + { + "content": "VIA", + "polygon": [ + 5.409, + 4.654, + 5.6317, + 4.654, + 5.6317, + 4.7517, + 5.409, + 4.7517 + ], + "confidence": 1, + "span": { + "offset": 518, + "length": 3 + } + }, + { + "content": "F.O.B.", + "polygon": [ + 5.8696, + 4.6528, + 6.2467, + 4.6528, + 6.2467, + 4.7529, + 5.8696, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 522, + "length": 6 + } + }, + { + "content": "POINT", + "polygon": [ + 6.3054, + 4.6528, + 6.706, + 4.6528, + 6.706, + 4.7529, + 6.3054, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 529, + "length": 5 + } + }, + { + "content": "TERMS", + "polygon": [ + 7.1806, + 4.6528, + 7.6304, + 4.6528, + 7.6304, + 4.7529, + 7.1806, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 535, + "length": 5 + } + }, + { + "content": "PO-3333", + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ], + "confidence": 1, + "span": { + "offset": 541, + "length": 7 + } + }, + { + "content": "DATE", + "polygon": [ + 0.7409, + 5.421, + 1.0744, + 5.421, + 1.0744, + 5.5186, + 0.7409, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 549, + "length": 4 + } + }, + { + "content": "ITEM", + "polygon": [ + 1.4213, + 5.421, + 1.7338, + 5.421, + 1.7338, + 5.5186, + 1.4213, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 554, + "length": 4 + } + }, + { + "content": "CODE", + "polygon": [ + 1.7893, + 5.4197, + 2.1407, + 5.4197, + 2.1407, + 5.5199, + 1.7893, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 559, + "length": 4 + } + }, + { + "content": "DESCRIPTION", + "polygon": [ + 2.8516, + 5.4197, + 3.7134, + 5.4197, + 3.7134, + 5.5199, + 2.8516, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 564, + "length": 11 + } + }, + { + "content": "QTY", + "polygon": [ + 4.4043, + 5.4197, + 4.6631, + 5.4197, + 4.6631, + 5.5357, + 4.4043, + 5.5357 + ], + "confidence": 1, + "span": { + "offset": 576, + "length": 3 + } + }, + { + "content": "UM", + "polygon": [ + 5.049, + 5.421, + 5.2654, + 5.421, + 5.2654, + 5.5199, + 5.049, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 580, + "length": 2 + } + }, + { + "content": "PRICE", + "polygon": [ + 5.8563, + 5.4199, + 6.2163, + 5.4199, + 6.2163, + 5.5197, + 5.8563, + 5.5197 + ], + "confidence": 1, + "span": { + "offset": 583, + "length": 5 + } + }, + { + "content": "TAX", + "polygon": [ + 6.7169, + 5.421, + 6.974, + 5.421, + 6.974, + 5.5186, + 6.7169, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 589, + "length": 3 + } + }, + { + "content": "AMOUNT", + "polygon": [ + 7.2847, + 5.4197, + 7.9039, + 5.4197, + 7.9039, + 5.5199, + 7.2847, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 593, + "length": 6 + } + }, + { + "content": "3/4/2021", + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ], + "confidence": 1, + "span": { + "offset": 600, + "length": 8 + } + }, + { + "content": "A123", + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 609, + "length": 4 + } + }, + { + "content": "Consulting", + "polygon": [ + 2.3388, + 5.6883, + 3.0438, + 5.6883, + 3.0438, + 5.8312, + 2.3388, + 5.8312 + ], + "confidence": 1, + "span": { + "offset": 614, + "length": 10 + } + }, + { + "content": "Services", + "polygon": [ + 3.0925, + 5.6937, + 3.6278, + 5.6937, + 3.6278, + 5.803, + 3.0925, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 625, + "length": 8 + } + }, + { + "content": "2", + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ], + "confidence": 1, + "span": { + "offset": 634, + "length": 1 + } + }, + { + "content": "hours", + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 636, + "length": 5 + } + }, + { + "content": "$30.00", + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ], + "confidence": 1, + "span": { + "offset": 642, + "length": 6 + } + }, + { + "content": "10%", + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ], + "confidence": 1, + "span": { + "offset": 649, + "length": 3 + } + }, + { + "content": "$60.00", + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ], + "confidence": 1, + "span": { + "offset": 653, + "length": 6 + } + }, + { + "content": "3/5/2021", + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ], + "confidence": 1, + "span": { + "offset": 660, + "length": 8 + } + }, + { + "content": "B456", + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 669, + "length": 4 + } + }, + { + "content": "Document", + "polygon": [ + 2.345, + 5.993, + 3.0318, + 5.993, + 3.0318, + 6.0997, + 2.345, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 674, + "length": 8 + } + }, + { + "content": "Fee", + "polygon": [ + 3.0887, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 3.0887, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 683, + "length": 3 + } + }, + { + "content": "3", + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 687, + "length": 1 + } + }, + { + "content": "$10.00", + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ], + "confidence": 1, + "span": { + "offset": 689, + "length": 6 + } + }, + { + "content": "5%", + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ], + "confidence": 1, + "span": { + "offset": 696, + "length": 2 + } + }, + { + "content": "$30.00", + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ], + "confidence": 1, + "span": { + "offset": 699, + "length": 6 + } + }, + { + "content": "3/6/2021", + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ], + "confidence": 1, + "span": { + "offset": 706, + "length": 8 + } + }, + { + "content": "C789", + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 715, + "length": 4 + } + }, + { + "content": "Printing", + "polygon": [ + 2.345, + 6.2906, + 2.8575, + 6.2906, + 2.8575, + 6.4281, + 2.345, + 6.4281 + ], + "confidence": 1, + "span": { + "offset": 720, + "length": 8 + } + }, + { + "content": "Fee", + "polygon": [ + 2.9143, + 6.2933, + 3.1351, + 6.2933, + 3.1351, + 6.3999, + 2.9143, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 729, + "length": 3 + } + }, + { + "content": "10", + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 733, + "length": 2 + } + }, + { + "content": "pages", + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ], + "confidence": 1, + "span": { + "offset": 736, + "length": 5 + } + }, + { + "content": "$1.00", + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ], + "confidence": 1, + "span": { + "offset": 742, + "length": 5 + } + }, + { + "content": "20%", + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ], + "confidence": 1, + "span": { + "offset": 748, + "length": 3 + } + }, + { + "content": "$10.00", + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ], + "confidence": 1, + "span": { + "offset": 752, + "length": 6 + } + }, + { + "content": "SUBTOTAL", + "polygon": [ + 6.0282, + 6.9118, + 6.7309, + 6.9118, + 6.7309, + 7.0199, + 6.0282, + 7.0199 + ], + "confidence": 1, + "span": { + "offset": 759, + "length": 8 + } + }, + { + "content": "$100.00", + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ], + "confidence": 1, + "span": { + "offset": 768, + "length": 7 + } + }, + { + "content": "SALES", + "polygon": [ + 6.0382, + 7.2089, + 6.4262, + 7.2089, + 6.4262, + 7.317, + 6.0382, + 7.317 + ], + "confidence": 1, + "span": { + "offset": 776, + "length": 5 + } + }, + { + "content": "TAX", + "polygon": [ + 6.4702, + 7.2099, + 6.728, + 7.2099, + 6.728, + 7.316, + 6.4702, + 7.316 + ], + "confidence": 1, + "span": { + "offset": 782, + "length": 3 + } + }, + { + "content": "$10.00", + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ], + "confidence": 1, + "span": { + "offset": 786, + "length": 6 + } + }, + { + "content": "TOTAL", + "polygon": [ + 6.2969, + 7.5089, + 6.7309, + 7.5089, + 6.7309, + 7.617, + 6.2969, + 7.617 + ], + "confidence": 1, + "span": { + "offset": 793, + "length": 5 + } + }, + { + "content": "$110.00", + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ], + "confidence": 1, + "span": { + "offset": 799, + "length": 7 + } + }, + { + "content": "PREVIOUS", + "polygon": [ + 4.8126, + 7.8055, + 5.4789, + 7.8055, + 5.4789, + 7.9137, + 4.8126, + 7.9137 + ], + "confidence": 1, + "span": { + "offset": 807, + "length": 8 + } + }, + { + "content": "UNPAID", + "polygon": [ + 5.5362, + 7.8065, + 6.057, + 7.8065, + 6.057, + 7.9137, + 5.5362, + 7.9137 + ], + "confidence": 1, + "span": { + "offset": 816, + "length": 6 + } + }, + { + "content": "BALANCE", + "polygon": [ + 6.1164, + 7.8057, + 6.7249, + 7.8057, + 6.7249, + 7.9135, + 6.1164, + 7.9135 + ], + "confidence": 1, + "span": { + "offset": 823, + "length": 7 + } + }, + { + "content": "$500.00", + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ], + "confidence": 1, + "span": { + "offset": 831, + "length": 7 + } + }, + { + "content": "AMOUNT", + "polygon": [ + 5.7652, + 8.1022, + 6.4055, + 8.1022, + 6.4055, + 8.2104, + 5.7652, + 8.2104 + ], + "confidence": 1, + "span": { + "offset": 839, + "length": 6 + } + }, + { + "content": "DUE", + "polygon": [ + 6.4562, + 8.1032, + 6.725, + 8.1032, + 6.725, + 8.2104, + 6.4562, + 8.2104 + ], + "confidence": 1, + "span": { + "offset": 846, + "length": 3 + } + }, + { + "content": "$610.00", + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ], + "confidence": 1, + "span": { + "offset": 850, + "length": 7 + } + }, + { + "content": "THANK", + "polygon": [ + 3.129, + 8.5453, + 3.5887, + 8.5453, + 3.5887, + 8.6429, + 3.129, + 8.6429 + ], + "confidence": 1, + "span": { + "offset": 858, + "length": 5 + } + }, + { + "content": "YOU", + "polygon": [ + 3.6316, + 8.544, + 3.9064, + 8.544, + 3.9064, + 8.6442, + 3.6316, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 864, + "length": 3 + } + }, + { + "content": "FOR", + "polygon": [ + 3.9671, + 8.544, + 4.2187, + 8.544, + 4.2187, + 8.6442, + 3.9671, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 868, + "length": 3 + } + }, + { + "content": "YOUR", + "polygon": [ + 4.2638, + 8.544, + 4.6347, + 8.544, + 4.6347, + 8.6442, + 4.2638, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 872, + "length": 4 + } + }, + { + "content": "BUSINESS!", + "polygon": [ + 4.6859, + 8.539, + 5.356, + 8.539, + 5.356, + 8.6442, + 4.6859, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 877, + "length": 9 + } + }, + { + "content": "REMIT", + "polygon": [ + 0.5909, + 9.1619, + 1.0014, + 9.1619, + 1.0014, + 9.2596, + 0.5909, + 9.2596 + ], + "confidence": 1, + "span": { + "offset": 887, + "length": 5 + } + }, + { + "content": "TO:", + "polygon": [ + 1.0446, + 9.1607, + 1.2603, + 9.1607, + 1.2603, + 9.2608, + 1.0446, + 9.2608 + ], + "confidence": 1, + "span": { + "offset": 893, + "length": 3 + } + }, + { + "content": "Contoso", + "polygon": [ + 0.5882, + 9.3697, + 1.1337, + 9.3697, + 1.1337, + 9.4777, + 0.5882, + 9.4777 + ], + "confidence": 1, + "span": { + "offset": 897, + "length": 7 + } + }, + { + "content": "Billing", + "polygon": [ + 1.1905, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 1.1905, + 9.5059 + ], + "confidence": 1, + "span": { + "offset": 905, + "length": 7 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 9.5728, + 0.8213, + 9.5728, + 0.8213, + 9.681, + 0.5945, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 913, + "length": 3 + } + }, + { + "content": "Remit", + "polygon": [ + 0.881, + 9.5717, + 1.264, + 9.5717, + 1.264, + 9.681, + 0.881, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 917, + "length": 5 + } + }, + { + "content": "St", + "polygon": [ + 1.3125, + 9.5728, + 1.4337, + 9.5728, + 1.4337, + 9.681, + 1.3125, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 923, + "length": 2 + } + }, + { + "content": "New", + "polygon": [ + 0.5943, + 9.7808, + 0.8848, + 9.7808, + 0.8848, + 9.8877, + 0.5943, + 9.8877 + ], + "confidence": 1, + "span": { + "offset": 926, + "length": 3 + } + }, + { + "content": "York,", + "polygon": [ + 0.9293, + 9.773, + 1.2568, + 9.773, + 1.2568, + 9.9098, + 0.9293, + 9.9098 + ], + "confidence": 1, + "span": { + "offset": 930, + "length": 5 + } + }, + { + "content": "NY,", + "polygon": [ + 1.3205, + 9.7805, + 1.5233, + 9.7805, + 1.5233, + 9.9098, + 1.3205, + 9.9098 + ], + "confidence": 1, + "span": { + "offset": 936, + "length": 3 + } + }, + { + "content": "10001", + "polygon": [ + 1.5903, + 9.7795, + 1.9882, + 9.7795, + 1.9882, + 9.8877, + 1.5903, + 9.8877 + ], + "confidence": 1, + "span": { + "offset": 940, + "length": 5 + } + } + ], + "selectionMarks": [ + { + "state": "unselected", + "polygon": [ + 4.3231, + 5.6279, + 4.7562, + 5.6279, + 4.7562, + 5.8654, + 4.3231, + 5.8654 + ], + "confidence": 0.212, + "span": { + "offset": 946, + "length": 12 + } + } + ], + "lines": [ + { + "content": "CONTOSO LTD.", + "polygon": [ + 0.5911, + 0.6857, + 2.3181, + 0.6857, + 2.3181, + 0.8664, + 0.5911, + 0.8664 + ], + "spans": [ + { + "offset": 0, + "length": 12 + } + ] + }, + { + "content": "INVOICE", + "polygon": [ + 7.0751, + 0.589, + 7.9886, + 0.589, + 7.9886, + 0.7697, + 7.0751, + 0.7697 + ], + "spans": [ + { + "offset": 13, + "length": 7 + } + ] + }, + { + "content": "Contoso Headquarters", + "polygon": [ + 0.5882, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 0.5882, + 1.5664 + ], + "spans": [ + { + "offset": 21, + "length": 20 + } + ] + }, + { + "content": "INVOICE: INV-100", + "polygon": [ + 6.8599, + 1.4217, + 7.9988, + 1.4217, + 7.9988, + 1.5218, + 6.8599, + 1.5218 + ], + "spans": [ + { + "offset": 42, + "length": 16 + } + ] + }, + { + "content": "123 456th St", + "polygon": [ + 0.5945, + 1.6092, + 1.3812, + 1.6092, + 1.3812, + 1.742, + 0.5945, + 1.742 + ], + "spans": [ + { + "offset": 59, + "length": 12 + } + ] + }, + { + "content": "INVOICE DATE: 11/15/2019", + "polygon": [ + 6.2263, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 6.2263, + 1.7449 + ], + "spans": [ + { + "offset": 72, + "length": 24 + } + ] + }, + { + "content": "New York, NY, 10001", + "polygon": [ + 0.5943, + 1.8307, + 1.9894, + 1.8307, + 1.9894, + 1.9675, + 0.5943, + 1.9675 + ], + "spans": [ + { + "offset": 97, + "length": 19 + } + ] + }, + { + "content": "DUE DATE: 12/15/2019", + "polygon": [ + 6.4966, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 6.4966, + 1.9515 + ], + "spans": [ + { + "offset": 117, + "length": 20 + } + ] + }, + { + "content": "CUSTOMER NAME: MICROSOFT CORPORATION", + "polygon": [ + 4.9513, + 2.0388, + 7.9825, + 2.0388, + 7.9825, + 2.1389, + 4.9513, + 2.1389 + ], + "spans": [ + { + "offset": 138, + "length": 36 + } + ] + }, + { + "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019", + "polygon": [ + 5.1667, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 5.1667, + 2.3615 + ], + "spans": [ + { + "offset": 175, + "length": 39 + } + ] + }, + { + "content": "CUSTOMER ID: CID-12345", + "polygon": [ + 6.3253, + 2.4488, + 7.9951, + 2.4488, + 7.9951, + 2.5489, + 6.3253, + 2.5489 + ], + "spans": [ + { + "offset": 215, + "length": 22 + } + ] + }, + { + "content": "Microsoft Corp", + "polygon": [ + 0.5943, + 2.6436, + 1.586, + 2.6436, + 1.586, + 2.7871, + 0.5943, + 2.7871 + ], + "spans": [ + { + "offset": 238, + "length": 14 + } + ] + }, + { + "content": "123 Other St,", + "polygon": [ + 0.5945, + 2.8476, + 1.4633, + 2.8476, + 1.4633, + 2.9845, + 0.5945, + 2.9845 + ], + "spans": [ + { + "offset": 253, + "length": 13 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 0.5943, + 3.0513, + 2.0083, + 3.0513, + 2.0083, + 3.1878, + 0.5943, + 3.1878 + ], + "spans": [ + { + "offset": 267, + "length": 17 + } + ] + }, + { + "content": "BILL TO:", + "polygon": [ + 0.5909, + 3.559, + 1.1032, + 3.559, + 1.1032, + 3.6592, + 0.5909, + 3.6592 + ], + "spans": [ + { + "offset": 285, + "length": 8 + } + ] + }, + { + "content": "SHIP TO:", + "polygon": [ + 3.3361, + 3.559, + 3.8903, + 3.559, + 3.8903, + 3.6592, + 3.3361, + 3.6592 + ], + "spans": [ + { + "offset": 294, + "length": 8 + } + ] + }, + { + "content": "SERVICE ADDRESS:", + "polygon": [ + 6.2104, + 3.559, + 7.4232, + 3.559, + 7.4232, + 3.6592, + 6.2104, + 3.6592 + ], + "spans": [ + { + "offset": 303, + "length": 16 + } + ] + }, + { + "content": "Microsoft Finance", + "polygon": [ + 0.5943, + 3.7641, + 1.7878, + 3.7641, + 1.7878, + 3.8794, + 0.5943, + 3.8794 + ], + "spans": [ + { + "offset": 320, + "length": 17 + } + ] + }, + { + "content": "Microsoft Delivery", + "polygon": [ + 3.3454, + 3.7641, + 4.5762, + 3.7641, + 4.5762, + 3.9076, + 3.3454, + 3.9076 + ], + "spans": [ + { + "offset": 338, + "length": 18 + } + ] + }, + { + "content": "Microsoft Services", + "polygon": [ + 6.2197, + 3.7641, + 7.4427, + 3.7641, + 7.4427, + 3.8794, + 6.2197, + 3.8794 + ], + "spans": [ + { + "offset": 357, + "length": 18 + } + ] + }, + { + "content": "123 Bill St,", + "polygon": [ + 0.5945, + 3.9681, + 1.2765, + 3.9681, + 1.2765, + 4.1049, + 0.5945, + 4.1049 + ], + "spans": [ + { + "offset": 376, + "length": 12 + } + ] + }, + { + "content": "123 Ship St,", + "polygon": [ + 3.3456, + 3.9681, + 4.1111, + 3.9681, + 4.1111, + 4.1109, + 3.3456, + 4.1109 + ], + "spans": [ + { + "offset": 389, + "length": 12 + } + ] + }, + { + "content": "123 Service St,", + "polygon": [ + 6.2199, + 3.9734, + 7.1821, + 3.9734, + 7.1821, + 4.1049, + 6.2199, + 4.1049 + ], + "spans": [ + { + "offset": 402, + "length": 15 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 0.5943, + 4.1717, + 2.0083, + 4.1717, + 2.0083, + 4.3082, + 0.5943, + 4.3082 + ], + "spans": [ + { + "offset": 418, + "length": 17 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 3.3454, + 4.1717, + 4.7594, + 4.1717, + 4.7594, + 4.3082, + 3.3454, + 4.3082 + ], + "spans": [ + { + "offset": 436, + "length": 17 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 6.2197, + 4.1717, + 7.6337, + 4.1717, + 7.6337, + 4.3082, + 6.2197, + 4.3082 + ], + "spans": [ + { + "offset": 454, + "length": 17 + } + ] + }, + { + "content": "SALESPERSON", + "polygon": [ + 0.7018, + 4.6528, + 1.6092, + 4.6528, + 1.6092, + 4.7529, + 0.7018, + 4.7529 + ], + "spans": [ + { + "offset": 472, + "length": 11 + } + ] + }, + { + "content": "P.O. NUMBER", + "polygon": [ + 2.1216, + 4.6528, + 3.0155, + 4.6528, + 3.0155, + 4.7529, + 2.1216, + 4.7529 + ], + "spans": [ + { + "offset": 484, + "length": 11 + } + ] + }, + { + "content": "REQUISITIONER", + "polygon": [ + 3.4953, + 4.6528, + 4.5157, + 4.6528, + 4.5157, + 4.7687, + 3.4953, + 4.7687 + ], + "spans": [ + { + "offset": 496, + "length": 13 + } + ] + }, + { + "content": "SHIPPED VIA", + "polygon": [ + 4.81, + 4.6528, + 5.6317, + 4.6528, + 5.6317, + 4.7529, + 4.81, + 4.7529 + ], + "spans": [ + { + "offset": 510, + "length": 11 + } + ] + }, + { + "content": "F.O.B. POINT", + "polygon": [ + 5.8696, + 4.6528, + 6.706, + 4.6528, + 6.706, + 4.7529, + 5.8696, + 4.7529 + ], + "spans": [ + { + "offset": 522, + "length": 12 + } + ] + }, + { + "content": "TERMS", + "polygon": [ + 7.1806, + 4.6528, + 7.6304, + 4.6528, + 7.6304, + 4.7529, + 7.1806, + 4.7529 + ], + "spans": [ + { + "offset": 535, + "length": 5 + } + ] + }, + { + "content": "PO-3333", + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ], + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + { + "content": "DATE", + "polygon": [ + 0.7409, + 5.421, + 1.0744, + 5.421, + 1.0744, + 5.5186, + 0.7409, + 5.5186 + ], + "spans": [ + { + "offset": 549, + "length": 4 + } + ] + }, + { + "content": "ITEM CODE", + "polygon": [ + 1.4213, + 5.4197, + 2.1407, + 5.4197, + 2.1407, + 5.5199, + 1.4213, + 5.5199 + ], + "spans": [ + { + "offset": 554, + "length": 9 + } + ] + }, + { + "content": "DESCRIPTION", + "polygon": [ + 2.8516, + 5.4197, + 3.7134, + 5.4197, + 3.7134, + 5.5199, + 2.8516, + 5.5199 + ], + "spans": [ + { + "offset": 564, + "length": 11 + } + ] + }, + { + "content": "QTY", + "polygon": [ + 4.4043, + 5.4197, + 4.6631, + 5.4197, + 4.6631, + 5.5357, + 4.4043, + 5.5357 + ], + "spans": [ + { + "offset": 576, + "length": 3 + } + ] + }, + { + "content": "UM", + "polygon": [ + 5.049, + 5.421, + 5.2654, + 5.421, + 5.2654, + 5.5199, + 5.049, + 5.5199 + ], + "spans": [ + { + "offset": 580, + "length": 2 + } + ] + }, + { + "content": "PRICE", + "polygon": [ + 5.8563, + 5.4199, + 6.2163, + 5.4199, + 6.2163, + 5.5197, + 5.8563, + 5.5197 + ], + "spans": [ + { + "offset": 583, + "length": 5 + } + ] + }, + { + "content": "TAX", + "polygon": [ + 6.7169, + 5.421, + 6.974, + 5.421, + 6.974, + 5.5186, + 6.7169, + 5.5186 + ], + "spans": [ + { + "offset": 589, + "length": 3 + } + ] + }, + { + "content": "AMOUNT", + "polygon": [ + 7.2847, + 5.4197, + 7.9039, + 5.4197, + 7.9039, + 5.5199, + 7.2847, + 5.5199 + ], + "spans": [ + { + "offset": 593, + "length": 6 + } + ] + }, + { + "content": "3/4/2021", + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ], + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + { + "content": "A123", + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ], + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + { + "content": "Consulting Services", + "polygon": [ + 2.3388, + 5.6883, + 3.6278, + 5.6883, + 3.6278, + 5.8312, + 2.3388, + 5.8312 + ], + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + { + "content": "2", + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ], + "spans": [ + { + "offset": 634, + "length": 1 + } + ] + }, + { + "content": "hours", + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ], + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + { + "content": "$30.00", + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ], + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + }, + { + "content": "10%", + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ], + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + { + "content": "$60.00", + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ], + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + { + "content": "3/5/2021", + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ], + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + { + "content": "B456", + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ], + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + { + "content": "Document Fee", + "polygon": [ + 2.345, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 2.345, + 6.0997 + ], + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + { + "content": "3", + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ], + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ], + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + }, + { + "content": "5%", + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ], + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + { + "content": "$30.00", + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ], + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + { + "content": "3/6/2021", + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ], + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + { + "content": "C789", + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ], + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + { + "content": "Printing Fee", + "polygon": [ + 2.345, + 6.2906, + 3.1351, + 6.2906, + 3.1351, + 6.4281, + 2.345, + 6.4281 + ], + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + { + "content": "10", + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ], + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + { + "content": "pages", + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ], + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + { + "content": "$1.00", + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ], + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + }, + { + "content": "20%", + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ], + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ], + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + }, + { + "content": "SUBTOTAL", + "polygon": [ + 6.0282, + 6.9118, + 6.7309, + 6.9118, + 6.7309, + 7.0199, + 6.0282, + 7.0199 + ], + "spans": [ + { + "offset": 759, + "length": 8 + } + ] + }, + { + "content": "$100.00", + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ], + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + { + "content": "SALES TAX", + "polygon": [ + 6.0382, + 7.2089, + 6.728, + 7.2089, + 6.728, + 7.317, + 6.0382, + 7.317 + ], + "spans": [ + { + "offset": 776, + "length": 9 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ], + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + { + "content": "TOTAL", + "polygon": [ + 6.2969, + 7.5089, + 6.7309, + 7.5089, + 6.7309, + 7.617, + 6.2969, + 7.617 + ], + "spans": [ + { + "offset": 793, + "length": 5 + } + ] + }, + { + "content": "$110.00", + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ], + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + { + "content": "PREVIOUS UNPAID BALANCE", + "polygon": [ + 4.8126, + 7.8055, + 6.7249, + 7.8055, + 6.7249, + 7.9137, + 4.8126, + 7.9137 + ], + "spans": [ + { + "offset": 807, + "length": 23 + } + ] + }, + { + "content": "$500.00", + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ], + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + { + "content": "AMOUNT DUE", + "polygon": [ + 5.7652, + 8.1022, + 6.725, + 8.1022, + 6.725, + 8.2104, + 5.7652, + 8.2104 + ], + "spans": [ + { + "offset": 839, + "length": 10 + } + ] + }, + { + "content": "$610.00", + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ], + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + }, + { + "content": "THANK YOU FOR YOUR BUSINESS!", + "polygon": [ + 3.129, + 8.539, + 5.356, + 8.539, + 5.356, + 8.6442, + 3.129, + 8.6442 + ], + "spans": [ + { + "offset": 858, + "length": 28 + } + ] + }, + { + "content": "REMIT TO:", + "polygon": [ + 0.5909, + 9.1607, + 1.2603, + 9.1607, + 1.2603, + 9.2608, + 0.5909, + 9.2608 + ], + "spans": [ + { + "offset": 887, + "length": 9 + } + ] + }, + { + "content": "Contoso Billing", + "polygon": [ + 0.5882, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 0.5882, + 9.5059 + ], + "spans": [ + { + "offset": 897, + "length": 15 + } + ] + }, + { + "content": "123 Remit St", + "polygon": [ + 0.5945, + 9.5717, + 1.4337, + 9.5717, + 1.4337, + 9.681, + 0.5945, + 9.681 + ], + "spans": [ + { + "offset": 913, + "length": 12 + } + ] + }, + { + "content": "New York, NY, 10001", + "polygon": [ + 0.5943, + 9.773, + 1.9882, + 9.773, + 1.9882, + 9.9098, + 0.5943, + 9.9098 + ], + "spans": [ + { + "offset": 926, + "length": 19 + } + ] + } + ], + "spans": [ + { + "offset": 0, + "length": 958 + } + ] + } + ], + "tables": [ + { + "rowCount": 4, + "columnCount": 8, + "cells": [ + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "DATE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4932, + 5.329, + 1.3011, + 5.3213, + 1.3011, + 5.6056, + 0.5009, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 549, + "length": 4 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "ITEM CODE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.3213, + 2.2476, + 5.3213, + 2.2399, + 5.6056, + 1.3011, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 554, + "length": 9 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "DESCRIPTION", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2476, + 5.3213, + 4.3174, + 5.329, + 4.3097, + 5.6056, + 2.2399, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 564, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "QTY", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3174, + 5.329, + 4.7483, + 5.329, + 4.7483, + 5.6056, + 4.3097, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 576, + "length": 3 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "UM", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.329, + 5.5639, + 5.329, + 5.5639, + 5.6056, + 4.7483, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 580, + "length": 2 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "PRICE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.329, + 6.495, + 5.329, + 6.495, + 5.6056, + 5.5639, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 583, + "length": 5 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "TAX", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.329, + 7.1875, + 5.329, + 7.1952, + 5.6056, + 6.495, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 589, + "length": 3 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "AMOUNT", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1875, + 5.329, + 7.9954, + 5.329, + 7.9954, + 5.598, + 7.1952, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 593, + "length": 6 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/4/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5009, + 5.6056, + 1.3011, + 5.6056, + 1.3011, + 5.8976, + 0.5009, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "A123", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.6056, + 2.2399, + 5.6056, + 2.2322, + 5.8976, + 1.3011, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Consulting Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2399, + 5.6056, + 4.3097, + 5.6056, + 4.3097, + 5.8976, + 2.2322, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "2 :unselected:", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 5.6056, + 4.7483, + 5.6056, + 4.7483, + 5.8976, + 4.3097, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 634, + "length": 1 + }, + { + "offset": 946, + "length": 12 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "hours", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.6056, + 5.5639, + 5.6056, + 5.5639, + 5.8976, + 4.7483, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.6056, + 6.495, + 5.6056, + 6.495, + 5.8976, + 5.5639, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "10%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.6056, + 7.1952, + 5.6056, + 7.1952, + 5.8976, + 6.495, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 5.6056, + 7.9954, + 5.598, + 7.9954, + 5.9053, + 7.1952, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/5/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5009, + 5.8976, + 1.3011, + 5.8976, + 1.3011, + 6.1973, + 0.5086, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "B456", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.8976, + 2.2322, + 5.8976, + 2.2245, + 6.1973, + 1.3011, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Document Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2322, + 5.8976, + 4.3097, + 5.8976, + 4.3097, + 6.1973, + 2.2245, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "3", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 5.8976, + 4.7483, + 5.8976, + 4.7483, + 6.1973, + 4.3097, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.8976, + 5.5639, + 5.8976, + 5.5639, + 6.1973, + 4.7483, + 6.1973 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.8976, + 6.495, + 5.8976, + 6.495, + 6.1973, + 5.5639, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "5%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.8976, + 7.1952, + 5.8976, + 7.1952, + 6.1973, + 6.495, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 5.8976, + 7.9954, + 5.9053, + 7.9954, + 6.1896, + 7.1952, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/6/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5086, + 6.1973, + 1.3011, + 6.1973, + 1.3011, + 6.4969, + 0.5086, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "C789", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 6.1973, + 2.2245, + 6.1973, + 2.2245, + 6.4969, + 1.3011, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Printing Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2245, + 6.1973, + 4.3097, + 6.1973, + 4.3097, + 6.4969, + 2.2245, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "10", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 6.1973, + 4.7483, + 6.1973, + 4.7483, + 6.4969, + 4.3097, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "pages", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 6.1973, + 5.5639, + 6.1973, + 5.5639, + 6.4969, + 4.7483, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$1.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 6.1973, + 6.495, + 6.1973, + 6.495, + 6.4969, + 5.5639, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "20%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 6.1973, + 7.1952, + 6.1973, + 7.1952, + 6.4969, + 6.495, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 6.1973, + 7.9954, + 6.1896, + 7.9954, + 6.5046, + 7.1952, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4901, + 5.3293, + 7.9946, + 5.3289, + 7.9954, + 6.5019, + 0.4906, + 6.502 + ] + } + ], + "spans": [ + { + "offset": 549, + "length": 209 + }, + { + "offset": 946, + "length": 12 + } + ] + }, + { + "rowCount": 2, + "columnCount": 6, + "cells": [ + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SALESPERSON", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4977, + 4.565, + 1.8042, + 4.565, + 1.8119, + 4.8388, + 0.5054, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 472, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "P.O. NUMBER", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.8042, + 4.565, + 3.3105, + 4.565, + 3.3105, + 4.8388, + 1.8119, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 484, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "REQUISITIONER", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3105, + 4.565, + 4.6939, + 4.565, + 4.6862, + 4.8388, + 3.3105, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 496, + "length": 13 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "SHIPPED VIA", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.6939, + 4.565, + 5.7468, + 4.565, + 5.7468, + 4.8388, + 4.6862, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 510, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "F.O.B. POINT", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.7468, + 4.565, + 6.815, + 4.565, + 6.815, + 4.8388, + 5.7468, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 522, + "length": 12 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "TERMS", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.815, + 4.565, + 7.9985, + 4.565, + 7.9985, + 4.8388, + 6.815, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 535, + "length": 5 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5054, + 4.8388, + 1.8119, + 4.8388, + 1.8119, + 5.1058, + 0.5131, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "PO-3333", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.8119, + 4.8388, + 3.3105, + 4.8388, + 3.3105, + 5.1058, + 1.8119, + 5.1058 + ] + } + ], + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3105, + 4.8388, + 4.6862, + 4.8388, + 4.6862, + 5.1058, + 3.3105, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.6862, + 4.8388, + 5.7468, + 4.8388, + 5.7468, + 5.1058, + 4.6862, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.7468, + 4.8388, + 6.815, + 4.8388, + 6.815, + 5.1058, + 5.7468, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.815, + 4.8388, + 7.9985, + 4.8388, + 7.9985, + 5.1125, + 6.815, + 5.1058 + ] + } + ], + "spans": [] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4971, + 4.565, + 7.9889, + 4.5653, + 7.989, + 5.1146, + 0.4963, + 5.1141 + ] + } + ], + "spans": [ + { + "offset": 472, + "length": 76 + } + ] + }, + { + "rowCount": 5, + "columnCount": 2, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SUBTOTAL", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7474, + 6.7934, + 6.8058, + 6.7934, + 6.8105, + 7.0886, + 4.7474, + 7.0886 + ] + } + ], + "spans": [ + { + "offset": 759, + "length": 8 + } + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$100.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8058, + 6.7934, + 7.9981, + 6.7934, + 7.9981, + 7.0934, + 6.8105, + 7.0886 + ] + } + ], + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SALES TAX", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7474, + 7.0886, + 6.8105, + 7.0886, + 6.8105, + 7.3743, + 4.7427, + 7.3743 + ] + } + ], + "spans": [ + { + "offset": 776, + "length": 9 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.0886, + 7.9981, + 7.0934, + 7.9981, + 7.3934, + 6.8105, + 7.3743 + ] + } + ], + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "TOTAL", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.3743, + 6.8105, + 7.3743, + 6.8105, + 7.6839, + 4.7427, + 7.6839 + ] + } + ], + "spans": [ + { + "offset": 793, + "length": 5 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$110.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.3743, + 7.9981, + 7.3934, + 7.9981, + 7.6886, + 6.8105, + 7.6839 + ] + } + ], + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "PREVIOUS UNPAID BALANCE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.6839, + 6.8105, + 7.6839, + 6.8105, + 7.9743, + 4.7427, + 7.9743 + ] + } + ], + "spans": [ + { + "offset": 807, + "length": 23 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$500.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.6839, + 7.9981, + 7.6886, + 7.9981, + 7.9839, + 6.8105, + 7.9743 + ] + } + ], + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + { + "rowIndex": 4, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "AMOUNT DUE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.9743, + 6.8105, + 7.9743, + 6.8105, + 8.2839, + 4.7381, + 8.2839 + ] + } + ], + "spans": [ + { + "offset": 839, + "length": 10 + } + ] + }, + { + "rowIndex": 4, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$610.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.9743, + 7.9981, + 7.9839, + 7.9981, + 8.2839, + 6.8105, + 8.2839 + ] + } + ], + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7456, + 6.7793, + 8.0143, + 6.7788, + 8.0137, + 8.2981, + 4.7446, + 8.2981 + ] + } + ], + "spans": [ + { + "offset": 759, + "length": 98 + } + ] + } + ], + "documents": [ + { + "docType": "prebuilt:invoice", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "fields": { + "AmountDue": { + "type": "number", + "valueNumber": 610, + "content": "$610.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + }, + "BillingAddress": { + "type": "string", + "valueString": "123 Bill St, Redmond WA, 98052", + "content": "123 Bill St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 3.9681, + 2.0083, + 3.9681, + 2.0083, + 4.3082, + 0.5943, + 4.3082 + ] + } + ], + "confidence": 0.947, + "spans": [ + { + "offset": 376, + "length": 12 + }, + { + "offset": 418, + "length": 17 + } + ] + }, + "BillingAddressRecipient": { + "type": "string", + "valueString": "Microsoft Finance", + "content": "Microsoft Finance", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 3.7641, + 1.7878, + 3.7641, + 1.7878, + 3.8794, + 0.5943, + 3.8794 + ] + } + ], + "confidence": 0.957, + "spans": [ + { + "offset": 320, + "length": 17 + } + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "123 Other St, Redmond WA, 98052", + "content": "123 Other St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 2.8476, + 2.0083, + 2.8476, + 2.0083, + 3.1878, + 0.5943, + 3.1878 + ] + } + ], + "confidence": 0.947, + "spans": [ + { + "offset": 253, + "length": 31 + } + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft Corp", + "content": "Microsoft Corp", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 2.6436, + 1.586, + 2.6436, + 1.586, + 2.7871, + 0.5943, + 2.7871 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 238, + "length": 14 + } + ] + }, + "CustomerId": { + "type": "string", + "valueString": "CID-12345", + "content": "CID-12345", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3369, + 2.4491, + 7.9951, + 2.4491, + 7.9951, + 2.5486, + 7.3369, + 2.5486 + ] + } + ], + "confidence": 0.964, + "spans": [ + { + "offset": 228, + "length": 9 + } + ] + }, + "CustomerName": { + "type": "string", + "valueString": "MICROSOFT CORPORATION", + "content": "MICROSOFT CORPORATION", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2419, + 2.0391, + 7.9825, + 2.0391, + 7.9825, + 2.1386, + 6.2419, + 2.1386 + ] + } + ], + "confidence": 0.949, + "spans": [ + { + "offset": 153, + "length": 21 + } + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2019-12-15", + "content": "12/15/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2494, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 7.2494, + 1.9515 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 127, + "length": 10 + } + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2019-11-15", + "content": "11/15/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2528, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 7.2528, + 1.7449 + ] + } + ], + "confidence": 0.972, + "spans": [ + { + "offset": 86, + "length": 10 + } + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "INV-100", + "content": "INV-100", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4959, + 1.422, + 7.9988, + 1.422, + 7.9988, + 1.5215, + 7.4959, + 1.5215 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 51, + "length": 7 + } + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 110, + "content": "$110.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 60, + "content": "$60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ] + } + ], + "confidence": 0.902, + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-04", + "content": "3/4/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ] + } + ], + "confidence": 0.938, + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Consulting Services", + "content": "Consulting Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.3388, + 5.6883, + 3.6278, + 5.6883, + 3.6278, + 5.8312, + 2.3388, + 5.8312 + ] + } + ], + "confidence": 0.9, + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "A123", + "content": "A123", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ] + } + ], + "confidence": 0.877, + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 2, + "content": "2", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 634, + "length": 1 + } + ] + }, + "Tax": { + "type": "number", + "content": "10%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ] + } + ], + "confidence": 0.78, + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + "Unit": { + "type": "string", + "valueString": "hours", + "content": "hours", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 30, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ] + } + ], + "confidence": 0.828, + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + } + }, + "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8312, + 0.592, + 5.8312 + ] + } + ], + "confidence": 0.955, + "spans": [ + { + "offset": 600, + "length": 59 + } + ] + }, + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 30, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ] + } + ], + "confidence": 0.916, + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-05", + "content": "3/5/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ] + } + ], + "confidence": 0.902, + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Document Fee", + "content": "Document Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.345, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 2.345, + 6.0997 + ] + } + ], + "confidence": 0.901, + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "B456", + "content": "B456", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ] + } + ], + "confidence": 0.886, + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 3, + "content": "3", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ] + } + ], + "confidence": 0.898, + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + "Tax": { + "type": "number", + "content": "5%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ] + } + ], + "confidence": 0.772, + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ] + } + ], + "confidence": 0.831, + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + } + }, + "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.121, + 0.592, + 6.121 + ] + } + ], + "confidence": 0.941, + "spans": [ + { + "offset": 660, + "length": 45 + } + ] + }, + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ] + } + ], + "confidence": 0.959, + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-06", + "content": "3/6/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ] + } + ], + "confidence": 0.903, + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Printing Fee", + "content": "Printing Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.345, + 6.2906, + 3.1351, + 6.2906, + 3.1351, + 6.4281, + 2.345, + 6.4281 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "C789", + "content": "C789", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ] + } + ], + "confidence": 0.898, + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 10, + "content": "10", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ] + } + ], + "confidence": 0.903, + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + "Tax": { + "type": "number", + "content": "20%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ] + } + ], + "confidence": 0.791, + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + "Unit": { + "type": "string", + "valueString": "pages", + "content": "pages", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 1, + "content": "$1.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ] + } + ], + "confidence": 0.829, + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + } + }, + "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4281, + 0.592, + 6.4281 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 706, + "length": 52 + } + ] + } + ] + }, + "Locale": { + "type": "string", + "valueString": "en-US", + "confidence": 1 + }, + "PreviousUnpaidBalance": { + "type": "number", + "valueNumber": 500, + "content": "$500.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ] + } + ], + "confidence": 0.962, + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + "PurchaseOrder": { + "type": "string", + "valueString": "PO-3333", + "content": "PO-3333", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ] + } + ], + "confidence": 0.967, + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + "RemittanceAddress": { + "type": "string", + "valueString": "123 Remit St New York, NY, 10001", + "content": "123 Remit St New York, NY, 10001", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 9.5717, + 1.9882, + 9.5717, + 1.9882, + 9.9098, + 0.5943, + 9.9098 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 913, + "length": 32 + } + ] + }, + "RemittanceAddressRecipient": { + "type": "string", + "valueString": "Contoso Billing", + "content": "Contoso Billing", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5882, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 0.5882, + 9.5059 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 897, + "length": 15 + } + ] + }, + "ServiceAddress": { + "type": "string", + "valueString": "123 Service St, Redmond WA, 98052", + "content": "123 Service St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2197, + 3.9734, + 7.6337, + 3.9734, + 7.6337, + 4.3082, + 6.2197, + 4.3082 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 402, + "length": 15 + }, + { + "offset": 454, + "length": 17 + } + ] + }, + "ServiceAddressRecipient": { + "type": "string", + "valueString": "Microsoft Services", + "content": "Microsoft Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2197, + 3.7641, + 7.4427, + 3.7641, + 7.4427, + 3.8794, + 6.2197, + 3.8794 + ] + } + ], + "confidence": 0.951, + "spans": [ + { + "offset": 357, + "length": 18 + } + ] + }, + "ServiceEndDate": { + "type": "date", + "valueDate": "2019-11-14", + "content": "11/14/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2528, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 7.2528, + 2.3615 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 204, + "length": 10 + } + ] + }, + "ServiceStartDate": { + "type": "date", + "valueDate": "2019-10-14", + "content": "10/14/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.3357, + 2.2306, + 7.0749, + 2.2306, + 7.0749, + 2.3615, + 6.3357, + 2.3615 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 191, + "length": 10 + } + ] + }, + "ShippingAddress": { + "type": "string", + "valueString": "123 Ship St, Redmond WA, 98052", + "content": "123 Ship St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3454, + 3.9681, + 4.7594, + 3.9681, + 4.7594, + 4.3082, + 3.3454, + 4.3082 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 389, + "length": 12 + }, + { + "offset": 436, + "length": 17 + } + ] + }, + "ShippingAddressRecipient": { + "type": "string", + "valueString": "Microsoft Delivery", + "content": "Microsoft Delivery", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3454, + 3.7641, + 4.5762, + 3.7641, + 4.5762, + 3.9076, + 3.3454, + 3.9076 + ] + } + ], + "confidence": 0.955, + "spans": [ + { + "offset": 338, + "length": 18 + } + ] + }, + "SubTotal": { + "type": "number", + "valueNumber": 100, + "content": "$100.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + "TotalTax": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "123 456th St New York, NY, 10001", + "content": "123 456th St New York, NY, 10001", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 1.6092, + 1.9894, + 1.6092, + 1.9894, + 1.9675, + 0.5943, + 1.9675 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 59, + "length": 12 + }, + { + "offset": 97, + "length": 19 + } + ] + }, + "VendorAddressRecipient": { + "type": "string", + "valueString": "Contoso Headquarters", + "content": "Contoso Headquarters", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5882, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 0.5882, + 1.5664 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 21, + "length": 20 + } + ] + }, + "VendorName": { + "type": "string", + "valueString": "CONTOSO LTD.", + "content": "CONTOSO LTD.", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5911, + 0.6857, + 2.3181, + 0.6857, + 2.3181, + 0.8664, + 0.5911, + 0.8664 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 0, + "length": 12 + } + ] + } + }, + "confidence": 1, + "spans": [ + { + "offset": 0, + "length": 958 + } + ] + } + ] + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Custom.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Custom.json index e130cd0fd1c9..8350f83fabc6 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Custom.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Custom.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "{customModelId}" - }, - "responses": { - "200": { - "body": { - "modelId": "{customModelId}", - "description": "{customModelDescription}", - "createdDateTime": "2021-09-24T12:54:35Z", - "apiVersion": "{apiVersion}", - "docTypes": { - "{docType}": { - "fieldSchema": { - "Name": { - "type": "string" - }, - "Date": { - "type": "date" - }, - "Amount": { - "type": "number" - } - }, - "buildMode": "template", - "fieldConfidence": { - "Name": 0.9, - "Date": 0.95, - "Amount": 0.93 - } - } - }, - "tags": { - "createdBy": "{userId}" - } - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "{customModelId}" + }, + "responses": { + "200": { + "body": { + "modelId": "{customModelId}", + "description": "{customModelDescription}", + "createdDateTime": "2021-09-24T12:54:35Z", + "apiVersion": "{apiVersion}", + "docTypes": { + "{docType}": { + "fieldSchema": { + "Name": { + "type": "string" + }, + "Date": { + "type": "date" + }, + "Amount": { + "type": "number" + } + }, + "buildMode": "template", + "fieldConfidence": { + "Name": 0.9, + "Date": 0.95, + "Amount": 0.93 + } + } + }, + "tags": { + "createdBy": "{userId}" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Prebuilt.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Prebuilt.json index e38e01d17d95..07c306345099 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Prebuilt.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModel_Prebuilt.json @@ -1,134 +1,134 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "modelId": "prebuilt-invoice" - }, - "responses": { - "200": { - "body": { - "modelId": "prebuilt-invoice", - "description": "Prebuilt model to extract key information from English invoices, including customer, vendor, invoice ID, due date, total, and more.", - "createdDateTime": "2021-07-30T00:00:00Z", - "apiVersion": "{apiVersion}", - "docTypes": { - "prebuilt:invoice": { - "fieldSchema": { - "CustomerName": { - "type": "string" - }, - "CustomerId": { - "type": "string" - }, - "PurchaseOrder": { - "type": "string" - }, - "InvoiceId": { - "type": "string" - }, - "InvoiceDate": { - "type": "date" - }, - "DueDate": { - "type": "date" - }, - "VendorName": { - "type": "string" - }, - "VendorAddress": { - "type": "string" - }, - "VendorAddressRecipient": { - "type": "string" - }, - "CustomerAddress": { - "type": "string" - }, - "CustomerAddressRecipient": { - "type": "string" - }, - "BillingAddress": { - "type": "string" - }, - "BillingAddressRecipient": { - "type": "string" - }, - "ShippingAddress": { - "type": "string" - }, - "ShippingAddressRecipient": { - "type": "string" - }, - "SubTotal": { - "type": "number" - }, - "TotalTax": { - "type": "number" - }, - "InvoiceTotal": { - "type": "number" - }, - "AmountDue": { - "type": "number" - }, - "PreviousUnpaidBalance": { - "type": "number" - }, - "RemittanceAddress": { - "type": "string" - }, - "RemittanceAddressRecipient": { - "type": "string" - }, - "ServiceAddress": { - "type": "string" - }, - "ServiceAddressRecipient": { - "type": "string" - }, - "ServiceStartDate": { - "type": "date" - }, - "ServiceEndDate": { - "type": "date" - }, - "Items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Amount": { - "type": "number" - }, - "Date": { - "type": "date" - }, - "Description": { - "type": "string" - }, - "Quantity": { - "type": "number" - }, - "ProductCode": { - "type": "string" - }, - "Tax": { - "type": "number" - }, - "Unit": { - "type": "string" - }, - "UnitPrice": { - "type": "number" - } - } - } - } - } - } - }, - "tags": {} - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "modelId": "prebuilt-invoice" + }, + "responses": { + "200": { + "body": { + "modelId": "prebuilt-invoice", + "description": "Prebuilt model to extract key information from English invoices, including customer, vendor, invoice ID, due date, total, and more.", + "createdDateTime": "2021-07-30T00:00:00Z", + "apiVersion": "{apiVersion}", + "docTypes": { + "prebuilt:invoice": { + "fieldSchema": { + "CustomerName": { + "type": "string" + }, + "CustomerId": { + "type": "string" + }, + "PurchaseOrder": { + "type": "string" + }, + "InvoiceId": { + "type": "string" + }, + "InvoiceDate": { + "type": "date" + }, + "DueDate": { + "type": "date" + }, + "VendorName": { + "type": "string" + }, + "VendorAddress": { + "type": "string" + }, + "VendorAddressRecipient": { + "type": "string" + }, + "CustomerAddress": { + "type": "string" + }, + "CustomerAddressRecipient": { + "type": "string" + }, + "BillingAddress": { + "type": "string" + }, + "BillingAddressRecipient": { + "type": "string" + }, + "ShippingAddress": { + "type": "string" + }, + "ShippingAddressRecipient": { + "type": "string" + }, + "SubTotal": { + "type": "number" + }, + "TotalTax": { + "type": "number" + }, + "InvoiceTotal": { + "type": "number" + }, + "AmountDue": { + "type": "number" + }, + "PreviousUnpaidBalance": { + "type": "number" + }, + "RemittanceAddress": { + "type": "string" + }, + "RemittanceAddressRecipient": { + "type": "string" + }, + "ServiceAddress": { + "type": "string" + }, + "ServiceAddressRecipient": { + "type": "string" + }, + "ServiceStartDate": { + "type": "date" + }, + "ServiceEndDate": { + "type": "date" + }, + "Items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Amount": { + "type": "number" + }, + "Date": { + "type": "date" + }, + "Description": { + "type": "string" + }, + "Quantity": { + "type": "number" + }, + "ProductCode": { + "type": "string" + }, + "Tax": { + "type": "number" + }, + "Unit": { + "type": "string" + }, + "UnitPrice": { + "type": "number" + } + } + } + } + } + } + }, + "tags": {} + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModels.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModels.json index 7b4a9548940a..f89f5668c685 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModels.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetDocumentModels.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "modelId": "prebuilt-layout", - "createdDateTime": "2021-07-30T00:00:00Z", - "description": "Prebuilt model to extract text, selection marks, tables, and other layout information.", - "apiVersion": "{apiVersion}" - }, - { - "modelId": "myCustomModel", - "createdDateTime": "2021-09-24T12:54:35Z", - "description": "{modelDescription}", - "apiVersion": "{apiVersion}" - } - ], - "nextLink": "{nextLinkUrl}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "modelId": "prebuilt-layout", + "createdDateTime": "2021-07-30T00:00:00Z", + "description": "Prebuilt model to extract text, selection marks, tables, and other layout information.", + "apiVersion": "{apiVersion}" + }, + { + "modelId": "myCustomModel", + "createdDateTime": "2021-09-24T12:54:35Z", + "description": "{modelDescription}", + "apiVersion": "{apiVersion}" + } + ], + "nextLink": "{nextLinkUrl}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperation.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperation.json index 5ae624b34b02..8f6cf4d66ee2 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperation.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperation.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}", - "operationId": "{operationId}" - }, - "responses": { - "200": { - "body": { - "operationId": "31533879936_426a3e4c-c6fb-4c83-937c-a92414c371a4", - "status": "succeeded", - "percentCompleted": 100, - "createdDateTime": "2021-09-23T09:12:57Z", - "lastUpdatedDateTime": "2021-09-23T09:13:01Z", - "kind": "documentModelBuild", - "resourceLocation": "{endpoint}/formrecognizer/documentModels/{modelId}", - "result": { - "modelId": "{customModelId}", - "description": "{customModelDescription}", - "createdDateTime": "2021-09-23T09:13:01Z", - "apiVersion": "{apiVersion}" - } - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}", + "operationId": "{operationId}" + }, + "responses": { + "200": { + "body": { + "operationId": "31533879936_426a3e4c-c6fb-4c83-937c-a92414c371a4", + "status": "succeeded", + "percentCompleted": 100, + "createdDateTime": "2021-09-23T09:12:57Z", + "lastUpdatedDateTime": "2021-09-23T09:13:01Z", + "kind": "documentModelBuild", + "resourceLocation": "{endpoint}/formrecognizer/documentModels/{modelId}", + "result": { + "modelId": "{customModelId}", + "description": "{customModelDescription}", + "createdDateTime": "2021-09-23T09:13:01Z", + "apiVersion": "{apiVersion}" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperations.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperations.json index a8ae318390d4..1b84de8f8ae0 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperations.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetOperations.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "operationId": "{operationId}", - "status": "running", - "percentCompleted": 0, - "createdDateTime": "2021-09-23T09:12:57Z", - "lastUpdatedDateTime": "2021-09-23T09:12:58Z", - "kind": "documentModelBuild", - "resourceLocation": "{endpoint}/formrecognizer/documentModels/{modelId}", - "apiVersion": "{apiVersion}" - } - ], - "nextLink": "{nextLinkUrl}" - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "operationId": "{operationId}", + "status": "running", + "percentCompleted": 0, + "createdDateTime": "2021-09-23T09:12:57Z", + "lastUpdatedDateTime": "2021-09-23T09:12:58Z", + "kind": "documentModelBuild", + "resourceLocation": "{endpoint}/formrecognizer/documentModels/{modelId}", + "apiVersion": "{apiVersion}" + } + ], + "nextLink": "{nextLinkUrl}" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetResourceDetails.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetResourceDetails.json index eadbf9fba1ee..8134190378cf 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetResourceDetails.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2022-08-31/examples/GetResourceDetails.json @@ -1,16 +1,16 @@ -{ - "parameters": { - "endpoint": "{endpoint}", - "api-version": "{apiVersion}" - }, - "responses": { - "200": { - "body": { - "customDocumentModels": { - "count": 2, - "limit": 13 - } - } - } - } -} +{ + "parameters": { + "endpoint": "{endpoint}", + "api-version": "{apiVersion}" + }, + "responses": { + "200": { + "body": { + "customDocumentModels": { + "count": 2, + "limit": 13 + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Base64.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Base64.json index ee31006a8e8b..83f0976f3df9 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Base64.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Base64.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "prebuilt-layout", - "pages": "1-2,4", - "locale": "en-US", - "stringIndexType": "textElements", - "analyzeRequest": { - "base64Source": "e2Jhc2U2NEVuY29kZWRQZGZ9" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/prebuilt-layout/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "prebuilt-layout", + "pages": "1-2,4", + "locale": "en-US", + "stringIndexType": "textElements", + "analyzeRequest": { + "base64Source": "e2Jhc2U2NEVuY29kZWRQZGZ9" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/prebuilt-layout/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Url.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Url.json index f19a19d7380c..8cef6abd5ad6 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Url.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AnalyzeDocument_Url.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "customModel", - "pages": "1-2,4", - "locale": "en-US", - "stringIndexType": "textElements", - "analyzeRequest": { - "urlSource": "http://host.com/doc.pdf" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/customModel/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "customModel", + "pages": "1-2,4", + "locale": "en-US", + "stringIndexType": "textElements", + "analyzeRequest": { + "urlSource": "http://host.com/doc.pdf" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/customModel/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AuthorizeCopyDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AuthorizeCopyDocumentModel.json index abc3238d3042..f45b7bd99e33 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AuthorizeCopyDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/AuthorizeCopyDocumentModel.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "authorizeCopyRequest": { - "modelId": "targetModel", - "description": "Target model description" - } - }, - "responses": { - "200": { - "body": { - "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", - "targetResourceRegion": "targetResourceRegion", - "targetModelId": "targetModel", - "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", - "accessToken": "accessToken", - "expirationDateTime": "2021-09-23T09:12:54.552Z" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "authorizeCopyRequest": { + "modelId": "targetModel", + "description": "Target model description" + } + }, + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", + "targetResourceRegion": "targetResourceRegion", + "targetModelId": "targetModel", + "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", + "accessToken": "accessToken", + "expirationDateTime": "2021-09-23T09:12:54.552Z" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentClassifier.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentClassifier.json index 31a98e22c204..aadc7c1306c1 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentClassifier.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentClassifier.json @@ -1,31 +1,31 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "buildRequest": { - "classifierId": "myClassifier", - "description": "Classifier description", - "docTypes": { - "formA": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formADocs/" - } - }, - "formB": { - "azureBlobFileListSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "fileList": "formB.jsonl" - } - } - } - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "buildRequest": { + "classifierId": "myClassifier", + "description": "Classifier description", + "docTypes": { + "formA": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formADocs/" + } + }, + "formB": { + "azureBlobFileListSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "fileList": "formB.jsonl" + } + } + } + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentModel.json index a8c8c54ad5fc..11dc2026d613 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/BuildDocumentModel.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "buildRequest": { - "modelId": "myCustomModel", - "description": "Custom model description", - "buildMode": "template", - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "trainingDocs/" - }, - "tags": { - "createdBy": "myUserId" - } - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "buildRequest": { + "modelId": "myCustomModel", + "description": "Custom model description", + "buildMode": "template", + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "trainingDocs/" + }, + "tags": { + "createdBy": "myUserId" + } + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ClassifyDocument_Url.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ClassifyDocument_Url.json index 7261054e7d77..5449841997fb 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ClassifyDocument_Url.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ClassifyDocument_Url.json @@ -1,18 +1,18 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "classifierId": "classifierId", - "stringIndexType": "textElements", - "classifyRequest": { - "urlSource": "http://host.com/doc.pdf" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers/customClassifier/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "classifierId": "classifierId", + "stringIndexType": "textElements", + "classifyRequest": { + "urlSource": "http://host.com/doc.pdf" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers/customClassifier/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ComposeDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ComposeDocumentModel.json index 54edc3b548ed..850886de0339 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ComposeDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/ComposeDocumentModel.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "composeRequest": { - "modelId": "composedModel", - "description": "Composed model description", - "componentModels": [ - { - "modelId": "model1" - }, - { - "modelId": "model2" - } - ] - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "composeRequest": { + "modelId": "composedModel", + "description": "Composed model description", + "componentModels": [ + { + "modelId": "model1" + }, + { + "modelId": "model2" + } + ] + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/CopyDocumentModelTo.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/CopyDocumentModelTo.json index 0207d79cbfed..c8a04f432f97 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/CopyDocumentModelTo.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/CopyDocumentModelTo.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "sourceModel", - "copyToRequest": { - "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", - "targetResourceRegion": "targetResourceRegion", - "targetModelId": "targetModel", - "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", - "accessToken": "accessToken", - "expirationDateTime": "2021-09-23T09:12:54.552Z" - } - }, - "responses": { - "202": { - "headers": { - "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "sourceModel", + "copyToRequest": { + "targetResourceId": "/subscriptions/targetSub/resourceGroups/targetRG/providers/Microsoft.CognitiveServices/accounts/targetService", + "targetResourceRegion": "targetResourceRegion", + "targetModelId": "targetModel", + "targetModelLocation": "https://targetEndpoint.cognitiveservices.azure.com/formrecognizer/documentModels/targetModel", + "accessToken": "accessToken", + "expirationDateTime": "2021-09-23T09:12:54.552Z" + } + }, + "responses": { + "202": { + "headers": { + "Operation-Location": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations/b704bb00-d130-4f3f-a1d8-ca96de3eabb4?api-version=2023-07-31" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentClassifier.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentClassifier.json index 8f958c3f6a6e..fe0cff431852 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentClassifier.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentClassifier.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "classifierId": "myClassifier" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "classifierId": "myClassifier" + }, + "responses": { + "204": {} + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentModel.json index fe2c6de5ba9d..0c2a7b7e7657 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/DeleteDocumentModel.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "myCustomModel" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "myCustomModel" + }, + "responses": { + "204": {} + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetAnalyzeDocumentResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetAnalyzeDocumentResult.json index 8a4e6dd3b532..747759a4d301 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetAnalyzeDocumentResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetAnalyzeDocumentResult.json @@ -1,7219 +1,7219 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "prebuilt-invoice", - "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" - }, - "responses": { - "200": { - "body": { - "status": "succeeded", - "createdDateTime": "2021-09-24T13:00:46Z", - "lastUpdatedDateTime": "2021-09-24T13:00:49Z", - "analyzeResult": { - "apiVersion": "2023-07-31", - "modelId": "prebuilt-invoice", - "stringIndexType": "textElements", - "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:", - "pages": [ - { - "pageNumber": 1, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch", - "words": [ - { - "content": "CONTOSO", - "polygon": [ - 0.5911, - 0.6857, - 1.7451, - 0.6857, - 1.7451, - 0.8664, - 0.5911, - 0.8664 - ], - "confidence": 1, - "span": { - "offset": 0, - "length": 7 - } - }, - { - "content": "LTD.", - "polygon": [ - 1.8441, - 0.6879, - 2.3181, - 0.6879, - 2.3181, - 0.865, - 1.8441, - 0.865 - ], - "confidence": 1, - "span": { - "offset": 8, - "length": 4 - } - }, - { - "content": "INVOICE", - "polygon": [ - 7.0751, - 0.589, - 7.9886, - 0.589, - 7.9886, - 0.7697, - 7.0751, - 0.7697 - ], - "confidence": 1, - "span": { - "offset": 13, - "length": 7 - } - }, - { - "content": "Contoso", - "polygon": [ - 0.5882, - 1.4303, - 1.1337, - 1.4303, - 1.1337, - 1.5383, - 0.5882, - 1.5383 - ], - "confidence": 1, - "span": { - "offset": 21, - "length": 7 - } - }, - { - "content": "Headquarters", - "polygon": [ - 1.1905, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 1.1905, - 1.5664 - ], - "confidence": 1, - "span": { - "offset": 29, - "length": 12 - } - }, - { - "content": "INVOICE:", - "polygon": [ - 6.8599, - 1.4217, - 7.4328, - 1.4217, - 7.4328, - 1.5218, - 6.8599, - 1.5218 - ], - "confidence": 1, - "span": { - "offset": 42, - "length": 8 - } - }, - { - "content": "INV-100", - "polygon": [ - 7.4959, - 1.422, - 7.9988, - 1.422, - 7.9988, - 1.5215, - 7.4959, - 1.5215 - ], - "confidence": 1, - "span": { - "offset": 51, - "length": 7 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 1.6339, - 0.8213, - 1.6339, - 0.8213, - 1.742, - 0.5945, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 59, - "length": 3 - } - }, - { - "content": "456th", - "polygon": [ - 0.874, - 1.6092, - 1.2102, - 1.6092, - 1.2102, - 1.742, - 0.874, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 63, - "length": 5 - } - }, - { - "content": "St", - "polygon": [ - 1.2598, - 1.6339, - 1.3812, - 1.6339, - 1.3812, - 1.742, - 1.2598, - 1.742 - ], - "confidence": 1, - "span": { - "offset": 69, - "length": 2 - } - }, - { - "content": "INVOICE", - "polygon": [ - 6.2263, - 1.6254, - 6.7562, - 1.6254, - 6.7562, - 1.7256, - 6.2263, - 1.7256 - ], - "confidence": 1, - "span": { - "offset": 72, - "length": 7 - } - }, - { - "content": "DATE:", - "polygon": [ - 6.8132, - 1.6267, - 7.1891, - 1.6267, - 7.1891, - 1.7248, - 6.8132, - 1.7248 - ], - "confidence": 1, - "span": { - "offset": 80, - "length": 5 - } - }, - { - "content": "11/15/2019", - "polygon": [ - 7.2528, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 7.2528, - 1.7449 - ], - "confidence": 1, - "span": { - "offset": 86, - "length": 10 - } - }, - { - "content": "New", - "polygon": [ - 0.5943, - 1.8385, - 0.8848, - 1.8385, - 0.8848, - 1.9454, - 0.5943, - 1.9454 - ], - "confidence": 1, - "span": { - "offset": 97, - "length": 3 - } - }, - { - "content": "York,", - "polygon": [ - 0.9293, - 1.8307, - 1.2568, - 1.8307, - 1.2568, - 1.9675, - 0.9293, - 1.9675 - ], - "confidence": 1, - "span": { - "offset": 101, - "length": 5 - } - }, - { - "content": "NY,", - "polygon": [ - 1.3205, - 1.8382, - 1.5242, - 1.8382, - 1.5242, - 1.9675, - 1.3205, - 1.9675 - ], - "confidence": 1, - "span": { - "offset": 107, - "length": 3 - } - }, - { - "content": "10001", - "polygon": [ - 1.5915, - 1.8372, - 1.9894, - 1.8372, - 1.9894, - 1.9454, - 1.5915, - 1.9454 - ], - "confidence": 1, - "span": { - "offset": 111, - "length": 5 - } - }, - { - "content": "DUE", - "polygon": [ - 6.4966, - 1.8333, - 6.7569, - 1.8333, - 6.7569, - 1.9322, - 6.4966, - 1.9322 - ], - "confidence": 1, - "span": { - "offset": 117, - "length": 3 - } - }, - { - "content": "DATE:", - "polygon": [ - 6.8126, - 1.8333, - 7.1846, - 1.8333, - 7.1846, - 1.9315, - 6.8126, - 1.9315 - ], - "confidence": 1, - "span": { - "offset": 121, - "length": 5 - } - }, - { - "content": "12/15/2019", - "polygon": [ - 7.2494, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 7.2494, - 1.9515 - ], - "confidence": 1, - "span": { - "offset": 127, - "length": 10 - } - }, - { - "content": "CUSTOMER", - "polygon": [ - 4.9513, - 2.0388, - 5.6868, - 2.0388, - 5.6868, - 2.1389, - 4.9513, - 2.1389 - ], - "confidence": 1, - "span": { - "offset": 138, - "length": 8 - } - }, - { - "content": "NAME:", - "polygon": [ - 5.7412, - 2.04, - 6.1764, - 2.04, - 6.1764, - 2.1381, - 5.7412, - 2.1381 - ], - "confidence": 1, - "span": { - "offset": 147, - "length": 5 - } - }, - { - "content": "MICROSOFT", - "polygon": [ - 6.2419, - 2.0391, - 6.9981, - 2.0391, - 6.9981, - 2.1386, - 6.2419, - 2.1386 - ], - "confidence": 1, - "span": { - "offset": 153, - "length": 9 - } - }, - { - "content": "CORPORATION", - "polygon": [ - 7.0448, - 2.0391, - 7.9825, - 2.0391, - 7.9825, - 2.1386, - 7.0448, - 2.1386 - ], - "confidence": 1, - "span": { - "offset": 163, - "length": 11 - } - }, - { - "content": "SERVICE", - "polygon": [ - 5.1667, - 2.2421, - 5.6923, - 2.2421, - 5.6923, - 2.3422, - 5.1667, - 2.3422 - ], - "confidence": 1, - "span": { - "offset": 175, - "length": 7 - } - }, - { - "content": "PERIOD:", - "polygon": [ - 5.748, - 2.2421, - 6.2721, - 2.2421, - 6.2721, - 2.3422, - 5.748, - 2.3422 - ], - "confidence": 1, - "span": { - "offset": 183, - "length": 7 - } - }, - { - "content": "10/14/2019", - "polygon": [ - 6.3357, - 2.2306, - 7.0749, - 2.2306, - 7.0749, - 2.3615, - 6.3357, - 2.3615 - ], - "confidence": 1, - "span": { - "offset": 191, - "length": 10 - } - }, - { - "content": "–", - "polygon": [ - 7.122, - 2.2922, - 7.1995, - 2.2922, - 7.1995, - 2.3037, - 7.122, - 2.3037 - ], - "confidence": 1, - "span": { - "offset": 202, - "length": 1 - } - }, - { - "content": "11/14/2019", - "polygon": [ - 7.2528, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 7.2528, - 2.3615 - ], - "confidence": 1, - "span": { - "offset": 204, - "length": 10 - } - }, - { - "content": "CUSTOMER", - "polygon": [ - 6.3253, - 2.4488, - 7.0608, - 2.4488, - 7.0608, - 2.5489, - 6.3253, - 2.5489 - ], - "confidence": 1, - "span": { - "offset": 215, - "length": 8 - } - }, - { - "content": "ID:", - "polygon": [ - 7.1153, - 2.45, - 7.2809, - 2.45, - 7.2809, - 2.5481, - 7.1153, - 2.5481 - ], - "confidence": 1, - "span": { - "offset": 224, - "length": 3 - } - }, - { - "content": "CID-12345", - "polygon": [ - 7.3369, - 2.4491, - 7.9951, - 2.4491, - 7.9951, - 2.5486, - 7.3369, - 2.5486 - ], - "confidence": 1, - "span": { - "offset": 228, - "length": 9 - } - }, - { - "content": "Microsoft", - "polygon": [ - 0.5943, - 2.6436, - 1.2303, - 2.6436, - 1.2303, - 2.759, - 0.5943, - 2.759 - ], - "confidence": 1, - "span": { - "offset": 238, - "length": 9 - } - }, - { - "content": "Corp", - "polygon": [ - 1.2808, - 2.651, - 1.586, - 2.651, - 1.586, - 2.7871, - 1.2808, - 2.7871 - ], - "confidence": 1, - "span": { - "offset": 248, - "length": 4 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 2.8541, - 0.8213, - 2.8541, - 0.8213, - 2.9623, - 0.5945, - 2.9623 - ], - "confidence": 1, - "span": { - "offset": 253, - "length": 3 - } - }, - { - "content": "Other", - "polygon": [ - 0.875, - 2.8476, - 1.262, - 2.8476, - 1.262, - 2.9623, - 0.875, - 2.9623 - ], - "confidence": 1, - "span": { - "offset": 257, - "length": 5 - } - }, - { - "content": "St,", - "polygon": [ - 1.3058, - 2.8541, - 1.4633, - 2.8541, - 1.4633, - 2.9845, - 1.3058, - 2.9845 - ], - "confidence": 1, - "span": { - "offset": 263, - "length": 3 - } - }, - { - "content": "Redmond", - "polygon": [ - 0.5943, - 3.0513, - 1.2222, - 3.0513, - 1.2222, - 3.1656, - 0.5943, - 3.1656 - ], - "confidence": 1, - "span": { - "offset": 267, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 1.2753, - 3.0585, - 1.5468, - 3.0585, - 1.5468, - 3.1878, - 1.2753, - 3.1878 - ], - "confidence": 1, - "span": { - "offset": 275, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 1.6033, - 3.0575, - 2.0083, - 3.0575, - 2.0083, - 3.1656, - 1.6033, - 3.1656 - ], - "confidence": 1, - "span": { - "offset": 279, - "length": 5 - } - }, - { - "content": "BILL", - "polygon": [ - 0.5909, - 3.5603, - 0.8438, - 3.5603, - 0.8438, - 3.6579, - 0.5909, - 3.6579 - ], - "confidence": 1, - "span": { - "offset": 285, - "length": 4 - } - }, - { - "content": "TO:", - "polygon": [ - 0.8846, - 3.559, - 1.1032, - 3.559, - 1.1032, - 3.6592, - 0.8846, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 290, - "length": 3 - } - }, - { - "content": "SHIP", - "polygon": [ - 3.3361, - 3.559, - 3.6278, - 3.559, - 3.6278, - 3.6592, - 3.3361, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 294, - "length": 4 - } - }, - { - "content": "TO:", - "polygon": [ - 3.6716, - 3.559, - 3.8903, - 3.559, - 3.8903, - 3.6592, - 3.6716, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 299, - "length": 3 - } - }, - { - "content": "SERVICE", - "polygon": [ - 6.2104, - 3.559, - 6.7361, - 3.559, - 6.7361, - 3.6592, - 6.2104, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 303, - "length": 7 - } - }, - { - "content": "ADDRESS:", - "polygon": [ - 6.7828, - 3.559, - 7.4232, - 3.559, - 7.4232, - 3.6592, - 6.7828, - 3.6592 - ], - "confidence": 1, - "span": { - "offset": 311, - "length": 8 - } - }, - { - "content": "Microsoft", - "polygon": [ - 0.5943, - 3.7641, - 1.2303, - 3.7641, - 1.2303, - 3.8794, - 0.5943, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 320, - "length": 9 - } - }, - { - "content": "Finance", - "polygon": [ - 1.287, - 3.7701, - 1.7878, - 3.7701, - 1.7878, - 3.8794, - 1.287, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 330, - "length": 7 - } - }, - { - "content": "Microsoft", - "polygon": [ - 3.3454, - 3.7641, - 3.9814, - 3.7641, - 3.9814, - 3.8794, - 3.3454, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 338, - "length": 9 - } - }, - { - "content": "Delivery", - "polygon": [ - 4.0381, - 3.7647, - 4.5762, - 3.7647, - 4.5762, - 3.9076, - 4.0381, - 3.9076 - ], - "confidence": 1, - "span": { - "offset": 348, - "length": 8 - } - }, - { - "content": "Microsoft", - "polygon": [ - 6.2197, - 3.7641, - 6.8557, - 3.7641, - 6.8557, - 3.8794, - 6.2197, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 357, - "length": 9 - } - }, - { - "content": "Services", - "polygon": [ - 6.9042, - 3.7701, - 7.4427, - 3.7701, - 7.4427, - 3.8794, - 6.9042, - 3.8794 - ], - "confidence": 1, - "span": { - "offset": 367, - "length": 8 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 3.9746, - 0.8213, - 3.9746, - 0.8213, - 4.0827, - 0.5945, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 376, - "length": 3 - } - }, - { - "content": "Bill", - "polygon": [ - 0.8842, - 3.9681, - 1.0657, - 3.9681, - 1.0657, - 4.0817, - 0.8842, - 4.0817 - ], - "confidence": 1, - "span": { - "offset": 380, - "length": 4 - } - }, - { - "content": "St,", - "polygon": [ - 1.1222, - 3.9746, - 1.2765, - 3.9746, - 1.2765, - 4.1049, - 1.1222, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 385, - "length": 3 - } - }, - { - "content": "123", - "polygon": [ - 3.3456, - 3.9746, - 3.5724, - 3.9746, - 3.5724, - 4.0827, - 3.3456, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 389, - "length": 3 - } - }, - { - "content": "Ship", - "polygon": [ - 3.6239, - 3.9681, - 3.9042, - 3.9681, - 3.9042, - 4.1109, - 3.6239, - 4.1109 - ], - "confidence": 1, - "span": { - "offset": 393, - "length": 4 - } - }, - { - "content": "St,", - "polygon": [ - 3.9536, - 3.9746, - 4.1111, - 3.9746, - 4.1111, - 4.1049, - 3.9536, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 398, - "length": 3 - } - }, - { - "content": "123", - "polygon": [ - 6.2199, - 3.9746, - 6.4467, - 3.9746, - 6.4467, - 4.0827, - 6.2199, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 402, - "length": 3 - } - }, - { - "content": "Service", - "polygon": [ - 6.4985, - 3.9734, - 6.9738, - 3.9734, - 6.9738, - 4.0827, - 6.4985, - 4.0827 - ], - "confidence": 1, - "span": { - "offset": 406, - "length": 7 - } - }, - { - "content": "St,", - "polygon": [ - 7.0246, - 3.9746, - 7.1821, - 3.9746, - 7.1821, - 4.1049, - 7.0246, - 4.1049 - ], - "confidence": 1, - "span": { - "offset": 414, - "length": 3 - } - }, - { - "content": "Redmond", - "polygon": [ - 0.5943, - 4.1717, - 1.2222, - 4.1717, - 1.2222, - 4.2861, - 0.5943, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 418, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 1.2753, - 4.1789, - 1.5468, - 4.1789, - 1.5468, - 4.3082, - 1.2753, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 426, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 1.6033, - 4.1779, - 2.0083, - 4.1779, - 2.0083, - 4.2861, - 1.6033, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 430, - "length": 5 - } - }, - { - "content": "Redmond", - "polygon": [ - 3.3454, - 4.1717, - 3.9732, - 4.1717, - 3.9732, - 4.2861, - 3.3454, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 436, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 4.0264, - 4.1789, - 4.2979, - 4.1789, - 4.2979, - 4.3082, - 4.0264, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 444, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 4.3544, - 4.1779, - 4.7594, - 4.1779, - 4.7594, - 4.2861, - 4.3544, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 448, - "length": 5 - } - }, - { - "content": "Redmond", - "polygon": [ - 6.2197, - 4.1717, - 6.8475, - 4.1717, - 6.8475, - 4.2861, - 6.2197, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 454, - "length": 7 - } - }, - { - "content": "WA,", - "polygon": [ - 6.9007, - 4.1789, - 7.1722, - 4.1789, - 7.1722, - 4.3082, - 6.9007, - 4.3082 - ], - "confidence": 1, - "span": { - "offset": 462, - "length": 3 - } - }, - { - "content": "98052", - "polygon": [ - 7.2287, - 4.1779, - 7.6337, - 4.1779, - 7.6337, - 4.2861, - 7.2287, - 4.2861 - ], - "confidence": 1, - "span": { - "offset": 466, - "length": 5 - } - }, - { - "content": "SALESPERSON", - "polygon": [ - 0.7018, - 4.6528, - 1.6092, - 4.6528, - 1.6092, - 4.7529, - 0.7018, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 472, - "length": 11 - } - }, - { - "content": "P.O.", - "polygon": [ - 2.1216, - 4.6528, - 2.3788, - 4.6528, - 2.3788, - 4.7529, - 2.1216, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 484, - "length": 4 - } - }, - { - "content": "NUMBER", - "polygon": [ - 2.4376, - 4.654, - 3.0155, - 4.654, - 3.0155, - 4.7529, - 2.4376, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 489, - "length": 6 - } - }, - { - "content": "REQUISITIONER", - "polygon": [ - 3.4953, - 4.6528, - 4.5157, - 4.6528, - 4.5157, - 4.7687, - 3.4953, - 4.7687 - ], - "confidence": 1, - "span": { - "offset": 496, - "length": 13 - } - }, - { - "content": "SHIPPED", - "polygon": [ - 4.81, - 4.6528, - 5.362, - 4.6528, - 5.362, - 4.7529, - 4.81, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 510, - "length": 7 - } - }, - { - "content": "VIA", - "polygon": [ - 5.409, - 4.654, - 5.6317, - 4.654, - 5.6317, - 4.7517, - 5.409, - 4.7517 - ], - "confidence": 1, - "span": { - "offset": 518, - "length": 3 - } - }, - { - "content": "F.O.B.", - "polygon": [ - 5.8696, - 4.6528, - 6.2467, - 4.6528, - 6.2467, - 4.7529, - 5.8696, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 522, - "length": 6 - } - }, - { - "content": "POINT", - "polygon": [ - 6.3054, - 4.6528, - 6.706, - 4.6528, - 6.706, - 4.7529, - 6.3054, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 529, - "length": 5 - } - }, - { - "content": "TERMS", - "polygon": [ - 7.1806, - 4.6528, - 7.6304, - 4.6528, - 7.6304, - 4.7529, - 7.1806, - 4.7529 - ], - "confidence": 1, - "span": { - "offset": 535, - "length": 5 - } - }, - { - "content": "PO-3333", - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ], - "confidence": 1, - "span": { - "offset": 541, - "length": 7 - } - }, - { - "content": "DATE", - "polygon": [ - 0.7409, - 5.421, - 1.0744, - 5.421, - 1.0744, - 5.5186, - 0.7409, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 549, - "length": 4 - } - }, - { - "content": "ITEM", - "polygon": [ - 1.4213, - 5.421, - 1.7338, - 5.421, - 1.7338, - 5.5186, - 1.4213, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 554, - "length": 4 - } - }, - { - "content": "CODE", - "polygon": [ - 1.7893, - 5.4197, - 2.1407, - 5.4197, - 2.1407, - 5.5199, - 1.7893, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 559, - "length": 4 - } - }, - { - "content": "DESCRIPTION", - "polygon": [ - 2.8516, - 5.4197, - 3.7134, - 5.4197, - 3.7134, - 5.5199, - 2.8516, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 564, - "length": 11 - } - }, - { - "content": "QTY", - "polygon": [ - 4.4043, - 5.4197, - 4.6631, - 5.4197, - 4.6631, - 5.5357, - 4.4043, - 5.5357 - ], - "confidence": 1, - "span": { - "offset": 576, - "length": 3 - } - }, - { - "content": "UM", - "polygon": [ - 5.049, - 5.421, - 5.2654, - 5.421, - 5.2654, - 5.5199, - 5.049, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 580, - "length": 2 - } - }, - { - "content": "PRICE", - "polygon": [ - 5.8563, - 5.4199, - 6.2163, - 5.4199, - 6.2163, - 5.5197, - 5.8563, - 5.5197 - ], - "confidence": 1, - "span": { - "offset": 583, - "length": 5 - } - }, - { - "content": "TAX", - "polygon": [ - 6.7169, - 5.421, - 6.974, - 5.421, - 6.974, - 5.5186, - 6.7169, - 5.5186 - ], - "confidence": 1, - "span": { - "offset": 589, - "length": 3 - } - }, - { - "content": "AMOUNT", - "polygon": [ - 7.2847, - 5.4197, - 7.9039, - 5.4197, - 7.9039, - 5.5199, - 7.2847, - 5.5199 - ], - "confidence": 1, - "span": { - "offset": 593, - "length": 6 - } - }, - { - "content": "3/4/2021", - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ], - "confidence": 1, - "span": { - "offset": 600, - "length": 8 - } - }, - { - "content": "A123", - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 609, - "length": 4 - } - }, - { - "content": "Consulting", - "polygon": [ - 2.3388, - 5.6883, - 3.0438, - 5.6883, - 3.0438, - 5.8312, - 2.3388, - 5.8312 - ], - "confidence": 1, - "span": { - "offset": 614, - "length": 10 - } - }, - { - "content": "Services", - "polygon": [ - 3.0925, - 5.6937, - 3.6278, - 5.6937, - 3.6278, - 5.803, - 3.0925, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 625, - "length": 8 - } - }, - { - "content": "2", - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ], - "confidence": 1, - "span": { - "offset": 634, - "length": 1 - } - }, - { - "content": "hours", - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ], - "confidence": 1, - "span": { - "offset": 636, - "length": 5 - } - }, - { - "content": "$30.00", - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ], - "confidence": 1, - "span": { - "offset": 642, - "length": 6 - } - }, - { - "content": "10%", - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ], - "confidence": 1, - "span": { - "offset": 649, - "length": 3 - } - }, - { - "content": "$60.00", - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ], - "confidence": 1, - "span": { - "offset": 653, - "length": 6 - } - }, - { - "content": "3/5/2021", - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ], - "confidence": 1, - "span": { - "offset": 660, - "length": 8 - } - }, - { - "content": "B456", - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 669, - "length": 4 - } - }, - { - "content": "Document", - "polygon": [ - 2.345, - 5.993, - 3.0318, - 5.993, - 3.0318, - 6.0997, - 2.345, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 674, - "length": 8 - } - }, - { - "content": "Fee", - "polygon": [ - 3.0887, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 3.0887, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 683, - "length": 3 - } - }, - { - "content": "3", - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ], - "confidence": 1, - "span": { - "offset": 687, - "length": 1 - } - }, - { - "content": "$10.00", - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ], - "confidence": 1, - "span": { - "offset": 689, - "length": 6 - } - }, - { - "content": "5%", - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ], - "confidence": 1, - "span": { - "offset": 696, - "length": 2 - } - }, - { - "content": "$30.00", - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ], - "confidence": 1, - "span": { - "offset": 699, - "length": 6 - } - }, - { - "content": "3/6/2021", - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ], - "confidence": 1, - "span": { - "offset": 706, - "length": 8 - } - }, - { - "content": "C789", - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 715, - "length": 4 - } - }, - { - "content": "Printing", - "polygon": [ - 2.345, - 6.2906, - 2.8575, - 6.2906, - 2.8575, - 6.4281, - 2.345, - 6.4281 - ], - "confidence": 1, - "span": { - "offset": 720, - "length": 8 - } - }, - { - "content": "Fee", - "polygon": [ - 2.9143, - 6.2933, - 3.1351, - 6.2933, - 3.1351, - 6.3999, - 2.9143, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 729, - "length": 3 - } - }, - { - "content": "10", - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ], - "confidence": 1, - "span": { - "offset": 733, - "length": 2 - } - }, - { - "content": "pages", - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ], - "confidence": 1, - "span": { - "offset": 736, - "length": 5 - } - }, - { - "content": "$1.00", - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ], - "confidence": 1, - "span": { - "offset": 742, - "length": 5 - } - }, - { - "content": "20%", - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ], - "confidence": 1, - "span": { - "offset": 748, - "length": 3 - } - }, - { - "content": "$10.00", - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ], - "confidence": 1, - "span": { - "offset": 752, - "length": 6 - } - }, - { - "content": "SUBTOTAL", - "polygon": [ - 6.0282, - 6.9118, - 6.7309, - 6.9118, - 6.7309, - 7.0199, - 6.0282, - 7.0199 - ], - "confidence": 1, - "span": { - "offset": 759, - "length": 8 - } - }, - { - "content": "$100.00", - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ], - "confidence": 1, - "span": { - "offset": 768, - "length": 7 - } - }, - { - "content": "SALES", - "polygon": [ - 6.0382, - 7.2089, - 6.4262, - 7.2089, - 6.4262, - 7.317, - 6.0382, - 7.317 - ], - "confidence": 1, - "span": { - "offset": 776, - "length": 5 - } - }, - { - "content": "TAX", - "polygon": [ - 6.4702, - 7.2099, - 6.728, - 7.2099, - 6.728, - 7.316, - 6.4702, - 7.316 - ], - "confidence": 1, - "span": { - "offset": 782, - "length": 3 - } - }, - { - "content": "$10.00", - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ], - "confidence": 1, - "span": { - "offset": 786, - "length": 6 - } - }, - { - "content": "TOTAL", - "polygon": [ - 6.2969, - 7.5089, - 6.7309, - 7.5089, - 6.7309, - 7.617, - 6.2969, - 7.617 - ], - "confidence": 1, - "span": { - "offset": 793, - "length": 5 - } - }, - { - "content": "$110.00", - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ], - "confidence": 1, - "span": { - "offset": 799, - "length": 7 - } - }, - { - "content": "PREVIOUS", - "polygon": [ - 4.8126, - 7.8055, - 5.4789, - 7.8055, - 5.4789, - 7.9137, - 4.8126, - 7.9137 - ], - "confidence": 1, - "span": { - "offset": 807, - "length": 8 - } - }, - { - "content": "UNPAID", - "polygon": [ - 5.5362, - 7.8065, - 6.057, - 7.8065, - 6.057, - 7.9137, - 5.5362, - 7.9137 - ], - "confidence": 1, - "span": { - "offset": 816, - "length": 6 - } - }, - { - "content": "BALANCE", - "polygon": [ - 6.1164, - 7.8057, - 6.7249, - 7.8057, - 6.7249, - 7.9135, - 6.1164, - 7.9135 - ], - "confidence": 1, - "span": { - "offset": 823, - "length": 7 - } - }, - { - "content": "$500.00", - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ], - "confidence": 1, - "span": { - "offset": 831, - "length": 7 - } - }, - { - "content": "AMOUNT", - "polygon": [ - 5.7652, - 8.1022, - 6.4055, - 8.1022, - 6.4055, - 8.2104, - 5.7652, - 8.2104 - ], - "confidence": 1, - "span": { - "offset": 839, - "length": 6 - } - }, - { - "content": "DUE", - "polygon": [ - 6.4562, - 8.1032, - 6.725, - 8.1032, - 6.725, - 8.2104, - 6.4562, - 8.2104 - ], - "confidence": 1, - "span": { - "offset": 846, - "length": 3 - } - }, - { - "content": "$610.00", - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ], - "confidence": 1, - "span": { - "offset": 850, - "length": 7 - } - }, - { - "content": "THANK", - "polygon": [ - 3.129, - 8.5453, - 3.5887, - 8.5453, - 3.5887, - 8.6429, - 3.129, - 8.6429 - ], - "confidence": 1, - "span": { - "offset": 858, - "length": 5 - } - }, - { - "content": "YOU", - "polygon": [ - 3.6316, - 8.544, - 3.9064, - 8.544, - 3.9064, - 8.6442, - 3.6316, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 864, - "length": 3 - } - }, - { - "content": "FOR", - "polygon": [ - 3.9671, - 8.544, - 4.2187, - 8.544, - 4.2187, - 8.6442, - 3.9671, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 868, - "length": 3 - } - }, - { - "content": "YOUR", - "polygon": [ - 4.2638, - 8.544, - 4.6347, - 8.544, - 4.6347, - 8.6442, - 4.2638, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 872, - "length": 4 - } - }, - { - "content": "BUSINESS!", - "polygon": [ - 4.6859, - 8.539, - 5.356, - 8.539, - 5.356, - 8.6442, - 4.6859, - 8.6442 - ], - "confidence": 1, - "span": { - "offset": 877, - "length": 9 - } - }, - { - "content": "REMIT", - "polygon": [ - 0.5909, - 9.1619, - 1.0014, - 9.1619, - 1.0014, - 9.2596, - 0.5909, - 9.2596 - ], - "confidence": 1, - "span": { - "offset": 887, - "length": 5 - } - }, - { - "content": "TO:", - "polygon": [ - 1.0446, - 9.1607, - 1.2603, - 9.1607, - 1.2603, - 9.2608, - 1.0446, - 9.2608 - ], - "confidence": 1, - "span": { - "offset": 893, - "length": 3 - } - }, - { - "content": "Contoso", - "polygon": [ - 0.5882, - 9.3697, - 1.1337, - 9.3697, - 1.1337, - 9.4777, - 0.5882, - 9.4777 - ], - "confidence": 1, - "span": { - "offset": 897, - "length": 7 - } - }, - { - "content": "Billing", - "polygon": [ - 1.1905, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 1.1905, - 9.5059 - ], - "confidence": 1, - "span": { - "offset": 905, - "length": 7 - } - }, - { - "content": "123", - "polygon": [ - 0.5945, - 9.5728, - 0.8213, - 9.5728, - 0.8213, - 9.681, - 0.5945, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 913, - "length": 3 - } - }, - { - "content": "Remit", - "polygon": [ - 0.881, - 9.5717, - 1.264, - 9.5717, - 1.264, - 9.681, - 0.881, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 917, - "length": 5 - } - }, - { - "content": "St", - "polygon": [ - 1.3125, - 9.5728, - 1.4337, - 9.5728, - 1.4337, - 9.681, - 1.3125, - 9.681 - ], - "confidence": 1, - "span": { - "offset": 923, - "length": 2 - } - }, - { - "content": "New", - "polygon": [ - 0.5943, - 9.7808, - 0.8848, - 9.7808, - 0.8848, - 9.8877, - 0.5943, - 9.8877 - ], - "confidence": 1, - "span": { - "offset": 926, - "length": 3 - } - }, - { - "content": "York,", - "polygon": [ - 0.9293, - 9.773, - 1.2568, - 9.773, - 1.2568, - 9.9098, - 0.9293, - 9.9098 - ], - "confidence": 1, - "span": { - "offset": 930, - "length": 5 - } - }, - { - "content": "NY,", - "polygon": [ - 1.3205, - 9.7805, - 1.5233, - 9.7805, - 1.5233, - 9.9098, - 1.3205, - 9.9098 - ], - "confidence": 1, - "span": { - "offset": 936, - "length": 3 - } - }, - { - "content": "10001", - "polygon": [ - 1.5903, - 9.7795, - 1.9882, - 9.7795, - 1.9882, - 9.8877, - 1.5903, - 9.8877 - ], - "confidence": 1, - "span": { - "offset": 940, - "length": 5 - } - } - ], - "selectionMarks": [ - { - "state": "unselected", - "polygon": [ - 4.3231, - 5.6279, - 4.7562, - 5.6279, - 4.7562, - 5.8654, - 4.3231, - 5.8654 - ], - "confidence": 0.212, - "span": { - "offset": 946, - "length": 12 - } - } - ], - "lines": [ - { - "content": "CONTOSO LTD.", - "polygon": [ - 0.5911, - 0.6857, - 2.3181, - 0.6857, - 2.3181, - 0.8664, - 0.5911, - 0.8664 - ], - "spans": [ - { - "offset": 0, - "length": 12 - } - ] - }, - { - "content": "INVOICE", - "polygon": [ - 7.0751, - 0.589, - 7.9886, - 0.589, - 7.9886, - 0.7697, - 7.0751, - 0.7697 - ], - "spans": [ - { - "offset": 13, - "length": 7 - } - ] - }, - { - "content": "Contoso Headquarters", - "polygon": [ - 0.5882, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 0.5882, - 1.5664 - ], - "spans": [ - { - "offset": 21, - "length": 20 - } - ] - }, - { - "content": "INVOICE: INV-100", - "polygon": [ - 6.8599, - 1.4217, - 7.9988, - 1.4217, - 7.9988, - 1.5218, - 6.8599, - 1.5218 - ], - "spans": [ - { - "offset": 42, - "length": 16 - } - ] - }, - { - "content": "123 456th St", - "polygon": [ - 0.5945, - 1.6092, - 1.3812, - 1.6092, - 1.3812, - 1.742, - 0.5945, - 1.742 - ], - "spans": [ - { - "offset": 59, - "length": 12 - } - ] - }, - { - "content": "INVOICE DATE: 11/15/2019", - "polygon": [ - 6.2263, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 6.2263, - 1.7449 - ], - "spans": [ - { - "offset": 72, - "length": 24 - } - ] - }, - { - "content": "New York, NY, 10001", - "polygon": [ - 0.5943, - 1.8307, - 1.9894, - 1.8307, - 1.9894, - 1.9675, - 0.5943, - 1.9675 - ], - "spans": [ - { - "offset": 97, - "length": 19 - } - ] - }, - { - "content": "DUE DATE: 12/15/2019", - "polygon": [ - 6.4966, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 6.4966, - 1.9515 - ], - "spans": [ - { - "offset": 117, - "length": 20 - } - ] - }, - { - "content": "CUSTOMER NAME: MICROSOFT CORPORATION", - "polygon": [ - 4.9513, - 2.0388, - 7.9825, - 2.0388, - 7.9825, - 2.1389, - 4.9513, - 2.1389 - ], - "spans": [ - { - "offset": 138, - "length": 36 - } - ] - }, - { - "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019", - "polygon": [ - 5.1667, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 5.1667, - 2.3615 - ], - "spans": [ - { - "offset": 175, - "length": 39 - } - ] - }, - { - "content": "CUSTOMER ID: CID-12345", - "polygon": [ - 6.3253, - 2.4488, - 7.9951, - 2.4488, - 7.9951, - 2.5489, - 6.3253, - 2.5489 - ], - "spans": [ - { - "offset": 215, - "length": 22 - } - ] - }, - { - "content": "Microsoft Corp", - "polygon": [ - 0.5943, - 2.6436, - 1.586, - 2.6436, - 1.586, - 2.7871, - 0.5943, - 2.7871 - ], - "spans": [ - { - "offset": 238, - "length": 14 - } - ] - }, - { - "content": "123 Other St,", - "polygon": [ - 0.5945, - 2.8476, - 1.4633, - 2.8476, - 1.4633, - 2.9845, - 0.5945, - 2.9845 - ], - "spans": [ - { - "offset": 253, - "length": 13 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 0.5943, - 3.0513, - 2.0083, - 3.0513, - 2.0083, - 3.1878, - 0.5943, - 3.1878 - ], - "spans": [ - { - "offset": 267, - "length": 17 - } - ] - }, - { - "content": "BILL TO:", - "polygon": [ - 0.5909, - 3.559, - 1.1032, - 3.559, - 1.1032, - 3.6592, - 0.5909, - 3.6592 - ], - "spans": [ - { - "offset": 285, - "length": 8 - } - ] - }, - { - "content": "SHIP TO:", - "polygon": [ - 3.3361, - 3.559, - 3.8903, - 3.559, - 3.8903, - 3.6592, - 3.3361, - 3.6592 - ], - "spans": [ - { - "offset": 294, - "length": 8 - } - ] - }, - { - "content": "SERVICE ADDRESS:", - "polygon": [ - 6.2104, - 3.559, - 7.4232, - 3.559, - 7.4232, - 3.6592, - 6.2104, - 3.6592 - ], - "spans": [ - { - "offset": 303, - "length": 16 - } - ] - }, - { - "content": "Microsoft Finance", - "polygon": [ - 0.5943, - 3.7641, - 1.7878, - 3.7641, - 1.7878, - 3.8794, - 0.5943, - 3.8794 - ], - "spans": [ - { - "offset": 320, - "length": 17 - } - ] - }, - { - "content": "Microsoft Delivery", - "polygon": [ - 3.3454, - 3.7641, - 4.5762, - 3.7641, - 4.5762, - 3.9076, - 3.3454, - 3.9076 - ], - "spans": [ - { - "offset": 338, - "length": 18 - } - ] - }, - { - "content": "Microsoft Services", - "polygon": [ - 6.2197, - 3.7641, - 7.4427, - 3.7641, - 7.4427, - 3.8794, - 6.2197, - 3.8794 - ], - "spans": [ - { - "offset": 357, - "length": 18 - } - ] - }, - { - "content": "123 Bill St,", - "polygon": [ - 0.5945, - 3.9681, - 1.2765, - 3.9681, - 1.2765, - 4.1049, - 0.5945, - 4.1049 - ], - "spans": [ - { - "offset": 376, - "length": 12 - } - ] - }, - { - "content": "123 Ship St,", - "polygon": [ - 3.3456, - 3.9681, - 4.1111, - 3.9681, - 4.1111, - 4.1109, - 3.3456, - 4.1109 - ], - "spans": [ - { - "offset": 389, - "length": 12 - } - ] - }, - { - "content": "123 Service St,", - "polygon": [ - 6.2199, - 3.9734, - 7.1821, - 3.9734, - 7.1821, - 4.1049, - 6.2199, - 4.1049 - ], - "spans": [ - { - "offset": 402, - "length": 15 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 0.5943, - 4.1717, - 2.0083, - 4.1717, - 2.0083, - 4.3082, - 0.5943, - 4.3082 - ], - "spans": [ - { - "offset": 418, - "length": 17 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 3.3454, - 4.1717, - 4.7594, - 4.1717, - 4.7594, - 4.3082, - 3.3454, - 4.3082 - ], - "spans": [ - { - "offset": 436, - "length": 17 - } - ] - }, - { - "content": "Redmond WA, 98052", - "polygon": [ - 6.2197, - 4.1717, - 7.6337, - 4.1717, - 7.6337, - 4.3082, - 6.2197, - 4.3082 - ], - "spans": [ - { - "offset": 454, - "length": 17 - } - ] - }, - { - "content": "SALESPERSON", - "polygon": [ - 0.7018, - 4.6528, - 1.6092, - 4.6528, - 1.6092, - 4.7529, - 0.7018, - 4.7529 - ], - "spans": [ - { - "offset": 472, - "length": 11 - } - ] - }, - { - "content": "P.O. NUMBER", - "polygon": [ - 2.1216, - 4.6528, - 3.0155, - 4.6528, - 3.0155, - 4.7529, - 2.1216, - 4.7529 - ], - "spans": [ - { - "offset": 484, - "length": 11 - } - ] - }, - { - "content": "REQUISITIONER", - "polygon": [ - 3.4953, - 4.6528, - 4.5157, - 4.6528, - 4.5157, - 4.7687, - 3.4953, - 4.7687 - ], - "spans": [ - { - "offset": 496, - "length": 13 - } - ] - }, - { - "content": "SHIPPED VIA", - "polygon": [ - 4.81, - 4.6528, - 5.6317, - 4.6528, - 5.6317, - 4.7529, - 4.81, - 4.7529 - ], - "spans": [ - { - "offset": 510, - "length": 11 - } - ] - }, - { - "content": "F.O.B. POINT", - "polygon": [ - 5.8696, - 4.6528, - 6.706, - 4.6528, - 6.706, - 4.7529, - 5.8696, - 4.7529 - ], - "spans": [ - { - "offset": 522, - "length": 12 - } - ] - }, - { - "content": "TERMS", - "polygon": [ - 7.1806, - 4.6528, - 7.6304, - 4.6528, - 7.6304, - 4.7529, - 7.1806, - 4.7529 - ], - "spans": [ - { - "offset": 535, - "length": 5 - } - ] - }, - { - "content": "PO-3333", - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ], - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - { - "content": "DATE", - "polygon": [ - 0.7409, - 5.421, - 1.0744, - 5.421, - 1.0744, - 5.5186, - 0.7409, - 5.5186 - ], - "spans": [ - { - "offset": 549, - "length": 4 - } - ] - }, - { - "content": "ITEM CODE", - "polygon": [ - 1.4213, - 5.4197, - 2.1407, - 5.4197, - 2.1407, - 5.5199, - 1.4213, - 5.5199 - ], - "spans": [ - { - "offset": 554, - "length": 9 - } - ] - }, - { - "content": "DESCRIPTION", - "polygon": [ - 2.8516, - 5.4197, - 3.7134, - 5.4197, - 3.7134, - 5.5199, - 2.8516, - 5.5199 - ], - "spans": [ - { - "offset": 564, - "length": 11 - } - ] - }, - { - "content": "QTY", - "polygon": [ - 4.4043, - 5.4197, - 4.6631, - 5.4197, - 4.6631, - 5.5357, - 4.4043, - 5.5357 - ], - "spans": [ - { - "offset": 576, - "length": 3 - } - ] - }, - { - "content": "UM", - "polygon": [ - 5.049, - 5.421, - 5.2654, - 5.421, - 5.2654, - 5.5199, - 5.049, - 5.5199 - ], - "spans": [ - { - "offset": 580, - "length": 2 - } - ] - }, - { - "content": "PRICE", - "polygon": [ - 5.8563, - 5.4199, - 6.2163, - 5.4199, - 6.2163, - 5.5197, - 5.8563, - 5.5197 - ], - "spans": [ - { - "offset": 583, - "length": 5 - } - ] - }, - { - "content": "TAX", - "polygon": [ - 6.7169, - 5.421, - 6.974, - 5.421, - 6.974, - 5.5186, - 6.7169, - 5.5186 - ], - "spans": [ - { - "offset": 589, - "length": 3 - } - ] - }, - { - "content": "AMOUNT", - "polygon": [ - 7.2847, - 5.4197, - 7.9039, - 5.4197, - 7.9039, - 5.5199, - 7.2847, - 5.5199 - ], - "spans": [ - { - "offset": 593, - "length": 6 - } - ] - }, - { - "content": "3/4/2021", - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ], - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - { - "content": "A123", - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ], - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - { - "content": "Consulting Services", - "polygon": [ - 2.3388, - 5.6883, - 3.6278, - 5.6883, - 3.6278, - 5.8312, - 2.3388, - 5.8312 - ], - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - { - "content": "2", - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ], - "spans": [ - { - "offset": 634, - "length": 1 - } - ] - }, - { - "content": "hours", - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ], - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - { - "content": "$30.00", - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ], - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - }, - { - "content": "10%", - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ], - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - { - "content": "$60.00", - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ], - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - { - "content": "3/5/2021", - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ], - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - { - "content": "B456", - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ], - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - { - "content": "Document Fee", - "polygon": [ - 2.345, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 2.345, - 6.0997 - ], - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - { - "content": "3", - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ], - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ], - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - }, - { - "content": "5%", - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ], - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - { - "content": "$30.00", - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ], - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - { - "content": "3/6/2021", - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ], - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - { - "content": "C789", - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ], - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - { - "content": "Printing Fee", - "polygon": [ - 2.345, - 6.2906, - 3.1351, - 6.2906, - 3.1351, - 6.4281, - 2.345, - 6.4281 - ], - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - { - "content": "10", - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ], - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - { - "content": "pages", - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ], - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - { - "content": "$1.00", - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ], - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - }, - { - "content": "20%", - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ], - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ], - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - }, - { - "content": "SUBTOTAL", - "polygon": [ - 6.0282, - 6.9118, - 6.7309, - 6.9118, - 6.7309, - 7.0199, - 6.0282, - 7.0199 - ], - "spans": [ - { - "offset": 759, - "length": 8 - } - ] - }, - { - "content": "$100.00", - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ], - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - { - "content": "SALES TAX", - "polygon": [ - 6.0382, - 7.2089, - 6.728, - 7.2089, - 6.728, - 7.317, - 6.0382, - 7.317 - ], - "spans": [ - { - "offset": 776, - "length": 9 - } - ] - }, - { - "content": "$10.00", - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ], - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - { - "content": "TOTAL", - "polygon": [ - 6.2969, - 7.5089, - 6.7309, - 7.5089, - 6.7309, - 7.617, - 6.2969, - 7.617 - ], - "spans": [ - { - "offset": 793, - "length": 5 - } - ] - }, - { - "content": "$110.00", - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ], - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - { - "content": "PREVIOUS UNPAID BALANCE", - "polygon": [ - 4.8126, - 7.8055, - 6.7249, - 7.8055, - 6.7249, - 7.9137, - 4.8126, - 7.9137 - ], - "spans": [ - { - "offset": 807, - "length": 23 - } - ] - }, - { - "content": "$500.00", - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ], - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - { - "content": "AMOUNT DUE", - "polygon": [ - 5.7652, - 8.1022, - 6.725, - 8.1022, - 6.725, - 8.2104, - 5.7652, - 8.2104 - ], - "spans": [ - { - "offset": 839, - "length": 10 - } - ] - }, - { - "content": "$610.00", - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ], - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - }, - { - "content": "THANK YOU FOR YOUR BUSINESS!", - "polygon": [ - 3.129, - 8.539, - 5.356, - 8.539, - 5.356, - 8.6442, - 3.129, - 8.6442 - ], - "spans": [ - { - "offset": 858, - "length": 28 - } - ] - }, - { - "content": "REMIT TO:", - "polygon": [ - 0.5909, - 9.1607, - 1.2603, - 9.1607, - 1.2603, - 9.2608, - 0.5909, - 9.2608 - ], - "spans": [ - { - "offset": 887, - "length": 9 - } - ] - }, - { - "content": "Contoso Billing", - "polygon": [ - 0.5882, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 0.5882, - 9.5059 - ], - "spans": [ - { - "offset": 897, - "length": 15 - } - ] - }, - { - "content": "123 Remit St", - "polygon": [ - 0.5945, - 9.5717, - 1.4337, - 9.5717, - 1.4337, - 9.681, - 0.5945, - 9.681 - ], - "spans": [ - { - "offset": 913, - "length": 12 - } - ] - }, - { - "content": "New York, NY, 10001", - "polygon": [ - 0.5943, - 9.773, - 1.9882, - 9.773, - 1.9882, - 9.9098, - 0.5943, - 9.9098 - ], - "spans": [ - { - "offset": 926, - "length": 19 - } - ] - } - ], - "spans": [ - { - "offset": 0, - "length": 958 - } - ] - } - ], - "tables": [ - { - "rowCount": 4, - "columnCount": 8, - "cells": [ - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "DATE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4932, - 5.329, - 1.3011, - 5.3213, - 1.3011, - 5.6056, - 0.5009, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 549, - "length": 4 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "ITEM CODE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.3213, - 2.2476, - 5.3213, - 2.2399, - 5.6056, - 1.3011, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 554, - "length": 9 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "DESCRIPTION", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2476, - 5.3213, - 4.3174, - 5.329, - 4.3097, - 5.6056, - 2.2399, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 564, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "QTY", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3174, - 5.329, - 4.7483, - 5.329, - 4.7483, - 5.6056, - 4.3097, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 576, - "length": 3 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "UM", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.329, - 5.5639, - 5.329, - 5.5639, - 5.6056, - 4.7483, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 580, - "length": 2 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "PRICE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.329, - 6.495, - 5.329, - 6.495, - 5.6056, - 5.5639, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 583, - "length": 5 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "TAX", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.329, - 7.1875, - 5.329, - 7.1952, - 5.6056, - 6.495, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 589, - "length": 3 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "AMOUNT", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1875, - 5.329, - 7.9954, - 5.329, - 7.9954, - 5.598, - 7.1952, - 5.6056 - ] - } - ], - "spans": [ - { - "offset": 593, - "length": 6 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/4/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5009, - 5.6056, - 1.3011, - 5.6056, - 1.3011, - 5.8976, - 0.5009, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "A123", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.6056, - 2.2399, - 5.6056, - 2.2322, - 5.8976, - 1.3011, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Consulting Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2399, - 5.6056, - 4.3097, - 5.6056, - 4.3097, - 5.8976, - 2.2322, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "2 :unselected:", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 5.6056, - 4.7483, - 5.6056, - 4.7483, - 5.8976, - 4.3097, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 634, - "length": 1 - }, - { - "offset": 946, - "length": 12 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "hours", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.6056, - 5.5639, - 5.6056, - 5.5639, - 5.8976, - 4.7483, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.6056, - 6.495, - 5.6056, - 6.495, - 5.8976, - 5.5639, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "10%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.6056, - 7.1952, - 5.6056, - 7.1952, - 5.8976, - 6.495, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 5.6056, - 7.9954, - 5.598, - 7.9954, - 5.9053, - 7.1952, - 5.8976 - ] - } - ], - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/5/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5009, - 5.8976, - 1.3011, - 5.8976, - 1.3011, - 6.1973, - 0.5086, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "B456", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 5.8976, - 2.2322, - 5.8976, - 2.2245, - 6.1973, - 1.3011, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Document Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2322, - 5.8976, - 4.3097, - 5.8976, - 4.3097, - 6.1973, - 2.2245, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "3", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 5.8976, - 4.7483, - 5.8976, - 4.7483, - 6.1973, - 4.3097, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 5.8976, - 5.5639, - 5.8976, - 5.5639, - 6.1973, - 4.7483, - 6.1973 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 2, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 5.8976, - 6.495, - 5.8976, - 6.495, - 6.1973, - 5.5639, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "5%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 5.8976, - 7.1952, - 5.8976, - 7.1952, - 6.1973, - 6.495, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 5.8976, - 7.9954, - 5.9053, - 7.9954, - 6.1896, - 7.1952, - 6.1973 - ] - } - ], - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "3/6/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5086, - 6.1973, - 1.3011, - 6.1973, - 1.3011, - 6.4969, - 0.5086, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "C789", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.3011, - 6.1973, - 2.2245, - 6.1973, - 2.2245, - 6.4969, - 1.3011, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "Printing Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.2245, - 6.1973, - 4.3097, - 6.1973, - 4.3097, - 6.4969, - 2.2245, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "10", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.3097, - 6.1973, - 4.7483, - 6.1973, - 4.7483, - 6.4969, - 4.3097, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "pages", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7483, - 6.1973, - 5.5639, - 6.1973, - 5.5639, - 6.4969, - 4.7483, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "$1.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.5639, - 6.1973, - 6.495, - 6.1973, - 6.495, - 6.4969, - 5.5639, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 6, - "rowSpan": 1, - "columnSpan": 1, - "content": "20%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.495, - 6.1973, - 7.1952, - 6.1973, - 7.1952, - 6.4969, - 6.495, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 7, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.1952, - 6.1973, - 7.9954, - 6.1896, - 7.9954, - 6.5046, - 7.1952, - 6.4969 - ] - } - ], - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4901, - 5.3293, - 7.9946, - 5.3289, - 7.9954, - 6.5019, - 0.4906, - 6.502 - ] - } - ], - "spans": [ - { - "offset": 549, - "length": 209 - }, - { - "offset": 946, - "length": 12 - } - ] - }, - { - "rowCount": 2, - "columnCount": 6, - "cells": [ - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SALESPERSON", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4977, - 4.565, - 1.8042, - 4.565, - 1.8119, - 4.8388, - 0.5054, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 472, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "P.O. NUMBER", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.8042, - 4.565, - 3.3105, - 4.565, - 3.3105, - 4.8388, - 1.8119, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 484, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "REQUISITIONER", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3105, - 4.565, - 4.6939, - 4.565, - 4.6862, - 4.8388, - 3.3105, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 496, - "length": 13 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "SHIPPED VIA", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.6939, - 4.565, - 5.7468, - 4.565, - 5.7468, - 4.8388, - 4.6862, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 510, - "length": 11 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "F.O.B. POINT", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.7468, - 4.565, - 6.815, - 4.565, - 6.815, - 4.8388, - 5.7468, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 522, - "length": 12 - } - ] - }, - { - "kind": "columnHeader", - "rowIndex": 0, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "TERMS", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.815, - 4.565, - 7.9985, - 4.565, - 7.9985, - 4.8388, - 6.815, - 4.8388 - ] - } - ], - "spans": [ - { - "offset": 535, - "length": 5 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5054, - 4.8388, - 1.8119, - 4.8388, - 1.8119, - 5.1058, - 0.5131, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "PO-3333", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.8119, - 4.8388, - 3.3105, - 4.8388, - 3.3105, - 5.1058, - 1.8119, - 5.1058 - ] - } - ], - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 2, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3105, - 4.8388, - 4.6862, - 4.8388, - 4.6862, - 5.1058, - 3.3105, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 3, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.6862, - 4.8388, - 5.7468, - 4.8388, - 5.7468, - 5.1058, - 4.6862, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 4, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.7468, - 4.8388, - 6.815, - 4.8388, - 6.815, - 5.1058, - 5.7468, - 5.1058 - ] - } - ], - "spans": [] - }, - { - "rowIndex": 1, - "columnIndex": 5, - "rowSpan": 1, - "columnSpan": 1, - "content": "", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.815, - 4.8388, - 7.9985, - 4.8388, - 7.9985, - 5.1125, - 6.815, - 5.1058 - ] - } - ], - "spans": [] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.4971, - 4.565, - 7.9889, - 4.5653, - 7.989, - 5.1146, - 0.4963, - 5.1141 - ] - } - ], - "spans": [ - { - "offset": 472, - "length": 76 - } - ] - }, - { - "rowCount": 5, - "columnCount": 2, - "cells": [ - { - "rowIndex": 0, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SUBTOTAL", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7474, - 6.7934, - 6.8058, - 6.7934, - 6.8105, - 7.0886, - 4.7474, - 7.0886 - ] - } - ], - "spans": [ - { - "offset": 759, - "length": 8 - } - ] - }, - { - "rowIndex": 0, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$100.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8058, - 6.7934, - 7.9981, - 6.7934, - 7.9981, - 7.0934, - 6.8105, - 7.0886 - ] - } - ], - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "SALES TAX", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7474, - 7.0886, - 6.8105, - 7.0886, - 6.8105, - 7.3743, - 4.7427, - 7.3743 - ] - } - ], - "spans": [ - { - "offset": 776, - "length": 9 - } - ] - }, - { - "rowIndex": 1, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.0886, - 7.9981, - 7.0934, - 7.9981, - 7.3934, - 6.8105, - 7.3743 - ] - } - ], - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "TOTAL", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.3743, - 6.8105, - 7.3743, - 6.8105, - 7.6839, - 4.7427, - 7.6839 - ] - } - ], - "spans": [ - { - "offset": 793, - "length": 5 - } - ] - }, - { - "rowIndex": 2, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$110.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.3743, - 7.9981, - 7.3934, - 7.9981, - 7.6886, - 6.8105, - 7.6839 - ] - } - ], - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "PREVIOUS UNPAID BALANCE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.6839, - 6.8105, - 7.6839, - 6.8105, - 7.9743, - 4.7427, - 7.9743 - ] - } - ], - "spans": [ - { - "offset": 807, - "length": 23 - } - ] - }, - { - "rowIndex": 3, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$500.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.6839, - 7.9981, - 7.6886, - 7.9981, - 7.9839, - 6.8105, - 7.9743 - ] - } - ], - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - { - "rowIndex": 4, - "columnIndex": 0, - "rowSpan": 1, - "columnSpan": 1, - "content": "AMOUNT DUE", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7427, - 7.9743, - 6.8105, - 7.9743, - 6.8105, - 8.2839, - 4.7381, - 8.2839 - ] - } - ], - "spans": [ - { - "offset": 839, - "length": 10 - } - ] - }, - { - "rowIndex": 4, - "columnIndex": 1, - "rowSpan": 1, - "columnSpan": 1, - "content": "$610.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.8105, - 7.9743, - 7.9981, - 7.9839, - 7.9981, - 8.2839, - 6.8105, - 8.2839 - ] - } - ], - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - } - ], - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.7456, - 6.7793, - 8.0143, - 6.7788, - 8.0137, - 8.2981, - 4.7446, - 8.2981 - ] - } - ], - "spans": [ - { - "offset": 759, - "length": 98 - } - ] - } - ], - "documents": [ - { - "docType": "prebuilt:invoice", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "fields": { - "AmountDue": { - "type": "number", - "valueNumber": 610, - "content": "$610.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 8.0584, - 7.9181, - 8.0584, - 7.9181, - 8.2022, - 7.3842, - 8.2022 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 850, - "length": 7 - } - ] - }, - "BillingAddress": { - "type": "string", - "valueString": "123 Bill St, Redmond WA, 98052", - "content": "123 Bill St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 3.9681, - 2.0083, - 3.9681, - 2.0083, - 4.3082, - 0.5943, - 4.3082 - ] - } - ], - "confidence": 0.947, - "spans": [ - { - "offset": 376, - "length": 12 - }, - { - "offset": 418, - "length": 17 - } - ] - }, - "BillingAddressRecipient": { - "type": "string", - "valueString": "Microsoft Finance", - "content": "Microsoft Finance", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 3.7641, - 1.7878, - 3.7641, - 1.7878, - 3.8794, - 0.5943, - 3.8794 - ] - } - ], - "confidence": 0.957, - "spans": [ - { - "offset": 320, - "length": 17 - } - ] - }, - "CustomerAddress": { - "type": "string", - "valueString": "123 Other St, Redmond WA, 98052", - "content": "123 Other St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 2.8476, - 2.0083, - 2.8476, - 2.0083, - 3.1878, - 0.5943, - 3.1878 - ] - } - ], - "confidence": 0.947, - "spans": [ - { - "offset": 253, - "length": 31 - } - ] - }, - "CustomerAddressRecipient": { - "type": "string", - "valueString": "Microsoft Corp", - "content": "Microsoft Corp", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 2.6436, - 1.586, - 2.6436, - 1.586, - 2.7871, - 0.5943, - 2.7871 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 238, - "length": 14 - } - ] - }, - "CustomerId": { - "type": "string", - "valueString": "CID-12345", - "content": "CID-12345", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3369, - 2.4491, - 7.9951, - 2.4491, - 7.9951, - 2.5486, - 7.3369, - 2.5486 - ] - } - ], - "confidence": 0.964, - "spans": [ - { - "offset": 228, - "length": 9 - } - ] - }, - "CustomerName": { - "type": "string", - "valueString": "MICROSOFT CORPORATION", - "content": "MICROSOFT CORPORATION", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2419, - 2.0391, - 7.9825, - 2.0391, - 7.9825, - 2.1386, - 6.2419, - 2.1386 - ] - } - ], - "confidence": 0.949, - "spans": [ - { - "offset": 153, - "length": 21 - } - ] - }, - "DueDate": { - "type": "date", - "valueDate": "2019-12-15", - "content": "12/15/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2494, - 1.8206, - 7.993, - 1.8206, - 7.993, - 1.9515, - 7.2494, - 1.9515 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 127, - "length": 10 - } - ] - }, - "InvoiceDate": { - "type": "date", - "valueDate": "2019-11-15", - "content": "11/15/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2528, - 1.6139, - 7.993, - 1.6139, - 7.993, - 1.7449, - 7.2528, - 1.7449 - ] - } - ], - "confidence": 0.972, - "spans": [ - { - "offset": 86, - "length": 10 - } - ] - }, - "InvoiceId": { - "type": "string", - "valueString": "INV-100", - "content": "INV-100", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4959, - 1.422, - 7.9988, - 1.422, - 7.9988, - 1.5215, - 7.4959, - 1.5215 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 51, - "length": 7 - } - ] - }, - "InvoiceTotal": { - "type": "number", - "valueNumber": 110, - "content": "$110.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 7.465, - 7.9181, - 7.465, - 7.9181, - 7.6089, - 7.3842, - 7.6089 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 799, - "length": 7 - } - ] - }, - "Items": { - "type": "array", - "valueArray": [ - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 60, - "content": "$60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8215, - 7.4642, - 5.8215 - ] - } - ], - "confidence": 0.902, - "spans": [ - { - "offset": 653, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-04", - "content": "3/4/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.682, - 1.2092, - 5.682, - 1.2092, - 5.8243, - 0.592, - 5.8243 - ] - } - ], - "confidence": 0.938, - "spans": [ - { - "offset": 600, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Consulting Services", - "content": "Consulting Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.3388, - 5.6883, - 3.6278, - 5.6883, - 3.6278, - 5.8312, - 2.3388, - 5.8312 - ] - } - ], - "confidence": 0.9, - "spans": [ - { - "offset": 614, - "length": 19 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "A123", - "content": "A123", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6069, - 5.6948, - 1.9417, - 5.6948, - 1.9417, - 5.803, - 1.6069, - 5.803 - ] - } - ], - "confidence": 0.877, - "spans": [ - { - "offset": 609, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 2, - "content": "2", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5977, - 5.6948, - 4.6635, - 5.6948, - 4.6635, - 5.8017, - 4.5977, - 5.8017 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 634, - "length": 1 - } - ] - }, - "Tax": { - "type": "number", - "content": "10%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.7168, - 5.6932, - 6.9826, - 5.6932, - 6.9826, - 5.8045, - 6.7168, - 5.8045 - ] - } - ], - "confidence": 0.78, - "spans": [ - { - "offset": 649, - "length": 3 - } - ] - }, - "Unit": { - "type": "string", - "valueString": "hours", - "content": "hours", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.8444, - 5.6883, - 5.2071, - 5.6883, - 5.2071, - 5.803, - 4.8444, - 5.803 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 636, - "length": 5 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 30, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.9669, - 5.6777, - 6.4142, - 5.6777, - 6.4142, - 5.8215, - 5.9669, - 5.8215 - ] - } - ], - "confidence": 0.828, - "spans": [ - { - "offset": 642, - "length": 6 - } - ] - } - }, - "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.6777, - 7.9116, - 5.6777, - 7.9116, - 5.8312, - 0.592, - 5.8312 - ] - } - ], - "confidence": 0.955, - "spans": [ - { - "offset": 600, - "length": 59 - } - ] - }, - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 30, - "content": "$30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.1182, - 7.4642, - 6.1182 - ] - } - ], - "confidence": 0.916, - "spans": [ - { - "offset": 699, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-05", - "content": "3/5/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.9787, - 1.2088, - 5.9787, - 1.2088, - 6.121, - 0.592, - 6.121 - ] - } - ], - "confidence": 0.902, - "spans": [ - { - "offset": 660, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Document Fee", - "content": "Document Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.345, - 5.993, - 3.3096, - 5.993, - 3.3096, - 6.0997, - 2.345, - 6.0997 - ] - } - ], - "confidence": 0.901, - "spans": [ - { - "offset": 674, - "length": 12 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "B456", - "content": "B456", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6214, - 5.9915, - 1.9419, - 5.9915, - 1.9419, - 6.0997, - 1.6214, - 6.0997 - ] - } - ], - "confidence": 0.886, - "spans": [ - { - "offset": 669, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 3, - "content": "3", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5967, - 5.9915, - 4.6627, - 5.9915, - 4.6627, - 6.0997, - 4.5967, - 6.0997 - ] - } - ], - "confidence": 0.898, - "spans": [ - { - "offset": 687, - "length": 1 - } - ] - }, - "Tax": { - "type": "number", - "content": "5%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.7508, - 5.9898, - 6.9393, - 5.9898, - 6.9393, - 6.1012, - 6.7508, - 6.1012 - ] - } - ], - "confidence": 0.772, - "spans": [ - { - "offset": 696, - "length": 2 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 5.9669, - 5.9743, - 6.4142, - 5.9743, - 6.4142, - 6.1182, - 5.9669, - 6.1182 - ] - } - ], - "confidence": 0.831, - "spans": [ - { - "offset": 689, - "length": 6 - } - ] - } - }, - "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 5.9743, - 7.9116, - 5.9743, - 7.9116, - 6.121, - 0.592, - 6.121 - ] - } - ], - "confidence": 0.941, - "spans": [ - { - "offset": 660, - "length": 45 - } - ] - }, - { - "type": "object", - "valueObject": { - "Amount": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4642, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4184, - 7.4642, - 6.4184 - ] - } - ], - "confidence": 0.959, - "spans": [ - { - "offset": 752, - "length": 6 - } - ] - }, - "Date": { - "type": "date", - "valueDate": "2021-03-06", - "content": "3/6/2021", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 6.2789, - 1.2088, - 6.2789, - 1.2088, - 6.4213, - 0.592, - 6.4213 - ] - } - ], - "confidence": 0.903, - "spans": [ - { - "offset": 706, - "length": 8 - } - ] - }, - "Description": { - "type": "string", - "valueString": "Printing Fee", - "content": "Printing Fee", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 2.345, - 6.2906, - 3.1351, - 6.2906, - 3.1351, - 6.4281, - 2.345, - 6.4281 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 720, - "length": 12 - } - ] - }, - "ProductCode": { - "type": "string", - "valueString": "C789", - "content": "C789", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.6152, - 6.2918, - 1.94, - 6.2918, - 1.94, - 6.3999, - 1.6152, - 6.3999 - ] - } - ], - "confidence": 0.898, - "spans": [ - { - "offset": 715, - "length": 4 - } - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 10, - "content": "10", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.5158, - 6.2918, - 4.6637, - 6.2918, - 4.6637, - 6.3999, - 4.5158, - 6.3999 - ] - } - ], - "confidence": 0.903, - "spans": [ - { - "offset": 733, - "length": 2 - } - ] - }, - "Tax": { - "type": "number", - "content": "20%", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.712, - 6.2901, - 6.9826, - 6.2901, - 6.9826, - 6.4014, - 6.712, - 6.4014 - ] - } - ], - "confidence": 0.791, - "spans": [ - { - "offset": 748, - "length": 3 - } - ] - }, - "Unit": { - "type": "string", - "valueString": "pages", - "content": "pages", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 4.8444, - 6.3196, - 5.2199, - 6.3196, - 5.2199, - 6.4281, - 4.8444, - 6.4281 - ] - } - ], - "confidence": 0.899, - "spans": [ - { - "offset": 736, - "length": 5 - } - ] - }, - "UnitPrice": { - "type": "number", - "valueNumber": 1, - "content": "$1.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.0502, - 6.2746, - 6.4142, - 6.2746, - 6.4142, - 6.4184, - 6.0502, - 6.4184 - ] - } - ], - "confidence": 0.829, - "spans": [ - { - "offset": 742, - "length": 5 - } - ] - } - }, - "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.592, - 6.2746, - 7.9116, - 6.2746, - 7.9116, - 6.4281, - 0.592, - 6.4281 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 706, - "length": 52 - } - ] - } - ] - }, - "Locale": { - "type": "string", - "valueString": "en-US", - "confidence": 1 - }, - "PreviousUnpaidBalance": { - "type": "number", - "valueNumber": 500, - "content": "$500.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 7.7617, - 7.9181, - 7.7617, - 7.9181, - 7.9055, - 7.3842, - 7.9055 - ] - } - ], - "confidence": 0.962, - "spans": [ - { - "offset": 831, - "length": 7 - } - ] - }, - "PurchaseOrder": { - "type": "string", - "valueString": "PO-3333", - "content": "PO-3333", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 1.9114, - 4.9282, - 2.4718, - 4.9282, - 2.4718, - 5.0363, - 1.9114, - 5.0363 - ] - } - ], - "confidence": 0.967, - "spans": [ - { - "offset": 541, - "length": 7 - } - ] - }, - "RemittanceAddress": { - "type": "string", - "valueString": "123 Remit St New York, NY, 10001", - "content": "123 Remit St New York, NY, 10001", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 9.5717, - 1.9882, - 9.5717, - 1.9882, - 9.9098, - 0.5943, - 9.9098 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 913, - "length": 32 - } - ] - }, - "RemittanceAddressRecipient": { - "type": "string", - "valueString": "Contoso Billing", - "content": "Contoso Billing", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5882, - 9.3631, - 1.5828, - 9.3631, - 1.5828, - 9.5059, - 0.5882, - 9.5059 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 897, - "length": 15 - } - ] - }, - "ServiceAddress": { - "type": "string", - "valueString": "123 Service St, Redmond WA, 98052", - "content": "123 Service St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2197, - 3.9734, - 7.6337, - 3.9734, - 7.6337, - 4.3082, - 6.2197, - 4.3082 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 402, - "length": 15 - }, - { - "offset": 454, - "length": 17 - } - ] - }, - "ServiceAddressRecipient": { - "type": "string", - "valueString": "Microsoft Services", - "content": "Microsoft Services", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.2197, - 3.7641, - 7.4427, - 3.7641, - 7.4427, - 3.8794, - 6.2197, - 3.8794 - ] - } - ], - "confidence": 0.951, - "spans": [ - { - "offset": 357, - "length": 18 - } - ] - }, - "ServiceEndDate": { - "type": "date", - "valueDate": "2019-11-14", - "content": "11/14/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.2528, - 2.2306, - 7.9952, - 2.2306, - 7.9952, - 2.3615, - 7.2528, - 2.3615 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 204, - "length": 10 - } - ] - }, - "ServiceStartDate": { - "type": "date", - "valueDate": "2019-10-14", - "content": "10/14/2019", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 6.3357, - 2.2306, - 7.0749, - 2.2306, - 7.0749, - 2.3615, - 6.3357, - 2.3615 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 191, - "length": 10 - } - ] - }, - "ShippingAddress": { - "type": "string", - "valueString": "123 Ship St, Redmond WA, 98052", - "content": "123 Ship St, Redmond WA, 98052", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3454, - 3.9681, - 4.7594, - 3.9681, - 4.7594, - 4.3082, - 3.3454, - 4.3082 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 389, - "length": 12 - }, - { - "offset": 436, - "length": 17 - } - ] - }, - "ShippingAddressRecipient": { - "type": "string", - "valueString": "Microsoft Delivery", - "content": "Microsoft Delivery", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 3.3454, - 3.7641, - 4.5762, - 3.7641, - 4.5762, - 3.9076, - 3.3454, - 3.9076 - ] - } - ], - "confidence": 0.955, - "spans": [ - { - "offset": 338, - "length": 18 - } - ] - }, - "SubTotal": { - "type": "number", - "valueNumber": 100, - "content": "$100.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.3842, - 6.8679, - 7.9181, - 6.8679, - 7.9181, - 7.0118, - 7.3842, - 7.0118 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 768, - "length": 7 - } - ] - }, - "TotalTax": { - "type": "number", - "valueNumber": 10, - "content": "$10.00", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 7.4709, - 7.165, - 7.9182, - 7.165, - 7.9182, - 7.3089, - 7.4709, - 7.3089 - ] - } - ], - "confidence": 0.973, - "spans": [ - { - "offset": 786, - "length": 6 - } - ] - }, - "VendorAddress": { - "type": "string", - "valueString": "123 456th St New York, NY, 10001", - "content": "123 456th St New York, NY, 10001", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5943, - 1.6092, - 1.9894, - 1.6092, - 1.9894, - 1.9675, - 0.5943, - 1.9675 - ] - } - ], - "confidence": 0.946, - "spans": [ - { - "offset": 59, - "length": 12 - }, - { - "offset": 97, - "length": 19 - } - ] - }, - "VendorAddressRecipient": { - "type": "string", - "valueString": "Contoso Headquarters", - "content": "Contoso Headquarters", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5882, - 1.4239, - 2.0978, - 1.4239, - 2.0978, - 1.5664, - 0.5882, - 1.5664 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 21, - "length": 20 - } - ] - }, - "VendorName": { - "type": "string", - "valueString": "CONTOSO LTD.", - "content": "CONTOSO LTD.", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0.5911, - 0.6857, - 2.3181, - 0.6857, - 2.3181, - 0.8664, - 0.5911, - 0.8664 - ] - } - ], - "confidence": 0.956, - "spans": [ - { - "offset": 0, - "length": 12 - } - ] - } - }, - "confidence": 1, - "spans": [ - { - "offset": 0, - "length": 958 - } - ] - } - ] - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "prebuilt-invoice", + "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" + }, + "responses": { + "200": { + "body": { + "status": "succeeded", + "createdDateTime": "2021-09-24T13:00:46Z", + "lastUpdatedDateTime": "2021-09-24T13:00:49Z", + "analyzeResult": { + "apiVersion": "2023-07-31", + "modelId": "prebuilt-invoice", + "stringIndexType": "textElements", + "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:", + "pages": [ + { + "pageNumber": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch", + "words": [ + { + "content": "CONTOSO", + "polygon": [ + 0.5911, + 0.6857, + 1.7451, + 0.6857, + 1.7451, + 0.8664, + 0.5911, + 0.8664 + ], + "confidence": 1, + "span": { + "offset": 0, + "length": 7 + } + }, + { + "content": "LTD.", + "polygon": [ + 1.8441, + 0.6879, + 2.3181, + 0.6879, + 2.3181, + 0.865, + 1.8441, + 0.865 + ], + "confidence": 1, + "span": { + "offset": 8, + "length": 4 + } + }, + { + "content": "INVOICE", + "polygon": [ + 7.0751, + 0.589, + 7.9886, + 0.589, + 7.9886, + 0.7697, + 7.0751, + 0.7697 + ], + "confidence": 1, + "span": { + "offset": 13, + "length": 7 + } + }, + { + "content": "Contoso", + "polygon": [ + 0.5882, + 1.4303, + 1.1337, + 1.4303, + 1.1337, + 1.5383, + 0.5882, + 1.5383 + ], + "confidence": 1, + "span": { + "offset": 21, + "length": 7 + } + }, + { + "content": "Headquarters", + "polygon": [ + 1.1905, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 1.1905, + 1.5664 + ], + "confidence": 1, + "span": { + "offset": 29, + "length": 12 + } + }, + { + "content": "INVOICE:", + "polygon": [ + 6.8599, + 1.4217, + 7.4328, + 1.4217, + 7.4328, + 1.5218, + 6.8599, + 1.5218 + ], + "confidence": 1, + "span": { + "offset": 42, + "length": 8 + } + }, + { + "content": "INV-100", + "polygon": [ + 7.4959, + 1.422, + 7.9988, + 1.422, + 7.9988, + 1.5215, + 7.4959, + 1.5215 + ], + "confidence": 1, + "span": { + "offset": 51, + "length": 7 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 1.6339, + 0.8213, + 1.6339, + 0.8213, + 1.742, + 0.5945, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 59, + "length": 3 + } + }, + { + "content": "456th", + "polygon": [ + 0.874, + 1.6092, + 1.2102, + 1.6092, + 1.2102, + 1.742, + 0.874, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 63, + "length": 5 + } + }, + { + "content": "St", + "polygon": [ + 1.2598, + 1.6339, + 1.3812, + 1.6339, + 1.3812, + 1.742, + 1.2598, + 1.742 + ], + "confidence": 1, + "span": { + "offset": 69, + "length": 2 + } + }, + { + "content": "INVOICE", + "polygon": [ + 6.2263, + 1.6254, + 6.7562, + 1.6254, + 6.7562, + 1.7256, + 6.2263, + 1.7256 + ], + "confidence": 1, + "span": { + "offset": 72, + "length": 7 + } + }, + { + "content": "DATE:", + "polygon": [ + 6.8132, + 1.6267, + 7.1891, + 1.6267, + 7.1891, + 1.7248, + 6.8132, + 1.7248 + ], + "confidence": 1, + "span": { + "offset": 80, + "length": 5 + } + }, + { + "content": "11/15/2019", + "polygon": [ + 7.2528, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 7.2528, + 1.7449 + ], + "confidence": 1, + "span": { + "offset": 86, + "length": 10 + } + }, + { + "content": "New", + "polygon": [ + 0.5943, + 1.8385, + 0.8848, + 1.8385, + 0.8848, + 1.9454, + 0.5943, + 1.9454 + ], + "confidence": 1, + "span": { + "offset": 97, + "length": 3 + } + }, + { + "content": "York,", + "polygon": [ + 0.9293, + 1.8307, + 1.2568, + 1.8307, + 1.2568, + 1.9675, + 0.9293, + 1.9675 + ], + "confidence": 1, + "span": { + "offset": 101, + "length": 5 + } + }, + { + "content": "NY,", + "polygon": [ + 1.3205, + 1.8382, + 1.5242, + 1.8382, + 1.5242, + 1.9675, + 1.3205, + 1.9675 + ], + "confidence": 1, + "span": { + "offset": 107, + "length": 3 + } + }, + { + "content": "10001", + "polygon": [ + 1.5915, + 1.8372, + 1.9894, + 1.8372, + 1.9894, + 1.9454, + 1.5915, + 1.9454 + ], + "confidence": 1, + "span": { + "offset": 111, + "length": 5 + } + }, + { + "content": "DUE", + "polygon": [ + 6.4966, + 1.8333, + 6.7569, + 1.8333, + 6.7569, + 1.9322, + 6.4966, + 1.9322 + ], + "confidence": 1, + "span": { + "offset": 117, + "length": 3 + } + }, + { + "content": "DATE:", + "polygon": [ + 6.8126, + 1.8333, + 7.1846, + 1.8333, + 7.1846, + 1.9315, + 6.8126, + 1.9315 + ], + "confidence": 1, + "span": { + "offset": 121, + "length": 5 + } + }, + { + "content": "12/15/2019", + "polygon": [ + 7.2494, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 7.2494, + 1.9515 + ], + "confidence": 1, + "span": { + "offset": 127, + "length": 10 + } + }, + { + "content": "CUSTOMER", + "polygon": [ + 4.9513, + 2.0388, + 5.6868, + 2.0388, + 5.6868, + 2.1389, + 4.9513, + 2.1389 + ], + "confidence": 1, + "span": { + "offset": 138, + "length": 8 + } + }, + { + "content": "NAME:", + "polygon": [ + 5.7412, + 2.04, + 6.1764, + 2.04, + 6.1764, + 2.1381, + 5.7412, + 2.1381 + ], + "confidence": 1, + "span": { + "offset": 147, + "length": 5 + } + }, + { + "content": "MICROSOFT", + "polygon": [ + 6.2419, + 2.0391, + 6.9981, + 2.0391, + 6.9981, + 2.1386, + 6.2419, + 2.1386 + ], + "confidence": 1, + "span": { + "offset": 153, + "length": 9 + } + }, + { + "content": "CORPORATION", + "polygon": [ + 7.0448, + 2.0391, + 7.9825, + 2.0391, + 7.9825, + 2.1386, + 7.0448, + 2.1386 + ], + "confidence": 1, + "span": { + "offset": 163, + "length": 11 + } + }, + { + "content": "SERVICE", + "polygon": [ + 5.1667, + 2.2421, + 5.6923, + 2.2421, + 5.6923, + 2.3422, + 5.1667, + 2.3422 + ], + "confidence": 1, + "span": { + "offset": 175, + "length": 7 + } + }, + { + "content": "PERIOD:", + "polygon": [ + 5.748, + 2.2421, + 6.2721, + 2.2421, + 6.2721, + 2.3422, + 5.748, + 2.3422 + ], + "confidence": 1, + "span": { + "offset": 183, + "length": 7 + } + }, + { + "content": "10/14/2019", + "polygon": [ + 6.3357, + 2.2306, + 7.0749, + 2.2306, + 7.0749, + 2.3615, + 6.3357, + 2.3615 + ], + "confidence": 1, + "span": { + "offset": 191, + "length": 10 + } + }, + { + "content": "–", + "polygon": [ + 7.122, + 2.2922, + 7.1995, + 2.2922, + 7.1995, + 2.3037, + 7.122, + 2.3037 + ], + "confidence": 1, + "span": { + "offset": 202, + "length": 1 + } + }, + { + "content": "11/14/2019", + "polygon": [ + 7.2528, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 7.2528, + 2.3615 + ], + "confidence": 1, + "span": { + "offset": 204, + "length": 10 + } + }, + { + "content": "CUSTOMER", + "polygon": [ + 6.3253, + 2.4488, + 7.0608, + 2.4488, + 7.0608, + 2.5489, + 6.3253, + 2.5489 + ], + "confidence": 1, + "span": { + "offset": 215, + "length": 8 + } + }, + { + "content": "ID:", + "polygon": [ + 7.1153, + 2.45, + 7.2809, + 2.45, + 7.2809, + 2.5481, + 7.1153, + 2.5481 + ], + "confidence": 1, + "span": { + "offset": 224, + "length": 3 + } + }, + { + "content": "CID-12345", + "polygon": [ + 7.3369, + 2.4491, + 7.9951, + 2.4491, + 7.9951, + 2.5486, + 7.3369, + 2.5486 + ], + "confidence": 1, + "span": { + "offset": 228, + "length": 9 + } + }, + { + "content": "Microsoft", + "polygon": [ + 0.5943, + 2.6436, + 1.2303, + 2.6436, + 1.2303, + 2.759, + 0.5943, + 2.759 + ], + "confidence": 1, + "span": { + "offset": 238, + "length": 9 + } + }, + { + "content": "Corp", + "polygon": [ + 1.2808, + 2.651, + 1.586, + 2.651, + 1.586, + 2.7871, + 1.2808, + 2.7871 + ], + "confidence": 1, + "span": { + "offset": 248, + "length": 4 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 2.8541, + 0.8213, + 2.8541, + 0.8213, + 2.9623, + 0.5945, + 2.9623 + ], + "confidence": 1, + "span": { + "offset": 253, + "length": 3 + } + }, + { + "content": "Other", + "polygon": [ + 0.875, + 2.8476, + 1.262, + 2.8476, + 1.262, + 2.9623, + 0.875, + 2.9623 + ], + "confidence": 1, + "span": { + "offset": 257, + "length": 5 + } + }, + { + "content": "St,", + "polygon": [ + 1.3058, + 2.8541, + 1.4633, + 2.8541, + 1.4633, + 2.9845, + 1.3058, + 2.9845 + ], + "confidence": 1, + "span": { + "offset": 263, + "length": 3 + } + }, + { + "content": "Redmond", + "polygon": [ + 0.5943, + 3.0513, + 1.2222, + 3.0513, + 1.2222, + 3.1656, + 0.5943, + 3.1656 + ], + "confidence": 1, + "span": { + "offset": 267, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 1.2753, + 3.0585, + 1.5468, + 3.0585, + 1.5468, + 3.1878, + 1.2753, + 3.1878 + ], + "confidence": 1, + "span": { + "offset": 275, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 1.6033, + 3.0575, + 2.0083, + 3.0575, + 2.0083, + 3.1656, + 1.6033, + 3.1656 + ], + "confidence": 1, + "span": { + "offset": 279, + "length": 5 + } + }, + { + "content": "BILL", + "polygon": [ + 0.5909, + 3.5603, + 0.8438, + 3.5603, + 0.8438, + 3.6579, + 0.5909, + 3.6579 + ], + "confidence": 1, + "span": { + "offset": 285, + "length": 4 + } + }, + { + "content": "TO:", + "polygon": [ + 0.8846, + 3.559, + 1.1032, + 3.559, + 1.1032, + 3.6592, + 0.8846, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 290, + "length": 3 + } + }, + { + "content": "SHIP", + "polygon": [ + 3.3361, + 3.559, + 3.6278, + 3.559, + 3.6278, + 3.6592, + 3.3361, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 294, + "length": 4 + } + }, + { + "content": "TO:", + "polygon": [ + 3.6716, + 3.559, + 3.8903, + 3.559, + 3.8903, + 3.6592, + 3.6716, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 299, + "length": 3 + } + }, + { + "content": "SERVICE", + "polygon": [ + 6.2104, + 3.559, + 6.7361, + 3.559, + 6.7361, + 3.6592, + 6.2104, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 303, + "length": 7 + } + }, + { + "content": "ADDRESS:", + "polygon": [ + 6.7828, + 3.559, + 7.4232, + 3.559, + 7.4232, + 3.6592, + 6.7828, + 3.6592 + ], + "confidence": 1, + "span": { + "offset": 311, + "length": 8 + } + }, + { + "content": "Microsoft", + "polygon": [ + 0.5943, + 3.7641, + 1.2303, + 3.7641, + 1.2303, + 3.8794, + 0.5943, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 320, + "length": 9 + } + }, + { + "content": "Finance", + "polygon": [ + 1.287, + 3.7701, + 1.7878, + 3.7701, + 1.7878, + 3.8794, + 1.287, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 330, + "length": 7 + } + }, + { + "content": "Microsoft", + "polygon": [ + 3.3454, + 3.7641, + 3.9814, + 3.7641, + 3.9814, + 3.8794, + 3.3454, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 338, + "length": 9 + } + }, + { + "content": "Delivery", + "polygon": [ + 4.0381, + 3.7647, + 4.5762, + 3.7647, + 4.5762, + 3.9076, + 4.0381, + 3.9076 + ], + "confidence": 1, + "span": { + "offset": 348, + "length": 8 + } + }, + { + "content": "Microsoft", + "polygon": [ + 6.2197, + 3.7641, + 6.8557, + 3.7641, + 6.8557, + 3.8794, + 6.2197, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 357, + "length": 9 + } + }, + { + "content": "Services", + "polygon": [ + 6.9042, + 3.7701, + 7.4427, + 3.7701, + 7.4427, + 3.8794, + 6.9042, + 3.8794 + ], + "confidence": 1, + "span": { + "offset": 367, + "length": 8 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 3.9746, + 0.8213, + 3.9746, + 0.8213, + 4.0827, + 0.5945, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 376, + "length": 3 + } + }, + { + "content": "Bill", + "polygon": [ + 0.8842, + 3.9681, + 1.0657, + 3.9681, + 1.0657, + 4.0817, + 0.8842, + 4.0817 + ], + "confidence": 1, + "span": { + "offset": 380, + "length": 4 + } + }, + { + "content": "St,", + "polygon": [ + 1.1222, + 3.9746, + 1.2765, + 3.9746, + 1.2765, + 4.1049, + 1.1222, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 385, + "length": 3 + } + }, + { + "content": "123", + "polygon": [ + 3.3456, + 3.9746, + 3.5724, + 3.9746, + 3.5724, + 4.0827, + 3.3456, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 389, + "length": 3 + } + }, + { + "content": "Ship", + "polygon": [ + 3.6239, + 3.9681, + 3.9042, + 3.9681, + 3.9042, + 4.1109, + 3.6239, + 4.1109 + ], + "confidence": 1, + "span": { + "offset": 393, + "length": 4 + } + }, + { + "content": "St,", + "polygon": [ + 3.9536, + 3.9746, + 4.1111, + 3.9746, + 4.1111, + 4.1049, + 3.9536, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 398, + "length": 3 + } + }, + { + "content": "123", + "polygon": [ + 6.2199, + 3.9746, + 6.4467, + 3.9746, + 6.4467, + 4.0827, + 6.2199, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 402, + "length": 3 + } + }, + { + "content": "Service", + "polygon": [ + 6.4985, + 3.9734, + 6.9738, + 3.9734, + 6.9738, + 4.0827, + 6.4985, + 4.0827 + ], + "confidence": 1, + "span": { + "offset": 406, + "length": 7 + } + }, + { + "content": "St,", + "polygon": [ + 7.0246, + 3.9746, + 7.1821, + 3.9746, + 7.1821, + 4.1049, + 7.0246, + 4.1049 + ], + "confidence": 1, + "span": { + "offset": 414, + "length": 3 + } + }, + { + "content": "Redmond", + "polygon": [ + 0.5943, + 4.1717, + 1.2222, + 4.1717, + 1.2222, + 4.2861, + 0.5943, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 418, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 1.2753, + 4.1789, + 1.5468, + 4.1789, + 1.5468, + 4.3082, + 1.2753, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 426, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 1.6033, + 4.1779, + 2.0083, + 4.1779, + 2.0083, + 4.2861, + 1.6033, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 430, + "length": 5 + } + }, + { + "content": "Redmond", + "polygon": [ + 3.3454, + 4.1717, + 3.9732, + 4.1717, + 3.9732, + 4.2861, + 3.3454, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 436, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 4.0264, + 4.1789, + 4.2979, + 4.1789, + 4.2979, + 4.3082, + 4.0264, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 444, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 4.3544, + 4.1779, + 4.7594, + 4.1779, + 4.7594, + 4.2861, + 4.3544, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 448, + "length": 5 + } + }, + { + "content": "Redmond", + "polygon": [ + 6.2197, + 4.1717, + 6.8475, + 4.1717, + 6.8475, + 4.2861, + 6.2197, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 454, + "length": 7 + } + }, + { + "content": "WA,", + "polygon": [ + 6.9007, + 4.1789, + 7.1722, + 4.1789, + 7.1722, + 4.3082, + 6.9007, + 4.3082 + ], + "confidence": 1, + "span": { + "offset": 462, + "length": 3 + } + }, + { + "content": "98052", + "polygon": [ + 7.2287, + 4.1779, + 7.6337, + 4.1779, + 7.6337, + 4.2861, + 7.2287, + 4.2861 + ], + "confidence": 1, + "span": { + "offset": 466, + "length": 5 + } + }, + { + "content": "SALESPERSON", + "polygon": [ + 0.7018, + 4.6528, + 1.6092, + 4.6528, + 1.6092, + 4.7529, + 0.7018, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 472, + "length": 11 + } + }, + { + "content": "P.O.", + "polygon": [ + 2.1216, + 4.6528, + 2.3788, + 4.6528, + 2.3788, + 4.7529, + 2.1216, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 484, + "length": 4 + } + }, + { + "content": "NUMBER", + "polygon": [ + 2.4376, + 4.654, + 3.0155, + 4.654, + 3.0155, + 4.7529, + 2.4376, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 489, + "length": 6 + } + }, + { + "content": "REQUISITIONER", + "polygon": [ + 3.4953, + 4.6528, + 4.5157, + 4.6528, + 4.5157, + 4.7687, + 3.4953, + 4.7687 + ], + "confidence": 1, + "span": { + "offset": 496, + "length": 13 + } + }, + { + "content": "SHIPPED", + "polygon": [ + 4.81, + 4.6528, + 5.362, + 4.6528, + 5.362, + 4.7529, + 4.81, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 510, + "length": 7 + } + }, + { + "content": "VIA", + "polygon": [ + 5.409, + 4.654, + 5.6317, + 4.654, + 5.6317, + 4.7517, + 5.409, + 4.7517 + ], + "confidence": 1, + "span": { + "offset": 518, + "length": 3 + } + }, + { + "content": "F.O.B.", + "polygon": [ + 5.8696, + 4.6528, + 6.2467, + 4.6528, + 6.2467, + 4.7529, + 5.8696, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 522, + "length": 6 + } + }, + { + "content": "POINT", + "polygon": [ + 6.3054, + 4.6528, + 6.706, + 4.6528, + 6.706, + 4.7529, + 6.3054, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 529, + "length": 5 + } + }, + { + "content": "TERMS", + "polygon": [ + 7.1806, + 4.6528, + 7.6304, + 4.6528, + 7.6304, + 4.7529, + 7.1806, + 4.7529 + ], + "confidence": 1, + "span": { + "offset": 535, + "length": 5 + } + }, + { + "content": "PO-3333", + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ], + "confidence": 1, + "span": { + "offset": 541, + "length": 7 + } + }, + { + "content": "DATE", + "polygon": [ + 0.7409, + 5.421, + 1.0744, + 5.421, + 1.0744, + 5.5186, + 0.7409, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 549, + "length": 4 + } + }, + { + "content": "ITEM", + "polygon": [ + 1.4213, + 5.421, + 1.7338, + 5.421, + 1.7338, + 5.5186, + 1.4213, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 554, + "length": 4 + } + }, + { + "content": "CODE", + "polygon": [ + 1.7893, + 5.4197, + 2.1407, + 5.4197, + 2.1407, + 5.5199, + 1.7893, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 559, + "length": 4 + } + }, + { + "content": "DESCRIPTION", + "polygon": [ + 2.8516, + 5.4197, + 3.7134, + 5.4197, + 3.7134, + 5.5199, + 2.8516, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 564, + "length": 11 + } + }, + { + "content": "QTY", + "polygon": [ + 4.4043, + 5.4197, + 4.6631, + 5.4197, + 4.6631, + 5.5357, + 4.4043, + 5.5357 + ], + "confidence": 1, + "span": { + "offset": 576, + "length": 3 + } + }, + { + "content": "UM", + "polygon": [ + 5.049, + 5.421, + 5.2654, + 5.421, + 5.2654, + 5.5199, + 5.049, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 580, + "length": 2 + } + }, + { + "content": "PRICE", + "polygon": [ + 5.8563, + 5.4199, + 6.2163, + 5.4199, + 6.2163, + 5.5197, + 5.8563, + 5.5197 + ], + "confidence": 1, + "span": { + "offset": 583, + "length": 5 + } + }, + { + "content": "TAX", + "polygon": [ + 6.7169, + 5.421, + 6.974, + 5.421, + 6.974, + 5.5186, + 6.7169, + 5.5186 + ], + "confidence": 1, + "span": { + "offset": 589, + "length": 3 + } + }, + { + "content": "AMOUNT", + "polygon": [ + 7.2847, + 5.4197, + 7.9039, + 5.4197, + 7.9039, + 5.5199, + 7.2847, + 5.5199 + ], + "confidence": 1, + "span": { + "offset": 593, + "length": 6 + } + }, + { + "content": "3/4/2021", + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ], + "confidence": 1, + "span": { + "offset": 600, + "length": 8 + } + }, + { + "content": "A123", + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 609, + "length": 4 + } + }, + { + "content": "Consulting", + "polygon": [ + 2.3388, + 5.6883, + 3.0438, + 5.6883, + 3.0438, + 5.8312, + 2.3388, + 5.8312 + ], + "confidence": 1, + "span": { + "offset": 614, + "length": 10 + } + }, + { + "content": "Services", + "polygon": [ + 3.0925, + 5.6937, + 3.6278, + 5.6937, + 3.6278, + 5.803, + 3.0925, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 625, + "length": 8 + } + }, + { + "content": "2", + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ], + "confidence": 1, + "span": { + "offset": 634, + "length": 1 + } + }, + { + "content": "hours", + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ], + "confidence": 1, + "span": { + "offset": 636, + "length": 5 + } + }, + { + "content": "$30.00", + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ], + "confidence": 1, + "span": { + "offset": 642, + "length": 6 + } + }, + { + "content": "10%", + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ], + "confidence": 1, + "span": { + "offset": 649, + "length": 3 + } + }, + { + "content": "$60.00", + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ], + "confidence": 1, + "span": { + "offset": 653, + "length": 6 + } + }, + { + "content": "3/5/2021", + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ], + "confidence": 1, + "span": { + "offset": 660, + "length": 8 + } + }, + { + "content": "B456", + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 669, + "length": 4 + } + }, + { + "content": "Document", + "polygon": [ + 2.345, + 5.993, + 3.0318, + 5.993, + 3.0318, + 6.0997, + 2.345, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 674, + "length": 8 + } + }, + { + "content": "Fee", + "polygon": [ + 3.0887, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 3.0887, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 683, + "length": 3 + } + }, + { + "content": "3", + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ], + "confidence": 1, + "span": { + "offset": 687, + "length": 1 + } + }, + { + "content": "$10.00", + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ], + "confidence": 1, + "span": { + "offset": 689, + "length": 6 + } + }, + { + "content": "5%", + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ], + "confidence": 1, + "span": { + "offset": 696, + "length": 2 + } + }, + { + "content": "$30.00", + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ], + "confidence": 1, + "span": { + "offset": 699, + "length": 6 + } + }, + { + "content": "3/6/2021", + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ], + "confidence": 1, + "span": { + "offset": 706, + "length": 8 + } + }, + { + "content": "C789", + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 715, + "length": 4 + } + }, + { + "content": "Printing", + "polygon": [ + 2.345, + 6.2906, + 2.8575, + 6.2906, + 2.8575, + 6.4281, + 2.345, + 6.4281 + ], + "confidence": 1, + "span": { + "offset": 720, + "length": 8 + } + }, + { + "content": "Fee", + "polygon": [ + 2.9143, + 6.2933, + 3.1351, + 6.2933, + 3.1351, + 6.3999, + 2.9143, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 729, + "length": 3 + } + }, + { + "content": "10", + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ], + "confidence": 1, + "span": { + "offset": 733, + "length": 2 + } + }, + { + "content": "pages", + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ], + "confidence": 1, + "span": { + "offset": 736, + "length": 5 + } + }, + { + "content": "$1.00", + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ], + "confidence": 1, + "span": { + "offset": 742, + "length": 5 + } + }, + { + "content": "20%", + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ], + "confidence": 1, + "span": { + "offset": 748, + "length": 3 + } + }, + { + "content": "$10.00", + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ], + "confidence": 1, + "span": { + "offset": 752, + "length": 6 + } + }, + { + "content": "SUBTOTAL", + "polygon": [ + 6.0282, + 6.9118, + 6.7309, + 6.9118, + 6.7309, + 7.0199, + 6.0282, + 7.0199 + ], + "confidence": 1, + "span": { + "offset": 759, + "length": 8 + } + }, + { + "content": "$100.00", + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ], + "confidence": 1, + "span": { + "offset": 768, + "length": 7 + } + }, + { + "content": "SALES", + "polygon": [ + 6.0382, + 7.2089, + 6.4262, + 7.2089, + 6.4262, + 7.317, + 6.0382, + 7.317 + ], + "confidence": 1, + "span": { + "offset": 776, + "length": 5 + } + }, + { + "content": "TAX", + "polygon": [ + 6.4702, + 7.2099, + 6.728, + 7.2099, + 6.728, + 7.316, + 6.4702, + 7.316 + ], + "confidence": 1, + "span": { + "offset": 782, + "length": 3 + } + }, + { + "content": "$10.00", + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ], + "confidence": 1, + "span": { + "offset": 786, + "length": 6 + } + }, + { + "content": "TOTAL", + "polygon": [ + 6.2969, + 7.5089, + 6.7309, + 7.5089, + 6.7309, + 7.617, + 6.2969, + 7.617 + ], + "confidence": 1, + "span": { + "offset": 793, + "length": 5 + } + }, + { + "content": "$110.00", + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ], + "confidence": 1, + "span": { + "offset": 799, + "length": 7 + } + }, + { + "content": "PREVIOUS", + "polygon": [ + 4.8126, + 7.8055, + 5.4789, + 7.8055, + 5.4789, + 7.9137, + 4.8126, + 7.9137 + ], + "confidence": 1, + "span": { + "offset": 807, + "length": 8 + } + }, + { + "content": "UNPAID", + "polygon": [ + 5.5362, + 7.8065, + 6.057, + 7.8065, + 6.057, + 7.9137, + 5.5362, + 7.9137 + ], + "confidence": 1, + "span": { + "offset": 816, + "length": 6 + } + }, + { + "content": "BALANCE", + "polygon": [ + 6.1164, + 7.8057, + 6.7249, + 7.8057, + 6.7249, + 7.9135, + 6.1164, + 7.9135 + ], + "confidence": 1, + "span": { + "offset": 823, + "length": 7 + } + }, + { + "content": "$500.00", + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ], + "confidence": 1, + "span": { + "offset": 831, + "length": 7 + } + }, + { + "content": "AMOUNT", + "polygon": [ + 5.7652, + 8.1022, + 6.4055, + 8.1022, + 6.4055, + 8.2104, + 5.7652, + 8.2104 + ], + "confidence": 1, + "span": { + "offset": 839, + "length": 6 + } + }, + { + "content": "DUE", + "polygon": [ + 6.4562, + 8.1032, + 6.725, + 8.1032, + 6.725, + 8.2104, + 6.4562, + 8.2104 + ], + "confidence": 1, + "span": { + "offset": 846, + "length": 3 + } + }, + { + "content": "$610.00", + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ], + "confidence": 1, + "span": { + "offset": 850, + "length": 7 + } + }, + { + "content": "THANK", + "polygon": [ + 3.129, + 8.5453, + 3.5887, + 8.5453, + 3.5887, + 8.6429, + 3.129, + 8.6429 + ], + "confidence": 1, + "span": { + "offset": 858, + "length": 5 + } + }, + { + "content": "YOU", + "polygon": [ + 3.6316, + 8.544, + 3.9064, + 8.544, + 3.9064, + 8.6442, + 3.6316, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 864, + "length": 3 + } + }, + { + "content": "FOR", + "polygon": [ + 3.9671, + 8.544, + 4.2187, + 8.544, + 4.2187, + 8.6442, + 3.9671, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 868, + "length": 3 + } + }, + { + "content": "YOUR", + "polygon": [ + 4.2638, + 8.544, + 4.6347, + 8.544, + 4.6347, + 8.6442, + 4.2638, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 872, + "length": 4 + } + }, + { + "content": "BUSINESS!", + "polygon": [ + 4.6859, + 8.539, + 5.356, + 8.539, + 5.356, + 8.6442, + 4.6859, + 8.6442 + ], + "confidence": 1, + "span": { + "offset": 877, + "length": 9 + } + }, + { + "content": "REMIT", + "polygon": [ + 0.5909, + 9.1619, + 1.0014, + 9.1619, + 1.0014, + 9.2596, + 0.5909, + 9.2596 + ], + "confidence": 1, + "span": { + "offset": 887, + "length": 5 + } + }, + { + "content": "TO:", + "polygon": [ + 1.0446, + 9.1607, + 1.2603, + 9.1607, + 1.2603, + 9.2608, + 1.0446, + 9.2608 + ], + "confidence": 1, + "span": { + "offset": 893, + "length": 3 + } + }, + { + "content": "Contoso", + "polygon": [ + 0.5882, + 9.3697, + 1.1337, + 9.3697, + 1.1337, + 9.4777, + 0.5882, + 9.4777 + ], + "confidence": 1, + "span": { + "offset": 897, + "length": 7 + } + }, + { + "content": "Billing", + "polygon": [ + 1.1905, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 1.1905, + 9.5059 + ], + "confidence": 1, + "span": { + "offset": 905, + "length": 7 + } + }, + { + "content": "123", + "polygon": [ + 0.5945, + 9.5728, + 0.8213, + 9.5728, + 0.8213, + 9.681, + 0.5945, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 913, + "length": 3 + } + }, + { + "content": "Remit", + "polygon": [ + 0.881, + 9.5717, + 1.264, + 9.5717, + 1.264, + 9.681, + 0.881, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 917, + "length": 5 + } + }, + { + "content": "St", + "polygon": [ + 1.3125, + 9.5728, + 1.4337, + 9.5728, + 1.4337, + 9.681, + 1.3125, + 9.681 + ], + "confidence": 1, + "span": { + "offset": 923, + "length": 2 + } + }, + { + "content": "New", + "polygon": [ + 0.5943, + 9.7808, + 0.8848, + 9.7808, + 0.8848, + 9.8877, + 0.5943, + 9.8877 + ], + "confidence": 1, + "span": { + "offset": 926, + "length": 3 + } + }, + { + "content": "York,", + "polygon": [ + 0.9293, + 9.773, + 1.2568, + 9.773, + 1.2568, + 9.9098, + 0.9293, + 9.9098 + ], + "confidence": 1, + "span": { + "offset": 930, + "length": 5 + } + }, + { + "content": "NY,", + "polygon": [ + 1.3205, + 9.7805, + 1.5233, + 9.7805, + 1.5233, + 9.9098, + 1.3205, + 9.9098 + ], + "confidence": 1, + "span": { + "offset": 936, + "length": 3 + } + }, + { + "content": "10001", + "polygon": [ + 1.5903, + 9.7795, + 1.9882, + 9.7795, + 1.9882, + 9.8877, + 1.5903, + 9.8877 + ], + "confidence": 1, + "span": { + "offset": 940, + "length": 5 + } + } + ], + "selectionMarks": [ + { + "state": "unselected", + "polygon": [ + 4.3231, + 5.6279, + 4.7562, + 5.6279, + 4.7562, + 5.8654, + 4.3231, + 5.8654 + ], + "confidence": 0.212, + "span": { + "offset": 946, + "length": 12 + } + } + ], + "lines": [ + { + "content": "CONTOSO LTD.", + "polygon": [ + 0.5911, + 0.6857, + 2.3181, + 0.6857, + 2.3181, + 0.8664, + 0.5911, + 0.8664 + ], + "spans": [ + { + "offset": 0, + "length": 12 + } + ] + }, + { + "content": "INVOICE", + "polygon": [ + 7.0751, + 0.589, + 7.9886, + 0.589, + 7.9886, + 0.7697, + 7.0751, + 0.7697 + ], + "spans": [ + { + "offset": 13, + "length": 7 + } + ] + }, + { + "content": "Contoso Headquarters", + "polygon": [ + 0.5882, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 0.5882, + 1.5664 + ], + "spans": [ + { + "offset": 21, + "length": 20 + } + ] + }, + { + "content": "INVOICE: INV-100", + "polygon": [ + 6.8599, + 1.4217, + 7.9988, + 1.4217, + 7.9988, + 1.5218, + 6.8599, + 1.5218 + ], + "spans": [ + { + "offset": 42, + "length": 16 + } + ] + }, + { + "content": "123 456th St", + "polygon": [ + 0.5945, + 1.6092, + 1.3812, + 1.6092, + 1.3812, + 1.742, + 0.5945, + 1.742 + ], + "spans": [ + { + "offset": 59, + "length": 12 + } + ] + }, + { + "content": "INVOICE DATE: 11/15/2019", + "polygon": [ + 6.2263, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 6.2263, + 1.7449 + ], + "spans": [ + { + "offset": 72, + "length": 24 + } + ] + }, + { + "content": "New York, NY, 10001", + "polygon": [ + 0.5943, + 1.8307, + 1.9894, + 1.8307, + 1.9894, + 1.9675, + 0.5943, + 1.9675 + ], + "spans": [ + { + "offset": 97, + "length": 19 + } + ] + }, + { + "content": "DUE DATE: 12/15/2019", + "polygon": [ + 6.4966, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 6.4966, + 1.9515 + ], + "spans": [ + { + "offset": 117, + "length": 20 + } + ] + }, + { + "content": "CUSTOMER NAME: MICROSOFT CORPORATION", + "polygon": [ + 4.9513, + 2.0388, + 7.9825, + 2.0388, + 7.9825, + 2.1389, + 4.9513, + 2.1389 + ], + "spans": [ + { + "offset": 138, + "length": 36 + } + ] + }, + { + "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019", + "polygon": [ + 5.1667, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 5.1667, + 2.3615 + ], + "spans": [ + { + "offset": 175, + "length": 39 + } + ] + }, + { + "content": "CUSTOMER ID: CID-12345", + "polygon": [ + 6.3253, + 2.4488, + 7.9951, + 2.4488, + 7.9951, + 2.5489, + 6.3253, + 2.5489 + ], + "spans": [ + { + "offset": 215, + "length": 22 + } + ] + }, + { + "content": "Microsoft Corp", + "polygon": [ + 0.5943, + 2.6436, + 1.586, + 2.6436, + 1.586, + 2.7871, + 0.5943, + 2.7871 + ], + "spans": [ + { + "offset": 238, + "length": 14 + } + ] + }, + { + "content": "123 Other St,", + "polygon": [ + 0.5945, + 2.8476, + 1.4633, + 2.8476, + 1.4633, + 2.9845, + 0.5945, + 2.9845 + ], + "spans": [ + { + "offset": 253, + "length": 13 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 0.5943, + 3.0513, + 2.0083, + 3.0513, + 2.0083, + 3.1878, + 0.5943, + 3.1878 + ], + "spans": [ + { + "offset": 267, + "length": 17 + } + ] + }, + { + "content": "BILL TO:", + "polygon": [ + 0.5909, + 3.559, + 1.1032, + 3.559, + 1.1032, + 3.6592, + 0.5909, + 3.6592 + ], + "spans": [ + { + "offset": 285, + "length": 8 + } + ] + }, + { + "content": "SHIP TO:", + "polygon": [ + 3.3361, + 3.559, + 3.8903, + 3.559, + 3.8903, + 3.6592, + 3.3361, + 3.6592 + ], + "spans": [ + { + "offset": 294, + "length": 8 + } + ] + }, + { + "content": "SERVICE ADDRESS:", + "polygon": [ + 6.2104, + 3.559, + 7.4232, + 3.559, + 7.4232, + 3.6592, + 6.2104, + 3.6592 + ], + "spans": [ + { + "offset": 303, + "length": 16 + } + ] + }, + { + "content": "Microsoft Finance", + "polygon": [ + 0.5943, + 3.7641, + 1.7878, + 3.7641, + 1.7878, + 3.8794, + 0.5943, + 3.8794 + ], + "spans": [ + { + "offset": 320, + "length": 17 + } + ] + }, + { + "content": "Microsoft Delivery", + "polygon": [ + 3.3454, + 3.7641, + 4.5762, + 3.7641, + 4.5762, + 3.9076, + 3.3454, + 3.9076 + ], + "spans": [ + { + "offset": 338, + "length": 18 + } + ] + }, + { + "content": "Microsoft Services", + "polygon": [ + 6.2197, + 3.7641, + 7.4427, + 3.7641, + 7.4427, + 3.8794, + 6.2197, + 3.8794 + ], + "spans": [ + { + "offset": 357, + "length": 18 + } + ] + }, + { + "content": "123 Bill St,", + "polygon": [ + 0.5945, + 3.9681, + 1.2765, + 3.9681, + 1.2765, + 4.1049, + 0.5945, + 4.1049 + ], + "spans": [ + { + "offset": 376, + "length": 12 + } + ] + }, + { + "content": "123 Ship St,", + "polygon": [ + 3.3456, + 3.9681, + 4.1111, + 3.9681, + 4.1111, + 4.1109, + 3.3456, + 4.1109 + ], + "spans": [ + { + "offset": 389, + "length": 12 + } + ] + }, + { + "content": "123 Service St,", + "polygon": [ + 6.2199, + 3.9734, + 7.1821, + 3.9734, + 7.1821, + 4.1049, + 6.2199, + 4.1049 + ], + "spans": [ + { + "offset": 402, + "length": 15 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 0.5943, + 4.1717, + 2.0083, + 4.1717, + 2.0083, + 4.3082, + 0.5943, + 4.3082 + ], + "spans": [ + { + "offset": 418, + "length": 17 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 3.3454, + 4.1717, + 4.7594, + 4.1717, + 4.7594, + 4.3082, + 3.3454, + 4.3082 + ], + "spans": [ + { + "offset": 436, + "length": 17 + } + ] + }, + { + "content": "Redmond WA, 98052", + "polygon": [ + 6.2197, + 4.1717, + 7.6337, + 4.1717, + 7.6337, + 4.3082, + 6.2197, + 4.3082 + ], + "spans": [ + { + "offset": 454, + "length": 17 + } + ] + }, + { + "content": "SALESPERSON", + "polygon": [ + 0.7018, + 4.6528, + 1.6092, + 4.6528, + 1.6092, + 4.7529, + 0.7018, + 4.7529 + ], + "spans": [ + { + "offset": 472, + "length": 11 + } + ] + }, + { + "content": "P.O. NUMBER", + "polygon": [ + 2.1216, + 4.6528, + 3.0155, + 4.6528, + 3.0155, + 4.7529, + 2.1216, + 4.7529 + ], + "spans": [ + { + "offset": 484, + "length": 11 + } + ] + }, + { + "content": "REQUISITIONER", + "polygon": [ + 3.4953, + 4.6528, + 4.5157, + 4.6528, + 4.5157, + 4.7687, + 3.4953, + 4.7687 + ], + "spans": [ + { + "offset": 496, + "length": 13 + } + ] + }, + { + "content": "SHIPPED VIA", + "polygon": [ + 4.81, + 4.6528, + 5.6317, + 4.6528, + 5.6317, + 4.7529, + 4.81, + 4.7529 + ], + "spans": [ + { + "offset": 510, + "length": 11 + } + ] + }, + { + "content": "F.O.B. POINT", + "polygon": [ + 5.8696, + 4.6528, + 6.706, + 4.6528, + 6.706, + 4.7529, + 5.8696, + 4.7529 + ], + "spans": [ + { + "offset": 522, + "length": 12 + } + ] + }, + { + "content": "TERMS", + "polygon": [ + 7.1806, + 4.6528, + 7.6304, + 4.6528, + 7.6304, + 4.7529, + 7.1806, + 4.7529 + ], + "spans": [ + { + "offset": 535, + "length": 5 + } + ] + }, + { + "content": "PO-3333", + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ], + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + { + "content": "DATE", + "polygon": [ + 0.7409, + 5.421, + 1.0744, + 5.421, + 1.0744, + 5.5186, + 0.7409, + 5.5186 + ], + "spans": [ + { + "offset": 549, + "length": 4 + } + ] + }, + { + "content": "ITEM CODE", + "polygon": [ + 1.4213, + 5.4197, + 2.1407, + 5.4197, + 2.1407, + 5.5199, + 1.4213, + 5.5199 + ], + "spans": [ + { + "offset": 554, + "length": 9 + } + ] + }, + { + "content": "DESCRIPTION", + "polygon": [ + 2.8516, + 5.4197, + 3.7134, + 5.4197, + 3.7134, + 5.5199, + 2.8516, + 5.5199 + ], + "spans": [ + { + "offset": 564, + "length": 11 + } + ] + }, + { + "content": "QTY", + "polygon": [ + 4.4043, + 5.4197, + 4.6631, + 5.4197, + 4.6631, + 5.5357, + 4.4043, + 5.5357 + ], + "spans": [ + { + "offset": 576, + "length": 3 + } + ] + }, + { + "content": "UM", + "polygon": [ + 5.049, + 5.421, + 5.2654, + 5.421, + 5.2654, + 5.5199, + 5.049, + 5.5199 + ], + "spans": [ + { + "offset": 580, + "length": 2 + } + ] + }, + { + "content": "PRICE", + "polygon": [ + 5.8563, + 5.4199, + 6.2163, + 5.4199, + 6.2163, + 5.5197, + 5.8563, + 5.5197 + ], + "spans": [ + { + "offset": 583, + "length": 5 + } + ] + }, + { + "content": "TAX", + "polygon": [ + 6.7169, + 5.421, + 6.974, + 5.421, + 6.974, + 5.5186, + 6.7169, + 5.5186 + ], + "spans": [ + { + "offset": 589, + "length": 3 + } + ] + }, + { + "content": "AMOUNT", + "polygon": [ + 7.2847, + 5.4197, + 7.9039, + 5.4197, + 7.9039, + 5.5199, + 7.2847, + 5.5199 + ], + "spans": [ + { + "offset": 593, + "length": 6 + } + ] + }, + { + "content": "3/4/2021", + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ], + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + { + "content": "A123", + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ], + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + { + "content": "Consulting Services", + "polygon": [ + 2.3388, + 5.6883, + 3.6278, + 5.6883, + 3.6278, + 5.8312, + 2.3388, + 5.8312 + ], + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + { + "content": "2", + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ], + "spans": [ + { + "offset": 634, + "length": 1 + } + ] + }, + { + "content": "hours", + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ], + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + { + "content": "$30.00", + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ], + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + }, + { + "content": "10%", + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ], + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + { + "content": "$60.00", + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ], + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + { + "content": "3/5/2021", + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ], + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + { + "content": "B456", + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ], + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + { + "content": "Document Fee", + "polygon": [ + 2.345, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 2.345, + 6.0997 + ], + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + { + "content": "3", + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ], + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ], + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + }, + { + "content": "5%", + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ], + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + { + "content": "$30.00", + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ], + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + { + "content": "3/6/2021", + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ], + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + { + "content": "C789", + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ], + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + { + "content": "Printing Fee", + "polygon": [ + 2.345, + 6.2906, + 3.1351, + 6.2906, + 3.1351, + 6.4281, + 2.345, + 6.4281 + ], + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + { + "content": "10", + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ], + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + { + "content": "pages", + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ], + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + { + "content": "$1.00", + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ], + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + }, + { + "content": "20%", + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ], + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ], + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + }, + { + "content": "SUBTOTAL", + "polygon": [ + 6.0282, + 6.9118, + 6.7309, + 6.9118, + 6.7309, + 7.0199, + 6.0282, + 7.0199 + ], + "spans": [ + { + "offset": 759, + "length": 8 + } + ] + }, + { + "content": "$100.00", + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ], + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + { + "content": "SALES TAX", + "polygon": [ + 6.0382, + 7.2089, + 6.728, + 7.2089, + 6.728, + 7.317, + 6.0382, + 7.317 + ], + "spans": [ + { + "offset": 776, + "length": 9 + } + ] + }, + { + "content": "$10.00", + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ], + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + { + "content": "TOTAL", + "polygon": [ + 6.2969, + 7.5089, + 6.7309, + 7.5089, + 6.7309, + 7.617, + 6.2969, + 7.617 + ], + "spans": [ + { + "offset": 793, + "length": 5 + } + ] + }, + { + "content": "$110.00", + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ], + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + { + "content": "PREVIOUS UNPAID BALANCE", + "polygon": [ + 4.8126, + 7.8055, + 6.7249, + 7.8055, + 6.7249, + 7.9137, + 4.8126, + 7.9137 + ], + "spans": [ + { + "offset": 807, + "length": 23 + } + ] + }, + { + "content": "$500.00", + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ], + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + { + "content": "AMOUNT DUE", + "polygon": [ + 5.7652, + 8.1022, + 6.725, + 8.1022, + 6.725, + 8.2104, + 5.7652, + 8.2104 + ], + "spans": [ + { + "offset": 839, + "length": 10 + } + ] + }, + { + "content": "$610.00", + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ], + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + }, + { + "content": "THANK YOU FOR YOUR BUSINESS!", + "polygon": [ + 3.129, + 8.539, + 5.356, + 8.539, + 5.356, + 8.6442, + 3.129, + 8.6442 + ], + "spans": [ + { + "offset": 858, + "length": 28 + } + ] + }, + { + "content": "REMIT TO:", + "polygon": [ + 0.5909, + 9.1607, + 1.2603, + 9.1607, + 1.2603, + 9.2608, + 0.5909, + 9.2608 + ], + "spans": [ + { + "offset": 887, + "length": 9 + } + ] + }, + { + "content": "Contoso Billing", + "polygon": [ + 0.5882, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 0.5882, + 9.5059 + ], + "spans": [ + { + "offset": 897, + "length": 15 + } + ] + }, + { + "content": "123 Remit St", + "polygon": [ + 0.5945, + 9.5717, + 1.4337, + 9.5717, + 1.4337, + 9.681, + 0.5945, + 9.681 + ], + "spans": [ + { + "offset": 913, + "length": 12 + } + ] + }, + { + "content": "New York, NY, 10001", + "polygon": [ + 0.5943, + 9.773, + 1.9882, + 9.773, + 1.9882, + 9.9098, + 0.5943, + 9.9098 + ], + "spans": [ + { + "offset": 926, + "length": 19 + } + ] + } + ], + "spans": [ + { + "offset": 0, + "length": 958 + } + ] + } + ], + "tables": [ + { + "rowCount": 4, + "columnCount": 8, + "cells": [ + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "DATE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4932, + 5.329, + 1.3011, + 5.3213, + 1.3011, + 5.6056, + 0.5009, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 549, + "length": 4 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "ITEM CODE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.3213, + 2.2476, + 5.3213, + 2.2399, + 5.6056, + 1.3011, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 554, + "length": 9 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "DESCRIPTION", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2476, + 5.3213, + 4.3174, + 5.329, + 4.3097, + 5.6056, + 2.2399, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 564, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "QTY", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3174, + 5.329, + 4.7483, + 5.329, + 4.7483, + 5.6056, + 4.3097, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 576, + "length": 3 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "UM", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.329, + 5.5639, + 5.329, + 5.5639, + 5.6056, + 4.7483, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 580, + "length": 2 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "PRICE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.329, + 6.495, + 5.329, + 6.495, + 5.6056, + 5.5639, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 583, + "length": 5 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "TAX", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.329, + 7.1875, + 5.329, + 7.1952, + 5.6056, + 6.495, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 589, + "length": 3 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "AMOUNT", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1875, + 5.329, + 7.9954, + 5.329, + 7.9954, + 5.598, + 7.1952, + 5.6056 + ] + } + ], + "spans": [ + { + "offset": 593, + "length": 6 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/4/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5009, + 5.6056, + 1.3011, + 5.6056, + 1.3011, + 5.8976, + 0.5009, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "A123", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.6056, + 2.2399, + 5.6056, + 2.2322, + 5.8976, + 1.3011, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Consulting Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2399, + 5.6056, + 4.3097, + 5.6056, + 4.3097, + 5.8976, + 2.2322, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "2 :unselected:", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 5.6056, + 4.7483, + 5.6056, + 4.7483, + 5.8976, + 4.3097, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 634, + "length": 1 + }, + { + "offset": 946, + "length": 12 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "hours", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.6056, + 5.5639, + 5.6056, + 5.5639, + 5.8976, + 4.7483, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.6056, + 6.495, + 5.6056, + 6.495, + 5.8976, + 5.5639, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "10%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.6056, + 7.1952, + 5.6056, + 7.1952, + 5.8976, + 6.495, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 5.6056, + 7.9954, + 5.598, + 7.9954, + 5.9053, + 7.1952, + 5.8976 + ] + } + ], + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/5/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5009, + 5.8976, + 1.3011, + 5.8976, + 1.3011, + 6.1973, + 0.5086, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "B456", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 5.8976, + 2.2322, + 5.8976, + 2.2245, + 6.1973, + 1.3011, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Document Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2322, + 5.8976, + 4.3097, + 5.8976, + 4.3097, + 6.1973, + 2.2245, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "3", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 5.8976, + 4.7483, + 5.8976, + 4.7483, + 6.1973, + 4.3097, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 5.8976, + 5.5639, + 5.8976, + 5.5639, + 6.1973, + 4.7483, + 6.1973 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 5.8976, + 6.495, + 5.8976, + 6.495, + 6.1973, + 5.5639, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "5%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 5.8976, + 7.1952, + 5.8976, + 7.1952, + 6.1973, + 6.495, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 5.8976, + 7.9954, + 5.9053, + 7.9954, + 6.1896, + 7.1952, + 6.1973 + ] + } + ], + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "3/6/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5086, + 6.1973, + 1.3011, + 6.1973, + 1.3011, + 6.4969, + 0.5086, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "C789", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.3011, + 6.1973, + 2.2245, + 6.1973, + 2.2245, + 6.4969, + 1.3011, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "Printing Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.2245, + 6.1973, + 4.3097, + 6.1973, + 4.3097, + 6.4969, + 2.2245, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "10", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.3097, + 6.1973, + 4.7483, + 6.1973, + 4.7483, + 6.4969, + 4.3097, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "pages", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7483, + 6.1973, + 5.5639, + 6.1973, + 5.5639, + 6.4969, + 4.7483, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "$1.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.5639, + 6.1973, + 6.495, + 6.1973, + 6.495, + 6.4969, + 5.5639, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 6, + "rowSpan": 1, + "columnSpan": 1, + "content": "20%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.495, + 6.1973, + 7.1952, + 6.1973, + 7.1952, + 6.4969, + 6.495, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 7, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.1952, + 6.1973, + 7.9954, + 6.1896, + 7.9954, + 6.5046, + 7.1952, + 6.4969 + ] + } + ], + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4901, + 5.3293, + 7.9946, + 5.3289, + 7.9954, + 6.5019, + 0.4906, + 6.502 + ] + } + ], + "spans": [ + { + "offset": 549, + "length": 209 + }, + { + "offset": 946, + "length": 12 + } + ] + }, + { + "rowCount": 2, + "columnCount": 6, + "cells": [ + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SALESPERSON", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4977, + 4.565, + 1.8042, + 4.565, + 1.8119, + 4.8388, + 0.5054, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 472, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "P.O. NUMBER", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.8042, + 4.565, + 3.3105, + 4.565, + 3.3105, + 4.8388, + 1.8119, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 484, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "REQUISITIONER", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3105, + 4.565, + 4.6939, + 4.565, + 4.6862, + 4.8388, + 3.3105, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 496, + "length": 13 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "SHIPPED VIA", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.6939, + 4.565, + 5.7468, + 4.565, + 5.7468, + 4.8388, + 4.6862, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 510, + "length": 11 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "F.O.B. POINT", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.7468, + 4.565, + 6.815, + 4.565, + 6.815, + 4.8388, + 5.7468, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 522, + "length": 12 + } + ] + }, + { + "kind": "columnHeader", + "rowIndex": 0, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "TERMS", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.815, + 4.565, + 7.9985, + 4.565, + 7.9985, + 4.8388, + 6.815, + 4.8388 + ] + } + ], + "spans": [ + { + "offset": 535, + "length": 5 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5054, + 4.8388, + 1.8119, + 4.8388, + 1.8119, + 5.1058, + 0.5131, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "PO-3333", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.8119, + 4.8388, + 3.3105, + 4.8388, + 3.3105, + 5.1058, + 1.8119, + 5.1058 + ] + } + ], + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3105, + 4.8388, + 4.6862, + 4.8388, + 4.6862, + 5.1058, + 3.3105, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.6862, + 4.8388, + 5.7468, + 4.8388, + 5.7468, + 5.1058, + 4.6862, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 4, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.7468, + 4.8388, + 6.815, + 4.8388, + 6.815, + 5.1058, + 5.7468, + 5.1058 + ] + } + ], + "spans": [] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 1, + "columnSpan": 1, + "content": "", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.815, + 4.8388, + 7.9985, + 4.8388, + 7.9985, + 5.1125, + 6.815, + 5.1058 + ] + } + ], + "spans": [] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.4971, + 4.565, + 7.9889, + 4.5653, + 7.989, + 5.1146, + 0.4963, + 5.1141 + ] + } + ], + "spans": [ + { + "offset": 472, + "length": 76 + } + ] + }, + { + "rowCount": 5, + "columnCount": 2, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SUBTOTAL", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7474, + 6.7934, + 6.8058, + 6.7934, + 6.8105, + 7.0886, + 4.7474, + 7.0886 + ] + } + ], + "spans": [ + { + "offset": 759, + "length": 8 + } + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$100.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8058, + 6.7934, + 7.9981, + 6.7934, + 7.9981, + 7.0934, + 6.8105, + 7.0886 + ] + } + ], + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "SALES TAX", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7474, + 7.0886, + 6.8105, + 7.0886, + 6.8105, + 7.3743, + 4.7427, + 7.3743 + ] + } + ], + "spans": [ + { + "offset": 776, + "length": 9 + } + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.0886, + 7.9981, + 7.0934, + 7.9981, + 7.3934, + 6.8105, + 7.3743 + ] + } + ], + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "TOTAL", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.3743, + 6.8105, + 7.3743, + 6.8105, + 7.6839, + 4.7427, + 7.6839 + ] + } + ], + "spans": [ + { + "offset": 793, + "length": 5 + } + ] + }, + { + "rowIndex": 2, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$110.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.3743, + 7.9981, + 7.3934, + 7.9981, + 7.6886, + 6.8105, + 7.6839 + ] + } + ], + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "PREVIOUS UNPAID BALANCE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.6839, + 6.8105, + 7.6839, + 6.8105, + 7.9743, + 4.7427, + 7.9743 + ] + } + ], + "spans": [ + { + "offset": 807, + "length": 23 + } + ] + }, + { + "rowIndex": 3, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$500.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.6839, + 7.9981, + 7.6886, + 7.9981, + 7.9839, + 6.8105, + 7.9743 + ] + } + ], + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + { + "rowIndex": 4, + "columnIndex": 0, + "rowSpan": 1, + "columnSpan": 1, + "content": "AMOUNT DUE", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7427, + 7.9743, + 6.8105, + 7.9743, + 6.8105, + 8.2839, + 4.7381, + 8.2839 + ] + } + ], + "spans": [ + { + "offset": 839, + "length": 10 + } + ] + }, + { + "rowIndex": 4, + "columnIndex": 1, + "rowSpan": 1, + "columnSpan": 1, + "content": "$610.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.8105, + 7.9743, + 7.9981, + 7.9839, + 7.9981, + 8.2839, + 6.8105, + 8.2839 + ] + } + ], + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + } + ], + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.7456, + 6.7793, + 8.0143, + 6.7788, + 8.0137, + 8.2981, + 4.7446, + 8.2981 + ] + } + ], + "spans": [ + { + "offset": 759, + "length": 98 + } + ] + } + ], + "documents": [ + { + "docType": "prebuilt:invoice", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "fields": { + "AmountDue": { + "type": "number", + "valueNumber": 610, + "content": "$610.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 8.0584, + 7.9181, + 8.0584, + 7.9181, + 8.2022, + 7.3842, + 8.2022 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 850, + "length": 7 + } + ] + }, + "BillingAddress": { + "type": "string", + "valueString": "123 Bill St, Redmond WA, 98052", + "content": "123 Bill St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 3.9681, + 2.0083, + 3.9681, + 2.0083, + 4.3082, + 0.5943, + 4.3082 + ] + } + ], + "confidence": 0.947, + "spans": [ + { + "offset": 376, + "length": 12 + }, + { + "offset": 418, + "length": 17 + } + ] + }, + "BillingAddressRecipient": { + "type": "string", + "valueString": "Microsoft Finance", + "content": "Microsoft Finance", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 3.7641, + 1.7878, + 3.7641, + 1.7878, + 3.8794, + 0.5943, + 3.8794 + ] + } + ], + "confidence": 0.957, + "spans": [ + { + "offset": 320, + "length": 17 + } + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "123 Other St, Redmond WA, 98052", + "content": "123 Other St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 2.8476, + 2.0083, + 2.8476, + 2.0083, + 3.1878, + 0.5943, + 3.1878 + ] + } + ], + "confidence": 0.947, + "spans": [ + { + "offset": 253, + "length": 31 + } + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft Corp", + "content": "Microsoft Corp", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 2.6436, + 1.586, + 2.6436, + 1.586, + 2.7871, + 0.5943, + 2.7871 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 238, + "length": 14 + } + ] + }, + "CustomerId": { + "type": "string", + "valueString": "CID-12345", + "content": "CID-12345", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3369, + 2.4491, + 7.9951, + 2.4491, + 7.9951, + 2.5486, + 7.3369, + 2.5486 + ] + } + ], + "confidence": 0.964, + "spans": [ + { + "offset": 228, + "length": 9 + } + ] + }, + "CustomerName": { + "type": "string", + "valueString": "MICROSOFT CORPORATION", + "content": "MICROSOFT CORPORATION", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2419, + 2.0391, + 7.9825, + 2.0391, + 7.9825, + 2.1386, + 6.2419, + 2.1386 + ] + } + ], + "confidence": 0.949, + "spans": [ + { + "offset": 153, + "length": 21 + } + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2019-12-15", + "content": "12/15/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2494, + 1.8206, + 7.993, + 1.8206, + 7.993, + 1.9515, + 7.2494, + 1.9515 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 127, + "length": 10 + } + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2019-11-15", + "content": "11/15/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2528, + 1.6139, + 7.993, + 1.6139, + 7.993, + 1.7449, + 7.2528, + 1.7449 + ] + } + ], + "confidence": 0.972, + "spans": [ + { + "offset": 86, + "length": 10 + } + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "INV-100", + "content": "INV-100", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4959, + 1.422, + 7.9988, + 1.422, + 7.9988, + 1.5215, + 7.4959, + 1.5215 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 51, + "length": 7 + } + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 110, + "content": "$110.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 7.465, + 7.9181, + 7.465, + 7.9181, + 7.6089, + 7.3842, + 7.6089 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 799, + "length": 7 + } + ] + }, + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 60, + "content": "$60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8215, + 7.4642, + 5.8215 + ] + } + ], + "confidence": 0.902, + "spans": [ + { + "offset": 653, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-04", + "content": "3/4/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.682, + 1.2092, + 5.682, + 1.2092, + 5.8243, + 0.592, + 5.8243 + ] + } + ], + "confidence": 0.938, + "spans": [ + { + "offset": 600, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Consulting Services", + "content": "Consulting Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.3388, + 5.6883, + 3.6278, + 5.6883, + 3.6278, + 5.8312, + 2.3388, + 5.8312 + ] + } + ], + "confidence": 0.9, + "spans": [ + { + "offset": 614, + "length": 19 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "A123", + "content": "A123", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6069, + 5.6948, + 1.9417, + 5.6948, + 1.9417, + 5.803, + 1.6069, + 5.803 + ] + } + ], + "confidence": 0.877, + "spans": [ + { + "offset": 609, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 2, + "content": "2", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5977, + 5.6948, + 4.6635, + 5.6948, + 4.6635, + 5.8017, + 4.5977, + 5.8017 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 634, + "length": 1 + } + ] + }, + "Tax": { + "type": "number", + "content": "10%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.7168, + 5.6932, + 6.9826, + 5.6932, + 6.9826, + 5.8045, + 6.7168, + 5.8045 + ] + } + ], + "confidence": 0.78, + "spans": [ + { + "offset": 649, + "length": 3 + } + ] + }, + "Unit": { + "type": "string", + "valueString": "hours", + "content": "hours", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.8444, + 5.6883, + 5.2071, + 5.6883, + 5.2071, + 5.803, + 4.8444, + 5.803 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 636, + "length": 5 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 30, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.9669, + 5.6777, + 6.4142, + 5.6777, + 6.4142, + 5.8215, + 5.9669, + 5.8215 + ] + } + ], + "confidence": 0.828, + "spans": [ + { + "offset": 642, + "length": 6 + } + ] + } + }, + "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.6777, + 7.9116, + 5.6777, + 7.9116, + 5.8312, + 0.592, + 5.8312 + ] + } + ], + "confidence": 0.955, + "spans": [ + { + "offset": 600, + "length": 59 + } + ] + }, + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 30, + "content": "$30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.1182, + 7.4642, + 6.1182 + ] + } + ], + "confidence": 0.916, + "spans": [ + { + "offset": 699, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-05", + "content": "3/5/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.9787, + 1.2088, + 5.9787, + 1.2088, + 6.121, + 0.592, + 6.121 + ] + } + ], + "confidence": 0.902, + "spans": [ + { + "offset": 660, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Document Fee", + "content": "Document Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.345, + 5.993, + 3.3096, + 5.993, + 3.3096, + 6.0997, + 2.345, + 6.0997 + ] + } + ], + "confidence": 0.901, + "spans": [ + { + "offset": 674, + "length": 12 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "B456", + "content": "B456", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6214, + 5.9915, + 1.9419, + 5.9915, + 1.9419, + 6.0997, + 1.6214, + 6.0997 + ] + } + ], + "confidence": 0.886, + "spans": [ + { + "offset": 669, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 3, + "content": "3", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5967, + 5.9915, + 4.6627, + 5.9915, + 4.6627, + 6.0997, + 4.5967, + 6.0997 + ] + } + ], + "confidence": 0.898, + "spans": [ + { + "offset": 687, + "length": 1 + } + ] + }, + "Tax": { + "type": "number", + "content": "5%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.7508, + 5.9898, + 6.9393, + 5.9898, + 6.9393, + 6.1012, + 6.7508, + 6.1012 + ] + } + ], + "confidence": 0.772, + "spans": [ + { + "offset": 696, + "length": 2 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 5.9669, + 5.9743, + 6.4142, + 5.9743, + 6.4142, + 6.1182, + 5.9669, + 6.1182 + ] + } + ], + "confidence": 0.831, + "spans": [ + { + "offset": 689, + "length": 6 + } + ] + } + }, + "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 5.9743, + 7.9116, + 5.9743, + 7.9116, + 6.121, + 0.592, + 6.121 + ] + } + ], + "confidence": 0.941, + "spans": [ + { + "offset": 660, + "length": 45 + } + ] + }, + { + "type": "object", + "valueObject": { + "Amount": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4642, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4184, + 7.4642, + 6.4184 + ] + } + ], + "confidence": 0.959, + "spans": [ + { + "offset": 752, + "length": 6 + } + ] + }, + "Date": { + "type": "date", + "valueDate": "2021-03-06", + "content": "3/6/2021", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 6.2789, + 1.2088, + 6.2789, + 1.2088, + 6.4213, + 0.592, + 6.4213 + ] + } + ], + "confidence": 0.903, + "spans": [ + { + "offset": 706, + "length": 8 + } + ] + }, + "Description": { + "type": "string", + "valueString": "Printing Fee", + "content": "Printing Fee", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 2.345, + 6.2906, + 3.1351, + 6.2906, + 3.1351, + 6.4281, + 2.345, + 6.4281 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 720, + "length": 12 + } + ] + }, + "ProductCode": { + "type": "string", + "valueString": "C789", + "content": "C789", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.6152, + 6.2918, + 1.94, + 6.2918, + 1.94, + 6.3999, + 1.6152, + 6.3999 + ] + } + ], + "confidence": 0.898, + "spans": [ + { + "offset": 715, + "length": 4 + } + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 10, + "content": "10", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.5158, + 6.2918, + 4.6637, + 6.2918, + 4.6637, + 6.3999, + 4.5158, + 6.3999 + ] + } + ], + "confidence": 0.903, + "spans": [ + { + "offset": 733, + "length": 2 + } + ] + }, + "Tax": { + "type": "number", + "content": "20%", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.712, + 6.2901, + 6.9826, + 6.2901, + 6.9826, + 6.4014, + 6.712, + 6.4014 + ] + } + ], + "confidence": 0.791, + "spans": [ + { + "offset": 748, + "length": 3 + } + ] + }, + "Unit": { + "type": "string", + "valueString": "pages", + "content": "pages", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 4.8444, + 6.3196, + 5.2199, + 6.3196, + 5.2199, + 6.4281, + 4.8444, + 6.4281 + ] + } + ], + "confidence": 0.899, + "spans": [ + { + "offset": 736, + "length": 5 + } + ] + }, + "UnitPrice": { + "type": "number", + "valueNumber": 1, + "content": "$1.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.0502, + 6.2746, + 6.4142, + 6.2746, + 6.4142, + 6.4184, + 6.0502, + 6.4184 + ] + } + ], + "confidence": 0.829, + "spans": [ + { + "offset": 742, + "length": 5 + } + ] + } + }, + "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.592, + 6.2746, + 7.9116, + 6.2746, + 7.9116, + 6.4281, + 0.592, + 6.4281 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 706, + "length": 52 + } + ] + } + ] + }, + "Locale": { + "type": "string", + "valueString": "en-US", + "confidence": 1 + }, + "PreviousUnpaidBalance": { + "type": "number", + "valueNumber": 500, + "content": "$500.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 7.7617, + 7.9181, + 7.7617, + 7.9181, + 7.9055, + 7.3842, + 7.9055 + ] + } + ], + "confidence": 0.962, + "spans": [ + { + "offset": 831, + "length": 7 + } + ] + }, + "PurchaseOrder": { + "type": "string", + "valueString": "PO-3333", + "content": "PO-3333", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 1.9114, + 4.9282, + 2.4718, + 4.9282, + 2.4718, + 5.0363, + 1.9114, + 5.0363 + ] + } + ], + "confidence": 0.967, + "spans": [ + { + "offset": 541, + "length": 7 + } + ] + }, + "RemittanceAddress": { + "type": "string", + "valueString": "123 Remit St New York, NY, 10001", + "content": "123 Remit St New York, NY, 10001", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 9.5717, + 1.9882, + 9.5717, + 1.9882, + 9.9098, + 0.5943, + 9.9098 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 913, + "length": 32 + } + ] + }, + "RemittanceAddressRecipient": { + "type": "string", + "valueString": "Contoso Billing", + "content": "Contoso Billing", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5882, + 9.3631, + 1.5828, + 9.3631, + 1.5828, + 9.5059, + 0.5882, + 9.5059 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 897, + "length": 15 + } + ] + }, + "ServiceAddress": { + "type": "string", + "valueString": "123 Service St, Redmond WA, 98052", + "content": "123 Service St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2197, + 3.9734, + 7.6337, + 3.9734, + 7.6337, + 4.3082, + 6.2197, + 4.3082 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 402, + "length": 15 + }, + { + "offset": 454, + "length": 17 + } + ] + }, + "ServiceAddressRecipient": { + "type": "string", + "valueString": "Microsoft Services", + "content": "Microsoft Services", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.2197, + 3.7641, + 7.4427, + 3.7641, + 7.4427, + 3.8794, + 6.2197, + 3.8794 + ] + } + ], + "confidence": 0.951, + "spans": [ + { + "offset": 357, + "length": 18 + } + ] + }, + "ServiceEndDate": { + "type": "date", + "valueDate": "2019-11-14", + "content": "11/14/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.2528, + 2.2306, + 7.9952, + 2.2306, + 7.9952, + 2.3615, + 7.2528, + 2.3615 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 204, + "length": 10 + } + ] + }, + "ServiceStartDate": { + "type": "date", + "valueDate": "2019-10-14", + "content": "10/14/2019", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 6.3357, + 2.2306, + 7.0749, + 2.2306, + 7.0749, + 2.3615, + 6.3357, + 2.3615 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 191, + "length": 10 + } + ] + }, + "ShippingAddress": { + "type": "string", + "valueString": "123 Ship St, Redmond WA, 98052", + "content": "123 Ship St, Redmond WA, 98052", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3454, + 3.9681, + 4.7594, + 3.9681, + 4.7594, + 4.3082, + 3.3454, + 4.3082 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 389, + "length": 12 + }, + { + "offset": 436, + "length": 17 + } + ] + }, + "ShippingAddressRecipient": { + "type": "string", + "valueString": "Microsoft Delivery", + "content": "Microsoft Delivery", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 3.3454, + 3.7641, + 4.5762, + 3.7641, + 4.5762, + 3.9076, + 3.3454, + 3.9076 + ] + } + ], + "confidence": 0.955, + "spans": [ + { + "offset": 338, + "length": 18 + } + ] + }, + "SubTotal": { + "type": "number", + "valueNumber": 100, + "content": "$100.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.3842, + 6.8679, + 7.9181, + 6.8679, + 7.9181, + 7.0118, + 7.3842, + 7.0118 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 768, + "length": 7 + } + ] + }, + "TotalTax": { + "type": "number", + "valueNumber": 10, + "content": "$10.00", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 7.4709, + 7.165, + 7.9182, + 7.165, + 7.9182, + 7.3089, + 7.4709, + 7.3089 + ] + } + ], + "confidence": 0.973, + "spans": [ + { + "offset": 786, + "length": 6 + } + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "123 456th St New York, NY, 10001", + "content": "123 456th St New York, NY, 10001", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5943, + 1.6092, + 1.9894, + 1.6092, + 1.9894, + 1.9675, + 0.5943, + 1.9675 + ] + } + ], + "confidence": 0.946, + "spans": [ + { + "offset": 59, + "length": 12 + }, + { + "offset": 97, + "length": 19 + } + ] + }, + "VendorAddressRecipient": { + "type": "string", + "valueString": "Contoso Headquarters", + "content": "Contoso Headquarters", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5882, + 1.4239, + 2.0978, + 1.4239, + 2.0978, + 1.5664, + 0.5882, + 1.5664 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 21, + "length": 20 + } + ] + }, + "VendorName": { + "type": "string", + "valueString": "CONTOSO LTD.", + "content": "CONTOSO LTD.", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0.5911, + 0.6857, + 2.3181, + 0.6857, + 2.3181, + 0.8664, + 0.5911, + 0.8664 + ] + } + ], + "confidence": 0.956, + "spans": [ + { + "offset": 0, + "length": 12 + } + ] + } + }, + "confidence": 1, + "spans": [ + { + "offset": 0, + "length": 958 + } + ] + } + ] + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetClassifyDocumentResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetClassifyDocumentResult.json index 1e752ec04d25..01fbc604d18f 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetClassifyDocumentResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetClassifyDocumentResult.json @@ -1,101 +1,101 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "classifierId": "myClassifier", - "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" - }, - "responses": { - "200": { - "body": { - "status": "succeeded", - "createdDateTime": "2021-09-24T13:00:46Z", - "lastUpdatedDateTime": "2021-09-24T13:00:49Z", - "analyzeResult": { - "apiVersion": "2023-07-31", - "modelId": "myClassifier", - "stringIndexType": "textElements", - "content": "", - "pages": [ - { - "pageNumber": 1, - "width": 8.5, - "height": 11, - "unit": "inch", - "spans": [] - }, - { - "pageNumber": 2, - "width": 8.5, - "height": 11, - "unit": "inch", - "spans": [] - }, - { - "pageNumber": 3, - "width": 8.5, - "height": 11, - "unit": "inch", - "spans": [] - } - ], - "documents": [ - { - "docType": "formA", - "boundingRegions": [ - { - "pageNumber": 1, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - }, - { - "pageNumber": 2, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "confidence": 0.97, - "spans": [] - }, - { - "docType": "formB", - "boundingRegions": [ - { - "pageNumber": 3, - "polygon": [ - 0, - 0, - 8.5, - 0, - 8.5, - 11, - 0, - 11 - ] - } - ], - "confidence": 0.97, - "spans": [] - } - ] - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "classifierId": "myClassifier", + "resultId": "3b31320d-8bab-4f88-b19c-2322a7f11034" + }, + "responses": { + "200": { + "body": { + "status": "succeeded", + "createdDateTime": "2021-09-24T13:00:46Z", + "lastUpdatedDateTime": "2021-09-24T13:00:49Z", + "analyzeResult": { + "apiVersion": "2023-07-31", + "modelId": "myClassifier", + "stringIndexType": "textElements", + "content": "", + "pages": [ + { + "pageNumber": 1, + "width": 8.5, + "height": 11, + "unit": "inch", + "spans": [] + }, + { + "pageNumber": 2, + "width": 8.5, + "height": 11, + "unit": "inch", + "spans": [] + }, + { + "pageNumber": 3, + "width": 8.5, + "height": 11, + "unit": "inch", + "spans": [] + } + ], + "documents": [ + { + "docType": "formA", + "boundingRegions": [ + { + "pageNumber": 1, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + }, + { + "pageNumber": 2, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "confidence": 0.97, + "spans": [] + }, + { + "docType": "formB", + "boundingRegions": [ + { + "pageNumber": 3, + "polygon": [ + 0, + 0, + 8.5, + 0, + 8.5, + 11, + 0, + 11 + ] + } + ], + "confidence": 0.97, + "spans": [] + } + ] + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifier.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifier.json index a0665b490477..376bf78ba417 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifier.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifier.json @@ -1,32 +1,32 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "classifierId": "myClassifier" - }, - "responses": { - "200": { - "body": { - "classifierId": "myClassifier", - "description": "Classifier description", - "createdDateTime": "2022-07-30T00:00:00Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-07-31", - "docTypes": { - "formA": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formADocs/" - } - }, - "formB": { - "azureBlobFileListSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "fileList": "formB.jsonl" - } - } - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "classifierId": "myClassifier" + }, + "responses": { + "200": { + "body": { + "classifierId": "myClassifier", + "description": "Classifier description", + "createdDateTime": "2022-07-30T00:00:00Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-07-31", + "docTypes": { + "formA": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formADocs/" + } + }, + "formB": { + "azureBlobFileListSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "fileList": "formB.jsonl" + } + } + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifiers.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifiers.json index 85896f229e3d..d9e47160db5e 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifiers.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentClassifiers.json @@ -1,57 +1,57 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "classifierId": "classifier1", - "description": "Classifier1 description", - "createdDateTime": "2022-07-30T00:00:00Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-07-31", - "docTypes": { - "formA": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formADocs/" - } - }, - "formB": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formBDocs/" - } - } - } - }, - { - "classifierId": "classifier2", - "description": "Classifier2 description", - "createdDateTime": "2022-07-30T00:00:00Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-07-31", - "docTypes": { - "formB": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formBDocs/" - } - }, - "formC": { - "azureBlobSource": { - "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", - "prefix": "formCDocs/" - } - } - } - } - ], - "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers?nextLink=nextLinkData" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "classifierId": "classifier1", + "description": "Classifier1 description", + "createdDateTime": "2022-07-30T00:00:00Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-07-31", + "docTypes": { + "formA": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formADocs/" + } + }, + "formB": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formBDocs/" + } + } + } + }, + { + "classifierId": "classifier2", + "description": "Classifier2 description", + "createdDateTime": "2022-07-30T00:00:00Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-07-31", + "docTypes": { + "formB": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formBDocs/" + } + }, + "formC": { + "azureBlobSource": { + "containerUrl": "https://myStorageAccount.blob.core.windows.net/myContainer?mySasToken", + "prefix": "formCDocs/" + } + } + } + } + ], + "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentClassifiers?nextLink=nextLinkData" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Custom.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Custom.json index fbb5a794602d..9562be774a20 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Custom.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Custom.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "myCustomModel" - }, - "responses": { - "200": { - "body": { - "modelId": "myCustomModel", - "description": "Custom model description", - "createdDateTime": "2021-09-24T12:54:35Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "apiVersion": "2023-07-31", - "docTypes": { - "myForm": { - "fieldSchema": { - "Name": { - "type": "string" - }, - "Date": { - "type": "date" - }, - "Amount": { - "type": "number" - } - }, - "buildMode": "template", - "fieldConfidence": { - "Name": 0.9, - "Date": 0.95, - "Amount": 0.93 - } - } - }, - "tags": { - "createdBy": "myUserId" - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "myCustomModel" + }, + "responses": { + "200": { + "body": { + "modelId": "myCustomModel", + "description": "Custom model description", + "createdDateTime": "2021-09-24T12:54:35Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "apiVersion": "2023-07-31", + "docTypes": { + "myForm": { + "fieldSchema": { + "Name": { + "type": "string" + }, + "Date": { + "type": "date" + }, + "Amount": { + "type": "number" + } + }, + "buildMode": "template", + "fieldConfidence": { + "Name": 0.9, + "Date": 0.95, + "Amount": 0.93 + } + } + }, + "tags": { + "createdBy": "myUserId" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Prebuilt.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Prebuilt.json index 4b88363b863d..77d9731ae97d 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Prebuilt.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModel_Prebuilt.json @@ -1,134 +1,134 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "modelId": "prebuilt-invoice" - }, - "responses": { - "200": { - "body": { - "modelId": "prebuilt-invoice", - "description": "Prebuilt model to extract key information from English invoices, including customer, vendor, invoice ID, due date, total, and more.", - "createdDateTime": "2021-07-30T00:00:00Z", - "apiVersion": "2023-07-31", - "docTypes": { - "prebuilt:invoice": { - "fieldSchema": { - "CustomerName": { - "type": "string" - }, - "CustomerId": { - "type": "string" - }, - "PurchaseOrder": { - "type": "string" - }, - "InvoiceId": { - "type": "string" - }, - "InvoiceDate": { - "type": "date" - }, - "DueDate": { - "type": "date" - }, - "VendorName": { - "type": "string" - }, - "VendorAddress": { - "type": "string" - }, - "VendorAddressRecipient": { - "type": "string" - }, - "CustomerAddress": { - "type": "string" - }, - "CustomerAddressRecipient": { - "type": "string" - }, - "BillingAddress": { - "type": "string" - }, - "BillingAddressRecipient": { - "type": "string" - }, - "ShippingAddress": { - "type": "string" - }, - "ShippingAddressRecipient": { - "type": "string" - }, - "SubTotal": { - "type": "number" - }, - "TotalTax": { - "type": "number" - }, - "InvoiceTotal": { - "type": "number" - }, - "AmountDue": { - "type": "number" - }, - "PreviousUnpaidBalance": { - "type": "number" - }, - "RemittanceAddress": { - "type": "string" - }, - "RemittanceAddressRecipient": { - "type": "string" - }, - "ServiceAddress": { - "type": "string" - }, - "ServiceAddressRecipient": { - "type": "string" - }, - "ServiceStartDate": { - "type": "date" - }, - "ServiceEndDate": { - "type": "date" - }, - "Items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Amount": { - "type": "number" - }, - "Date": { - "type": "date" - }, - "Description": { - "type": "string" - }, - "Quantity": { - "type": "number" - }, - "ProductCode": { - "type": "string" - }, - "Tax": { - "type": "number" - }, - "Unit": { - "type": "string" - }, - "UnitPrice": { - "type": "number" - } - } - } - } - } - } - }, - "tags": {} - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "modelId": "prebuilt-invoice" + }, + "responses": { + "200": { + "body": { + "modelId": "prebuilt-invoice", + "description": "Prebuilt model to extract key information from English invoices, including customer, vendor, invoice ID, due date, total, and more.", + "createdDateTime": "2021-07-30T00:00:00Z", + "apiVersion": "2023-07-31", + "docTypes": { + "prebuilt:invoice": { + "fieldSchema": { + "CustomerName": { + "type": "string" + }, + "CustomerId": { + "type": "string" + }, + "PurchaseOrder": { + "type": "string" + }, + "InvoiceId": { + "type": "string" + }, + "InvoiceDate": { + "type": "date" + }, + "DueDate": { + "type": "date" + }, + "VendorName": { + "type": "string" + }, + "VendorAddress": { + "type": "string" + }, + "VendorAddressRecipient": { + "type": "string" + }, + "CustomerAddress": { + "type": "string" + }, + "CustomerAddressRecipient": { + "type": "string" + }, + "BillingAddress": { + "type": "string" + }, + "BillingAddressRecipient": { + "type": "string" + }, + "ShippingAddress": { + "type": "string" + }, + "ShippingAddressRecipient": { + "type": "string" + }, + "SubTotal": { + "type": "number" + }, + "TotalTax": { + "type": "number" + }, + "InvoiceTotal": { + "type": "number" + }, + "AmountDue": { + "type": "number" + }, + "PreviousUnpaidBalance": { + "type": "number" + }, + "RemittanceAddress": { + "type": "string" + }, + "RemittanceAddressRecipient": { + "type": "string" + }, + "ServiceAddress": { + "type": "string" + }, + "ServiceAddressRecipient": { + "type": "string" + }, + "ServiceStartDate": { + "type": "date" + }, + "ServiceEndDate": { + "type": "date" + }, + "Items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Amount": { + "type": "number" + }, + "Date": { + "type": "date" + }, + "Description": { + "type": "string" + }, + "Quantity": { + "type": "number" + }, + "ProductCode": { + "type": "string" + }, + "Tax": { + "type": "number" + }, + "Unit": { + "type": "string" + }, + "UnitPrice": { + "type": "number" + } + } + } + } + } + } + }, + "tags": {} + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModels.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModels.json index eed9a0cf7d1d..00c4146e8431 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModels.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetDocumentModels.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "modelId": "prebuilt-layout", - "createdDateTime": "2021-07-30T00:00:00Z", - "description": "Prebuilt model to extract text, selection marks, tables, and other layout information.", - "apiVersion": "2023-07-31" - }, - { - "modelId": "myCustomModel", - "createdDateTime": "2021-09-24T12:54:35Z", - "expirationDateTime": "2023-01-01T00:00:00Z", - "description": "Custom model description", - "apiVersion": "2023-07-31" - } - ], - "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels?nextLink=nextLinkData" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "modelId": "prebuilt-layout", + "createdDateTime": "2021-07-30T00:00:00Z", + "description": "Prebuilt model to extract text, selection marks, tables, and other layout information.", + "apiVersion": "2023-07-31" + }, + { + "modelId": "myCustomModel", + "createdDateTime": "2021-09-24T12:54:35Z", + "expirationDateTime": "2023-01-01T00:00:00Z", + "description": "Custom model description", + "apiVersion": "2023-07-31" + } + ], + "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels?nextLink=nextLinkData" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperation.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperation.json index 3cd5b9e1309f..7f51fd4e741e 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperation.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperation.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31", - "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4" - }, - "responses": { - "200": { - "body": { - "operationId": "31533879936_426a3e4c-c6fb-4c83-937c-a92414c371a4", - "status": "succeeded", - "percentCompleted": 100, - "createdDateTime": "2021-09-23T09:12:57Z", - "lastUpdatedDateTime": "2021-09-23T09:13:01Z", - "kind": "documentModelBuild", - "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", - "result": { - "modelId": "myCustomModel", - "description": "Custom model description", - "createdDateTime": "2021-09-23T09:13:01Z", - "apiVersion": "2023-07-31" - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31", + "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4" + }, + "responses": { + "200": { + "body": { + "operationId": "31533879936_426a3e4c-c6fb-4c83-937c-a92414c371a4", + "status": "succeeded", + "percentCompleted": 100, + "createdDateTime": "2021-09-23T09:12:57Z", + "lastUpdatedDateTime": "2021-09-23T09:13:01Z", + "kind": "documentModelBuild", + "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", + "result": { + "modelId": "myCustomModel", + "description": "Custom model description", + "createdDateTime": "2021-09-23T09:13:01Z", + "apiVersion": "2023-07-31" + } + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperations.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperations.json index a10560556e80..49afff9eebea 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperations.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetOperations.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4", - "status": "running", - "percentCompleted": 0, - "createdDateTime": "2021-09-23T09:12:57Z", - "lastUpdatedDateTime": "2021-09-23T09:12:58Z", - "kind": "documentModelBuild", - "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", - "apiVersion": "2023-07-31" - } - ], - "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations?nextLink=nextLinkData" - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "operationId": "b704bb00-d130-4f3f-a1d8-ca96de3eabb4", + "status": "running", + "percentCompleted": 0, + "createdDateTime": "2021-09-23T09:12:57Z", + "lastUpdatedDateTime": "2021-09-23T09:12:58Z", + "kind": "documentModelBuild", + "resourceLocation": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/documentModels/myCustomModel", + "apiVersion": "2023-07-31" + } + ], + "nextLink": "https://myendpoint.cognitiveservices.azure.com/formrecognizer/operations?nextLink=nextLinkData" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetResourceDetails.json b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetResourceDetails.json index 6717612ed698..1deefed1d0ff 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetResourceDetails.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/stable/2023-07-31/examples/GetResourceDetails.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "endpoint": "https://myendpoint.cognitiveservices.azure.com", - "api-version": "2023-07-31" - }, - "responses": { - "200": { - "body": { - "customDocumentModels": { - "count": 2, - "limit": 13 - }, - "customNeuralDocumentModelBuilds": { - "used": 1, - "quota": 10, - "quotaResetDateTime": "2023-03-01T00:00:00Z" - } - } - } - } -} +{ + "parameters": { + "endpoint": "https://myendpoint.cognitiveservices.azure.com", + "api-version": "2023-07-31" + }, + "responses": { + "200": { + "body": { + "customDocumentModels": { + "count": 2, + "limit": 13 + }, + "customNeuralDocumentModelBuilds": { + "used": 1, + "quota": 10, + "quotaResetDateTime": "2023-03-01T00:00:00Z" + } + } + } + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBMongoDBDatabasePartitionMerge.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBMongoDBDatabasePartitionMerge.json index 664ad8fa9024..92b62818ddbb 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBMongoDBDatabasePartitionMerge.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBMongoDBDatabasePartitionMerge.json @@ -1,58 +1,58 @@ -{ - "parameters": { - "api-version": "2023-03-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "rgName", - "accountName": "ddb1", - "databaseName": "databaseName", - "mergeParameters": { - "isDryRun": false - } - }, - "responses": { - "200": { - "body": { - "physicalPartitionStorageInfoCollection": [ - { - "storageInKB": 333.0, - "id": "0" - }, - { - "storageInKB": 305.0, - "id": "1" - }, - { - "storageInKB": 368.0, - "id": "177" - }, - { - "storageInKB": 96313.0, - "id": "178" - }, - { - "storageInKB": 194.0, - "id": "5" - }, - { - "storageInKB": 331.0, - "id": "6" - }, - { - "storageInKB": 384.0, - "id": "7" - }, - { - "storageInKB": 246.0, - "id": "8" - } - ] - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview", - "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview" - } - } - } -} +{ + "parameters": { + "api-version": "2023-03-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rgName", + "accountName": "ddb1", + "databaseName": "databaseName", + "mergeParameters": { + "isDryRun": false + } + }, + "responses": { + "200": { + "body": { + "physicalPartitionStorageInfoCollection": [ + { + "storageInKB": 333.0, + "id": "0" + }, + { + "storageInKB": 305.0, + "id": "1" + }, + { + "storageInKB": 368.0, + "id": "177" + }, + { + "storageInKB": 96313.0, + "id": "178" + }, + { + "storageInKB": 194.0, + "id": "5" + }, + { + "storageInKB": 331.0, + "id": "6" + }, + { + "storageInKB": 384.0, + "id": "7" + }, + { + "storageInKB": 246.0, + "id": "8" + } + ] + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview", + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview" + } + } + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBSqlDatabasePartitionMerge.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBSqlDatabasePartitionMerge.json index 7c561c50bbd6..761c39bcb818 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBSqlDatabasePartitionMerge.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/examples/CosmosDBSqlDatabasePartitionMerge.json @@ -1,50 +1,50 @@ -{ - "parameters": { - "api-version": "2023-03-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "rgName", - "accountName": "ddb1", - "databaseName": "databaseName", - "mergeParameters": { - "isDryRun": false - } - }, - "responses": { - "200": { - "body": { - "physicalPartitionStorageInfoCollection": [ - { - "storageInKB": 333.0, - "id": "0" - }, - { - "storageInKB": 305.0, - "id": "1" - }, - { - "storageInKB": 368.0, - "id": "177" - }, - { - "storageInKB": 96313.0, - "id": "178" - }, - { - "storageInKB": 194.0, - "id": "5" - }, - { - "storageInKB": 331.0, - "id": "6" - } - ] - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-15-preview", - "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-15-preview" - } - } - } -} +{ + "parameters": { + "api-version": "2023-03-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rgName", + "accountName": "ddb1", + "databaseName": "databaseName", + "mergeParameters": { + "isDryRun": false + } + }, + "responses": { + "200": { + "body": { + "physicalPartitionStorageInfoCollection": [ + { + "storageInKB": 333.0, + "id": "0" + }, + { + "storageInKB": 305.0, + "id": "1" + }, + { + "storageInKB": 368.0, + "id": "177" + }, + { + "storageInKB": 96313.0, + "id": "178" + }, + { + "storageInKB": 194.0, + "id": "5" + }, + { + "storageInKB": 331.0, + "id": "6" + } + ] + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-15-preview", + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-15-preview" + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/desktopvirtualization.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/desktopvirtualization.json index ee6cfedd9ccb..7ae28d4a1eec 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/desktopvirtualization.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/desktopvirtualization.json @@ -1,2986 +1,2986 @@ -{ - "swagger": "2.0", - "info": { - "version": "2019-01-23-preview", - "title": "Desktop Virtualization API Client" - }, - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "host": "management.azure.com", - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.DesktopVirtualization/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "List all of the available operations the Desktop Virtualization resource provider supports.", - "x-ms-examples": { - "OperationDescription_List": { - "$ref": "./examples/OperationDescription_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved operations.", - "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Get", - "description": "Get a workspace.", - "x-ms-examples": { - "Workspace_Get": { - "$ref": "./examples/Workspace_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_CreateOrUpdate", - "description": "Create or update a workspace.", - "x-ms-examples": { - "Workspace_Create": { - "$ref": "./examples/Workspace_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "workspace", - "description": "Object containing Workspace definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Workspace" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "201": { - "description": "Successfully created workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Delete", - "description": "Remove a workspace.", - "x-ms-examples": { - "Workspace_Delete": { - "$ref": "./examples/Workspace_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted workspace." - }, - "204": { - "description": "Workspace does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Update", - "description": "Update a workspace.", - "x-ms-examples": { - "Workspace_Update": { - "$ref": "./examples/Workspace_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "workspace", - "description": "Object containing Workspace definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/WorkspacePatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_ListByResourceGroup", - "description": "List workspaces.", - "x-ms-examples": { - "Workspace_ListByResourceGroup": { - "$ref": "./examples/Workspace_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspaces in resource group.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_ListBySubscription", - "description": "List workspaces in subscription.", - "x-ms-examples": { - "Workspace_ListBySubscription": { - "$ref": "./examples/Workspace_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspaces in subscription.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Get", - "description": "Get an application group.", - "x-ms-examples": { - "ApplicationGroup_Get": { - "$ref": "./examples/ApplicationGroup_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_CreateOrUpdate", - "description": "Create or update an applicationGroup.", - "x-ms-examples": { - "ApplicationGroup_Create": { - "$ref": "./examples/ApplicationGroup_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "name": "applicationGroup", - "description": "Object containing ApplicationGroup definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "201": { - "description": "Successfully created application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Delete", - "description": "Remove an applicationGroup.", - "x-ms-examples": { - "ApplicationGroup_Delete": { - "$ref": "./examples/ApplicationGroup_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully removed application group." - }, - "204": { - "description": "Application group does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Update", - "description": "Update an applicationGroup.", - "x-ms-examples": { - "ApplicationGroups_Update": { - "$ref": "./examples/ApplicationGroup_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "name": "applicationGroup", - "description": "Object containing ApplicationGroup definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationGroupPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_ListByResourceGroup", - "description": "List applicationGroups.", - "x-ms-examples": { - "ApplicationGroup_ListByResourceGroup": { - "$ref": "./examples/ApplicationGroup_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are applicationGroupType." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application groups in resource group.", - "schema": { - "$ref": "#/definitions/ApplicationGroupList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_ListBySubscription", - "description": "List applicationGroups in subscription.", - "x-ms-examples": { - "ApplicationGroup_List": { - "$ref": "./examples/ApplicationGroup_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are applicationGroupType." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application groups in subscription.", - "schema": { - "$ref": "#/definitions/ApplicationGroupList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems": { - "get": { - "tags": [ - "StartMenuItem" - ], - "operationId": "StartMenuItems_List", - "description": "List start menu items in the given application group.", - "x-ms-examples": { - "StartMenuItem_List": { - "$ref": "./examples/StartMenuItem_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved start menu items in application group.", - "schema": { - "$ref": "#/definitions/StartMenuItemList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Applications_Get", - "description": "Get an application.", - "x-ms-examples": { - "Application_Get": { - "$ref": "./examples/Application_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Application" - ], - "operationId": "Applications_CreateOrUpdate", - "description": "Create or update an application.", - "x-ms-examples": { - "Application_Create": { - "$ref": "./examples/Application_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "application", - "description": "Object containing Application definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Application" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "201": { - "description": "Successfully created application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Application" - ], - "operationId": "Applications_Delete", - "description": "Remove an application.", - "x-ms-examples": { - "Application_Delete": { - "$ref": "./examples/Application_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully removed application." - }, - "204": { - "description": "Application does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Application" - ], - "operationId": "Applications_Update", - "description": "Update an application.", - "x-ms-examples": { - "Application_Update": { - "$ref": "./examples/Application_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "application", - "description": "Object containing Application definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Applications_List", - "description": "List applications.", - "x-ms-examples": { - "Applications_List": { - "$ref": "./examples/Application_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved applications in application group.", - "schema": { - "$ref": "#/definitions/ApplicationList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}": { - "get": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_Get", - "description": "Get a desktop.", - "x-ms-examples": { - "Desktop_Get": { - "$ref": "./examples/Desktop_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/DesktopNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved desktop.", - "schema": { - "$ref": "#/definitions/Desktop" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_Update", - "description": "Update a desktop.", - "x-ms-examples": { - "Desktop_Update": { - "$ref": "./examples/Desktop_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/DesktopNameParameter" - }, - { - "name": "desktop", - "description": "Object containing Desktop definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/DesktopPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated desktop.", - "schema": { - "$ref": "#/definitions/Desktop" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops": { - "get": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_List", - "description": "List desktops.", - "x-ms-examples": { - "Desktop_List": { - "$ref": "./examples/Desktop_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved desktops in application group.", - "schema": { - "$ref": "#/definitions/DesktopList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Get", - "description": "Get a host pool.", - "x-ms-examples": { - "HostPool_Get": { - "$ref": "./examples/HostPool_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_CreateOrUpdate", - "description": "Create or update a host pool.", - "x-ms-examples": { - "HostPool_Create": { - "$ref": "./examples/HostPool_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "hostPool", - "description": "Object containing HostPool definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/HostPool" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "201": { - "description": "Successfully created host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Delete", - "description": "Remove a host pool.", - "x-ms-examples": { - "HostPool_Delete": { - "$ref": "./examples/HostPool_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to delete sessionHost." - } - ], - "responses": { - "200": { - "description": "Successfully removed host pool." - }, - "204": { - "description": "Host pool does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Update", - "description": "Update a host pool.", - "x-ms-examples": { - "HostPool_Update": { - "$ref": "./examples/HostPool_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "hostPool", - "description": "Object containing HostPool definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/HostPoolPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_ListByResourceGroup", - "description": "List hostPools.", - "x-ms-examples": { - "HostPool_ListByResourceGroup": { - "$ref": "./examples/HostPool_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool in resource group.", - "schema": { - "$ref": "#/definitions/HostPoolList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_List", - "description": "List hostPools in subscription.", - "x-ms-examples": { - "HostPool_List": { - "$ref": "./examples/HostPool_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool in subscription.", - "schema": { - "$ref": "#/definitions/HostPoolList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_ListByHostPool", - "description": "List userSessions.", - "x-ms-examples": { - "UserSession_ListByHostPool": { - "$ref": "./examples/UserSession_ListByHostPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are userprincipalname and sessionstate." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user sessions in host pool.", - "schema": { - "$ref": "#/definitions/UserSessionList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}": { - "get": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Get", - "description": "Get a session host.", - "x-ms-examples": { - "SessionHost_Get": { - "$ref": "./examples/SessionHost_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved session host.", - "schema": { - "$ref": "#/definitions/SessionHost" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Delete", - "description": "Remove a SessionHost.", - "x-ms-examples": { - "SessionHost_Delete": { - "$ref": "./examples/SessionHost_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to force sessionHost deletion even when userSession exists." - } - ], - "responses": { - "200": { - "description": "Successfully removed session host." - }, - "204": { - "description": "Session host does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Update", - "description": "Update a session host.", - "x-ms-examples": { - "SessionHost_Update": { - "$ref": "./examples/SessionHost_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "name": "sessionHost", - "description": "Object containing SessionHost definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/SessionHostPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated session host.", - "schema": { - "$ref": "#/definitions/SessionHost" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts": { - "get": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_List", - "description": "List sessionHosts.", - "x-ms-examples": { - "SessionHost_List": { - "$ref": "./examples/SessionHost_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved session hosts in host pool.", - "schema": { - "$ref": "#/definitions/SessionHostList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Get", - "description": "Get a userSession.", - "x-ms-examples": { - "UserSession_Get": { - "$ref": "./examples/UserSession_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user session.", - "schema": { - "$ref": "#/definitions/UserSession" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Delete", - "description": "Remove a userSession.", - "x-ms-examples": { - "UserSession_Delete": { - "$ref": "./examples/UserSession_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to login off userSession." - } - ], - "responses": { - "200": { - "description": "Successfully removed user session." - }, - "204": { - "description": "User session does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_List", - "description": "List userSessions.", - "x-ms-examples": { - "UserSession_List": { - "$ref": "./examples/UserSession_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user sessions in session host.", - "schema": { - "$ref": "#/definitions/UserSessionList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect": { - "post": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Disconnect", - "description": "Disconnect a userSession.", - "x-ms-examples": { - "UserSession_Disconnect_Post": { - "$ref": "./examples/UserSession_Disconnect_Post.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully disconnected user session." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage": { - "post": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_SendMessage", - "description": "Send a message to a user.", - "x-ms-examples": { - "UserSession_SendMessage_Post": { - "$ref": "./examples/UserSession_SendMessage_Post.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - }, - { - "name": "sendMessage", - "description": "Object containing message includes title and message body", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/SendMessage" - } - } - ], - "responses": { - "200": { - "description": "Successfully sent message to user session." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "CloudError": { - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - }, - "description": "Error response of an operation failure" - }, - "ResourceProviderOperationList": { - "description": "Result of the request to list operations.", - "readOnly": true, - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderOperation" - }, - "description": "List of operations supported by this resource provider." - } - } - }, - "ResourceProviderOperation": { - "description": "Supported operation of this resource provider.", - "readOnly": true, - "properties": { - "name": { - "description": "Operation name, in format of {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "Display metadata associated with the operation.", - "properties": { - "provider": { - "description": "Resource provider: Microsoft Desktop Virtualization.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "Type of operation: get, read, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of this operation.", - "type": "string" - } - } - } - } - }, - "Workspace": { - "type": "object", - "description": "Represents a Workspace definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for Workspace", - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkspaceProperties" - } - } - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "applicationGroupReferences": { - "type": "array", - "description": "List of applicationGroup resource Ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkspaceList": { - "type": "object", - "title": "WorkspaceList", - "description": "List of Workspace definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Workspace definitions.", - "items": { - "$ref": "#/definitions/Workspace" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "WorkspacePatch": { - "type": "object", - "description": "Workspace properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Workspace", - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkspacePatchProperties" - } - } - }, - "WorkspacePatchProperties": { - "description": "Workspace properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "applicationGroupReferences": { - "type": "array", - "description": "List of applicationGroup links.", - "items": { - "type": "string" - } - } - } - }, - "ApplicationGroup": { - "type": "object", - "description": "Represents a ApplicationGroup definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for ApplicationGroup", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationGroupProperties" - } - } - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "type": "object", - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "properties": { - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup.", - "x-nullable": false - }, - "workspaceArmPath": { - "type": "string", - "description": "Workspace arm path of ApplicationGroup.", - "readOnly": true - }, - "applicationGroupType": { - "enum": [ - "RemoteApp", - "Desktop" - ], - "x-ms-enum": { - "name": "ApplicationGroupType", - "modelAsString": true - }, - "type": "string", - "description": "Resource Type of ApplicationGroup.", - "x-nullable": false - } - } - }, - "ApplicationGroupPatch": { - "type": "object", - "description": "ApplicationGroup properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "ApplicationGroup properties that can be patched.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationGroupPatchProperties" - } - } - }, - "ApplicationGroupPatchProperties": { - "description": "ApplicationGroup properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - } - } - }, - "ApplicationGroupList": { - "type": "object", - "title": "ApplicationGroupList", - "description": "List of ApplicationGroup definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of ApplicationGroup definitions.", - "items": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "HostPool": { - "type": "object", - "description": "Represents a HostPool definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for HostPool", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HostPoolProperties" - } - } - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "type": "object", - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "hostPoolType": { - "enum": [ - "Personal", - "Shared" - ], - "x-ms-enum": { - "name": "HostPoolType", - "modelAsString": true - }, - "type": "string", - "description": "HostPool type for desktop.", - "x-nullable": false - }, - "personalDesktopAssignmentType": { - "enum": [ - "Automatic", - "Direct" - ], - "x-ms-enum": { - "name": "PersonalDesktopAssignmentType", - "modelAsString": true - }, - "type": "string", - "description": "PersonalDesktopAssignment type for HostPool.", - "x-nullable": false - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "maxSessionLimit": { - "type": "integer", - "description": "The max session limit of HostPool." - }, - "loadBalancerType": { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - }, - "type": "string", - "description": "The type of the load balancer.", - "x-nullable": false - }, - "ring": { - "type": "integer", - "description": "The ring number of HostPool." - }, - "validationEnvironment": { - "type": "boolean", - "description": "Is validation environment." - }, - "registrationInfo": { - "$ref": "#/definitions/RegistrationInfo", - "description": "The registration info of HostPool." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - }, - "applicationGroupReferences": { - "readOnly": true, - "type": "array", - "description": "List of applicationGroup links.", - "items": { - "type": "string" - } - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "preferredAppGroupType": { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "x-ms-enum": { - "name": "PreferredAppGroupType", - "modelAsString": true - }, - "type": "string", - "description": "The type of preferred application group type, default to Desktop Application Group", - "x-nullable": false - } - } - }, - "HostPoolPatch": { - "type": "object", - "description": "HostPool properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "HostPool properties that can be patched.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HostPoolPatchProperties" - } - } - }, - "HostPoolPatchProperties": { - "description": "Properties of HostPool.", - "type": "object", - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "maxSessionLimit": { - "type": "integer", - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "enum": [ - "Automatic", - "Direct" - ], - "x-ms-enum": { - "name": "PersonalDesktopAssignmentType", - "modelAsString": true - }, - "type": "string", - "description": "PersonalDesktopAssignment type for HostPool." - }, - "loadBalancerType": { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - }, - "type": "string", - "description": "The type of the load balancer." - }, - "ring": { - "type": "integer", - "description": "The ring number of HostPool." - }, - "validationEnvironment": { - "type": "boolean", - "description": "Is validation environment." - }, - "registrationInfo": { - "$ref": "#/definitions/RegistrationInfoPatch", - "description": "The registration info of HostPool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "preferredAppGroupType": { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "x-ms-enum": { - "name": "PreferredAppGroupType", - "modelAsString": true - }, - "type": "string", - "description": "The type of preferred application group type, default to Desktop Application Group" - } - } - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "type": "object", - "properties": { - "expirationTime": { - "format": "date-time", - "type": "string", - "description": "Expiration time of registration token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - }, - "resetToken": { - "type": "boolean", - "description": "Update registration token." - } - } - }, - "RegistrationInfoPatch": { - "description": "Represents a RegistrationInfo definition.", - "type": "object", - "properties": { - "resetToken": { - "type": "boolean", - "description": "Update registration token." - } - } - }, - "SendMessage": { - "description": "Represents message sent to a UserSession.", - "type": "object", - "properties": { - "messageTitle": { - "type": "string", - "description": "Title of message." - }, - "messageBody": { - "type": "string", - "description": "Body of message." - } - } - }, - "HostPoolList": { - "type": "object", - "title": "HostPoolList", - "description": "List of HostPool definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of HostPool definitions.", - "items": { - "$ref": "#/definitions/HostPool" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "Application": { - "description": "Schema for Application properties.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for Application", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationProperties" - } - } - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "type": "object", - "required": [ - "commandLineSetting" - ], - "properties": { - "description": { - "type": "string", - "description": "Description of Application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "commandLineSetting": { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "x-ms-enum": { - "name": "CommandLineSetting", - "modelAsString": true - }, - "type": "string", - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "x-nullable": false - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "showInPortal": { - "type": "boolean", - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - }, - "iconHash": { - "readOnly": true, - "type": "string", - "description": "Hash of the icon." - }, - "iconContent": { - "readOnly": true, - "type": "string", - "format": "byte", - "description": "the icon a 64 bit string as a byte array." - } - } - }, - "ApplicationList": { - "type": "object", - "title": "ApplicationList", - "description": "List of Application definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Application definitions.", - "items": { - "$ref": "#/definitions/Application" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "ApplicationPatch": { - "type": "object", - "description": "Application properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Application", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationPatchProperties" - } - } - }, - "ApplicationPatchProperties": { - "description": "Application properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "commandLineSetting": { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "x-ms-enum": { - "name": "CommandLineSetting", - "modelAsString": true - }, - "type": "string", - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "showInPortal": { - "type": "boolean", - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - } - } - }, - "Desktop": { - "description": "Schema for Desktop properties.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for Desktop", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DesktopProperties" - } - } - }, - "DesktopProperties": { - "description": "Schema for Desktop properties.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Desktop." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Desktop." - }, - "iconHash": { - "readOnly": true, - "type": "string", - "description": "Hash of the icon." - }, - "iconContent": { - "readOnly": true, - "type": "string", - "format": "byte", - "description": "The icon a 64 bit string as a byte array." - } - } - }, - "DesktopList": { - "type": "object", - "title": "DesktopList", - "description": "List of Desktop definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Desktop definitions.", - "items": { - "$ref": "#/definitions/Desktop" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "DesktopPatch": { - "type": "object", - "description": "Desktop properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Desktop", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DesktopPatchProperties" - } - } - }, - "DesktopPatchProperties": { - "description": "Desktop properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Desktop." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Desktop." - } - } - }, - "StartMenuItemProperties": { - "description": "Schema for StartMenuItem properties.", - "type": "object", - "properties": { - "appAlias": { - "type": "string", - "description": "Alias of StartMenuItem." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of StartMenuItem." - }, - "filePath": { - "type": "string", - "description": "Path to the file of StartMenuItem." - }, - "commandLineArguments": { - "type": "string", - "description": "Command line arguments for StartMenuItem." - }, - "iconPath": { - "type": "string", - "description": "Path to the icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - } - } - }, - "StartMenuItem": { - "type": "object", - "description": "Represents a StartMenuItem definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for StartMenuItem", - "x-ms-client-flatten": true, - "$ref": "#/definitions/StartMenuItemProperties" - } - } - }, - "StartMenuItemList": { - "type": "object", - "title": "StartMenuItemList", - "description": "List of StartMenuItem definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of StartMenuItem definitions.", - "items": { - "$ref": "#/definitions/StartMenuItem" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "SessionHost": { - "type": "object", - "description": "Represents a SessionHost definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for SessionHost", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SessionHostProperties" - } - } - }, - "SessionHostProperties": { - "description": "Schema for SessionHost properties.", - "type": "object", - "properties": { - "lastHeartBeat": { - "format": "date-time", - "type": "string", - "description": "Last heart beat from SessionHost." - }, - "sessions": { - "type": "integer", - "description": "Number of sessions on SessionHost." - }, - "agentVersion": { - "type": "string", - "description": "Version of agent on SessionHost." - }, - "allowNewSession": { - "type": "boolean", - "description": "Allow a new session." - }, - "virtualMachineId": { - "type": "string", - "description": "Virtual Machine Id of SessionHost's underlying virtual machine.", - "readOnly": true - }, - "resourceId": { - "type": "string", - "description": "Resource Id of SessionHost's underlying virtual machine.", - "readOnly": true - }, - "assignedUser": { - "type": "string", - "description": "User assigned to SessionHost." - }, - "status": { - "enum": [ - "Available", - "Unavailable", - "Shutdown", - "Disconnected", - "Upgrading", - "UpgradeFailed" - ], - "x-ms-enum": { - "name": "Status", - "modelAsString": true - }, - "type": "string", - "description": "Status for a SessionHost." - }, - "statusTimestamp": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the status.", - "readOnly": true - }, - "osVersion": { - "type": "string", - "description": "The version of the OS on the session host." - }, - "sxSStackVersion": { - "type": "string", - "description": "The version of the side by side stack on the session host." - }, - "updateState": { - "enum": [ - "Initial", - "Pending", - "Started", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "UpdateState", - "modelAsString": true - }, - "type": "string", - "description": "Update state of a SessionHost." - }, - "lastUpdateTime": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the last update.", - "readOnly": true - }, - "updateErrorMessage": { - "type": "string", - "description": "The error message." - } - } - }, - "SessionHostPatch": { - "type": "object", - "description": "SessionHost properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for SessionHost", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SessionHostPatchProperties" - } - } - }, - "SessionHostPatchProperties": { - "description": "SessionHost properties that can be patched.", - "type": "object", - "properties": { - "allowNewSession": { - "type": "boolean", - "description": "Allow a new session." - }, - "assignedUser": { - "type": "string", - "description": "User assigned to SessionHost." - } - } - }, - "SessionHostList": { - "type": "object", - "title": "SessionHostList", - "description": "List of SessionHost definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of SessionHost definitions.", - "items": { - "$ref": "#/definitions/SessionHost" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "UserSession": { - "type": "object", - "description": "Represents a UserSession definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for UserSession", - "x-ms-client-flatten": true, - "$ref": "#/definitions/UserSessionProperties" - } - } - }, - "UserSessionProperties": { - "description": "Schema for UserSession properties.", - "type": "object", - "properties": { - "userPrincipalName": { - "type": "string", - "description": "The user principal name." - }, - "applicationType": { - "enum": [ - "RemoteApp", - "Desktop" - ], - "x-ms-enum": { - "name": "ApplicationType", - "modelAsString": true - }, - "type": "string", - "description": "Application type of application." - }, - "sessionState": { - "enum": [ - "Unknown", - "Active", - "Disconnected", - "Pending", - "LogOff", - "UserProfileDiskMounted" - ], - "x-ms-enum": { - "name": "SessionState", - "modelAsString": true - }, - "type": "string", - "description": "State of user session." - }, - "activeDirectoryUserName": { - "type": "string", - "description": "The active directory user name." - }, - "createTime": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the user session create." - } - } - }, - "UserSessionList": { - "type": "object", - "title": "UserSessionList", - "description": "List of UserSession definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of UserSession definitions.", - "items": { - "$ref": "#/definitions/UserSession" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - } - }, - "parameters": { - "HostPoolNameParameter": { - "name": "hostPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ApplicationGroupNameParameter": { - "name": "applicationGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ApplicationNameParameter": { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "DesktopNameParameter": { - "name": "desktopName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the desktop within the specified desktop group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "WorkspaceNameParameter": { - "name": "workspaceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "SessionHostNameParameter": { - "name": "sessionHostName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the session host within the specified host pool", - "maxLength": 48, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "UserSessionIdParameter": { - "name": "userSessionId", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the user session within the specified session host", - "maxLength": 24, - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "StartMenuItemNameParameter": { - "name": "startMenuItemName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the start menu item within the specified host pool", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "version": "2019-01-23-preview", + "title": "Desktop Virtualization API Client" + }, + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "host": "management.azure.com", + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.DesktopVirtualization/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List all of the available operations the Desktop Virtualization resource provider supports.", + "x-ms-examples": { + "OperationDescription_List": { + "$ref": "./examples/OperationDescription_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved operations.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Get", + "description": "Get a workspace.", + "x-ms-examples": { + "Workspace_Get": { + "$ref": "./examples/Workspace_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_CreateOrUpdate", + "description": "Create or update a workspace.", + "x-ms-examples": { + "Workspace_Create": { + "$ref": "./examples/Workspace_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "workspace", + "description": "Object containing Workspace definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workspace" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "201": { + "description": "Successfully created workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Delete", + "description": "Remove a workspace.", + "x-ms-examples": { + "Workspace_Delete": { + "$ref": "./examples/Workspace_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted workspace." + }, + "204": { + "description": "Workspace does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Update", + "description": "Update a workspace.", + "x-ms-examples": { + "Workspace_Update": { + "$ref": "./examples/Workspace_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "workspace", + "description": "Object containing Workspace definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/WorkspacePatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_ListByResourceGroup", + "description": "List workspaces.", + "x-ms-examples": { + "Workspace_ListByResourceGroup": { + "$ref": "./examples/Workspace_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspaces in resource group.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_ListBySubscription", + "description": "List workspaces in subscription.", + "x-ms-examples": { + "Workspace_ListBySubscription": { + "$ref": "./examples/Workspace_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspaces in subscription.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Get", + "description": "Get an application group.", + "x-ms-examples": { + "ApplicationGroup_Get": { + "$ref": "./examples/ApplicationGroup_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_CreateOrUpdate", + "description": "Create or update an applicationGroup.", + "x-ms-examples": { + "ApplicationGroup_Create": { + "$ref": "./examples/ApplicationGroup_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "name": "applicationGroup", + "description": "Object containing ApplicationGroup definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "201": { + "description": "Successfully created application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Delete", + "description": "Remove an applicationGroup.", + "x-ms-examples": { + "ApplicationGroup_Delete": { + "$ref": "./examples/ApplicationGroup_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully removed application group." + }, + "204": { + "description": "Application group does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Update", + "description": "Update an applicationGroup.", + "x-ms-examples": { + "ApplicationGroups_Update": { + "$ref": "./examples/ApplicationGroup_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "name": "applicationGroup", + "description": "Object containing ApplicationGroup definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ApplicationGroupPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_ListByResourceGroup", + "description": "List applicationGroups.", + "x-ms-examples": { + "ApplicationGroup_ListByResourceGroup": { + "$ref": "./examples/ApplicationGroup_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are applicationGroupType." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application groups in resource group.", + "schema": { + "$ref": "#/definitions/ApplicationGroupList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_ListBySubscription", + "description": "List applicationGroups in subscription.", + "x-ms-examples": { + "ApplicationGroup_List": { + "$ref": "./examples/ApplicationGroup_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are applicationGroupType." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application groups in subscription.", + "schema": { + "$ref": "#/definitions/ApplicationGroupList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems": { + "get": { + "tags": [ + "StartMenuItem" + ], + "operationId": "StartMenuItems_List", + "description": "List start menu items in the given application group.", + "x-ms-examples": { + "StartMenuItem_List": { + "$ref": "./examples/StartMenuItem_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved start menu items in application group.", + "schema": { + "$ref": "#/definitions/StartMenuItemList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_Get", + "description": "Get an application.", + "x-ms-examples": { + "Application_Get": { + "$ref": "./examples/Application_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Application" + ], + "operationId": "Applications_CreateOrUpdate", + "description": "Create or update an application.", + "x-ms-examples": { + "Application_Create": { + "$ref": "./examples/Application_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "name": "application", + "description": "Object containing Application definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Application" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "201": { + "description": "Successfully created application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Application" + ], + "operationId": "Applications_Delete", + "description": "Remove an application.", + "x-ms-examples": { + "Application_Delete": { + "$ref": "./examples/Application_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully removed application." + }, + "204": { + "description": "Application does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Application" + ], + "operationId": "Applications_Update", + "description": "Update an application.", + "x-ms-examples": { + "Application_Update": { + "$ref": "./examples/Application_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "name": "application", + "description": "Object containing Application definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ApplicationPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_List", + "description": "List applications.", + "x-ms-examples": { + "Applications_List": { + "$ref": "./examples/Application_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved applications in application group.", + "schema": { + "$ref": "#/definitions/ApplicationList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}": { + "get": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_Get", + "description": "Get a desktop.", + "x-ms-examples": { + "Desktop_Get": { + "$ref": "./examples/Desktop_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/DesktopNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved desktop.", + "schema": { + "$ref": "#/definitions/Desktop" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_Update", + "description": "Update a desktop.", + "x-ms-examples": { + "Desktop_Update": { + "$ref": "./examples/Desktop_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/DesktopNameParameter" + }, + { + "name": "desktop", + "description": "Object containing Desktop definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/DesktopPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated desktop.", + "schema": { + "$ref": "#/definitions/Desktop" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops": { + "get": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_List", + "description": "List desktops.", + "x-ms-examples": { + "Desktop_List": { + "$ref": "./examples/Desktop_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved desktops in application group.", + "schema": { + "$ref": "#/definitions/DesktopList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Get", + "description": "Get a host pool.", + "x-ms-examples": { + "HostPool_Get": { + "$ref": "./examples/HostPool_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_CreateOrUpdate", + "description": "Create or update a host pool.", + "x-ms-examples": { + "HostPool_Create": { + "$ref": "./examples/HostPool_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "hostPool", + "description": "Object containing HostPool definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HostPool" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "201": { + "description": "Successfully created host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Delete", + "description": "Remove a host pool.", + "x-ms-examples": { + "HostPool_Delete": { + "$ref": "./examples/HostPool_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to delete sessionHost." + } + ], + "responses": { + "200": { + "description": "Successfully removed host pool." + }, + "204": { + "description": "Host pool does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Update", + "description": "Update a host pool.", + "x-ms-examples": { + "HostPool_Update": { + "$ref": "./examples/HostPool_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "hostPool", + "description": "Object containing HostPool definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/HostPoolPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_ListByResourceGroup", + "description": "List hostPools.", + "x-ms-examples": { + "HostPool_ListByResourceGroup": { + "$ref": "./examples/HostPool_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool in resource group.", + "schema": { + "$ref": "#/definitions/HostPoolList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_List", + "description": "List hostPools in subscription.", + "x-ms-examples": { + "HostPool_List": { + "$ref": "./examples/HostPool_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool in subscription.", + "schema": { + "$ref": "#/definitions/HostPoolList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_ListByHostPool", + "description": "List userSessions.", + "x-ms-examples": { + "UserSession_ListByHostPool": { + "$ref": "./examples/UserSession_ListByHostPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are userprincipalname and sessionstate." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user sessions in host pool.", + "schema": { + "$ref": "#/definitions/UserSessionList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}": { + "get": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Get", + "description": "Get a session host.", + "x-ms-examples": { + "SessionHost_Get": { + "$ref": "./examples/SessionHost_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved session host.", + "schema": { + "$ref": "#/definitions/SessionHost" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Delete", + "description": "Remove a SessionHost.", + "x-ms-examples": { + "SessionHost_Delete": { + "$ref": "./examples/SessionHost_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to force sessionHost deletion even when userSession exists." + } + ], + "responses": { + "200": { + "description": "Successfully removed session host." + }, + "204": { + "description": "Session host does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Update", + "description": "Update a session host.", + "x-ms-examples": { + "SessionHost_Update": { + "$ref": "./examples/SessionHost_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "name": "sessionHost", + "description": "Object containing SessionHost definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/SessionHostPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated session host.", + "schema": { + "$ref": "#/definitions/SessionHost" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts": { + "get": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_List", + "description": "List sessionHosts.", + "x-ms-examples": { + "SessionHost_List": { + "$ref": "./examples/SessionHost_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved session hosts in host pool.", + "schema": { + "$ref": "#/definitions/SessionHostList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Get", + "description": "Get a userSession.", + "x-ms-examples": { + "UserSession_Get": { + "$ref": "./examples/UserSession_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user session.", + "schema": { + "$ref": "#/definitions/UserSession" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Delete", + "description": "Remove a userSession.", + "x-ms-examples": { + "UserSession_Delete": { + "$ref": "./examples/UserSession_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to login off userSession." + } + ], + "responses": { + "200": { + "description": "Successfully removed user session." + }, + "204": { + "description": "User session does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_List", + "description": "List userSessions.", + "x-ms-examples": { + "UserSession_List": { + "$ref": "./examples/UserSession_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user sessions in session host.", + "schema": { + "$ref": "#/definitions/UserSessionList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect": { + "post": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Disconnect", + "description": "Disconnect a userSession.", + "x-ms-examples": { + "UserSession_Disconnect_Post": { + "$ref": "./examples/UserSession_Disconnect_Post.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully disconnected user session." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage": { + "post": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_SendMessage", + "description": "Send a message to a user.", + "x-ms-examples": { + "UserSession_SendMessage_Post": { + "$ref": "./examples/UserSession_SendMessage_Post.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + }, + { + "name": "sendMessage", + "description": "Object containing message includes title and message body", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/SendMessage" + } + } + ], + "responses": { + "200": { + "description": "Successfully sent message to user session." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "CloudError": { + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + }, + "description": "Error response of an operation failure" + }, + "ResourceProviderOperationList": { + "description": "Result of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + } + } + }, + "ResourceProviderOperation": { + "description": "Supported operation of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Desktop Virtualization.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "Workspace": { + "type": "object", + "description": "Represents a Workspace definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for Workspace", + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspaceProperties" + } + } + }, + "WorkspaceProperties": { + "description": "Schema for Workspace properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "applicationGroupReferences": { + "type": "array", + "description": "List of applicationGroup resource Ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkspaceList": { + "type": "object", + "title": "WorkspaceList", + "description": "List of Workspace definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Workspace definitions.", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "WorkspacePatch": { + "type": "object", + "description": "Workspace properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Workspace", + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspacePatchProperties" + } + } + }, + "WorkspacePatchProperties": { + "description": "Workspace properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "applicationGroupReferences": { + "type": "array", + "description": "List of applicationGroup links.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGroup": { + "type": "object", + "description": "Represents a ApplicationGroup definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for ApplicationGroup", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGroupProperties" + } + } + }, + "ApplicationGroupProperties": { + "description": "Schema for ApplicationGroup properties.", + "type": "object", + "required": [ + "hostPoolArmPath", + "applicationGroupType" + ], + "properties": { + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + }, + "hostPoolArmPath": { + "type": "string", + "description": "HostPool arm path of ApplicationGroup.", + "x-nullable": false + }, + "workspaceArmPath": { + "type": "string", + "description": "Workspace arm path of ApplicationGroup.", + "readOnly": true + }, + "applicationGroupType": { + "enum": [ + "RemoteApp", + "Desktop" + ], + "x-ms-enum": { + "name": "ApplicationGroupType", + "modelAsString": true + }, + "type": "string", + "description": "Resource Type of ApplicationGroup.", + "x-nullable": false + } + } + }, + "ApplicationGroupPatch": { + "type": "object", + "description": "ApplicationGroup properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "ApplicationGroup properties that can be patched.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGroupPatchProperties" + } + } + }, + "ApplicationGroupPatchProperties": { + "description": "ApplicationGroup properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + } + } + }, + "ApplicationGroupList": { + "type": "object", + "title": "ApplicationGroupList", + "description": "List of ApplicationGroup definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of ApplicationGroup definitions.", + "items": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "HostPool": { + "type": "object", + "description": "Represents a HostPool definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for HostPool", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HostPoolProperties" + } + } + }, + "HostPoolProperties": { + "description": "Properties of HostPool.", + "type": "object", + "required": [ + "hostPoolType", + "loadBalancerType", + "preferredAppGroupType" + ], + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "hostPoolType": { + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "HostPoolType", + "modelAsString": true + }, + "type": "string", + "description": "HostPool type for desktop.", + "x-nullable": false + }, + "personalDesktopAssignmentType": { + "enum": [ + "Automatic", + "Direct" + ], + "x-ms-enum": { + "name": "PersonalDesktopAssignmentType", + "modelAsString": true + }, + "type": "string", + "description": "PersonalDesktopAssignment type for HostPool.", + "x-nullable": false + }, + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "maxSessionLimit": { + "type": "integer", + "description": "The max session limit of HostPool." + }, + "loadBalancerType": { + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + }, + "type": "string", + "description": "The type of the load balancer.", + "x-nullable": false + }, + "ring": { + "type": "integer", + "description": "The ring number of HostPool." + }, + "validationEnvironment": { + "type": "boolean", + "description": "Is validation environment." + }, + "registrationInfo": { + "$ref": "#/definitions/RegistrationInfo", + "description": "The registration info of HostPool." + }, + "vmTemplate": { + "type": "string", + "description": "VM template for sessionhosts configuration within hostpool." + }, + "applicationGroupReferences": { + "readOnly": true, + "type": "array", + "description": "List of applicationGroup links.", + "items": { + "type": "string" + } + }, + "ssoContext": { + "type": "string", + "description": "Path to keyvault containing ssoContext secret." + }, + "preferredAppGroupType": { + "enum": [ + "None", + "Desktop", + "RailApplications" + ], + "x-ms-enum": { + "name": "PreferredAppGroupType", + "modelAsString": true + }, + "type": "string", + "description": "The type of preferred application group type, default to Desktop Application Group", + "x-nullable": false + } + } + }, + "HostPoolPatch": { + "type": "object", + "description": "HostPool properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "HostPool properties that can be patched.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HostPoolPatchProperties" + } + } + }, + "HostPoolPatchProperties": { + "description": "Properties of HostPool.", + "type": "object", + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "maxSessionLimit": { + "type": "integer", + "description": "The max session limit of HostPool." + }, + "personalDesktopAssignmentType": { + "enum": [ + "Automatic", + "Direct" + ], + "x-ms-enum": { + "name": "PersonalDesktopAssignmentType", + "modelAsString": true + }, + "type": "string", + "description": "PersonalDesktopAssignment type for HostPool." + }, + "loadBalancerType": { + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + }, + "type": "string", + "description": "The type of the load balancer." + }, + "ring": { + "type": "integer", + "description": "The ring number of HostPool." + }, + "validationEnvironment": { + "type": "boolean", + "description": "Is validation environment." + }, + "registrationInfo": { + "$ref": "#/definitions/RegistrationInfoPatch", + "description": "The registration info of HostPool." + }, + "ssoContext": { + "type": "string", + "description": "Path to keyvault containing ssoContext secret." + }, + "preferredAppGroupType": { + "enum": [ + "None", + "Desktop", + "RailApplications" + ], + "x-ms-enum": { + "name": "PreferredAppGroupType", + "modelAsString": true + }, + "type": "string", + "description": "The type of preferred application group type, default to Desktop Application Group" + } + } + }, + "RegistrationInfo": { + "description": "Represents a RegistrationInfo definition.", + "type": "object", + "properties": { + "expirationTime": { + "format": "date-time", + "type": "string", + "description": "Expiration time of registration token." + }, + "token": { + "type": "string", + "description": "The registration token base64 encoded string." + }, + "resetToken": { + "type": "boolean", + "description": "Update registration token." + } + } + }, + "RegistrationInfoPatch": { + "description": "Represents a RegistrationInfo definition.", + "type": "object", + "properties": { + "resetToken": { + "type": "boolean", + "description": "Update registration token." + } + } + }, + "SendMessage": { + "description": "Represents message sent to a UserSession.", + "type": "object", + "properties": { + "messageTitle": { + "type": "string", + "description": "Title of message." + }, + "messageBody": { + "type": "string", + "description": "Body of message." + } + } + }, + "HostPoolList": { + "type": "object", + "title": "HostPoolList", + "description": "List of HostPool definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of HostPool definitions.", + "items": { + "$ref": "#/definitions/HostPool" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "Application": { + "description": "Schema for Application properties.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for Application", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationProperties" + } + } + }, + "ApplicationProperties": { + "description": "Schema for Application properties.", + "type": "object", + "required": [ + "commandLineSetting" + ], + "properties": { + "description": { + "type": "string", + "description": "Description of Application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "commandLineSetting": { + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ], + "x-ms-enum": { + "name": "CommandLineSetting", + "modelAsString": true + }, + "type": "string", + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", + "x-nullable": false + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "showInPortal": { + "type": "boolean", + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + }, + "iconHash": { + "readOnly": true, + "type": "string", + "description": "Hash of the icon." + }, + "iconContent": { + "readOnly": true, + "type": "string", + "format": "byte", + "description": "the icon a 64 bit string as a byte array." + } + } + }, + "ApplicationList": { + "type": "object", + "title": "ApplicationList", + "description": "List of Application definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Application definitions.", + "items": { + "$ref": "#/definitions/Application" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "ApplicationPatch": { + "type": "object", + "description": "Application properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Application", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationPatchProperties" + } + } + }, + "ApplicationPatchProperties": { + "description": "Application properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "commandLineSetting": { + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ], + "x-ms-enum": { + "name": "CommandLineSetting", + "modelAsString": true + }, + "type": "string", + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "showInPortal": { + "type": "boolean", + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + } + } + }, + "Desktop": { + "description": "Schema for Desktop properties.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for Desktop", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DesktopProperties" + } + } + }, + "DesktopProperties": { + "description": "Schema for Desktop properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Desktop." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Desktop." + }, + "iconHash": { + "readOnly": true, + "type": "string", + "description": "Hash of the icon." + }, + "iconContent": { + "readOnly": true, + "type": "string", + "format": "byte", + "description": "The icon a 64 bit string as a byte array." + } + } + }, + "DesktopList": { + "type": "object", + "title": "DesktopList", + "description": "List of Desktop definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Desktop definitions.", + "items": { + "$ref": "#/definitions/Desktop" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "DesktopPatch": { + "type": "object", + "description": "Desktop properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Desktop", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DesktopPatchProperties" + } + } + }, + "DesktopPatchProperties": { + "description": "Desktop properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Desktop." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Desktop." + } + } + }, + "StartMenuItemProperties": { + "description": "Schema for StartMenuItem properties.", + "type": "object", + "properties": { + "appAlias": { + "type": "string", + "description": "Alias of StartMenuItem." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of StartMenuItem." + }, + "filePath": { + "type": "string", + "description": "Path to the file of StartMenuItem." + }, + "commandLineArguments": { + "type": "string", + "description": "Command line arguments for StartMenuItem." + }, + "iconPath": { + "type": "string", + "description": "Path to the icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + } + } + }, + "StartMenuItem": { + "type": "object", + "description": "Represents a StartMenuItem definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for StartMenuItem", + "x-ms-client-flatten": true, + "$ref": "#/definitions/StartMenuItemProperties" + } + } + }, + "StartMenuItemList": { + "type": "object", + "title": "StartMenuItemList", + "description": "List of StartMenuItem definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of StartMenuItem definitions.", + "items": { + "$ref": "#/definitions/StartMenuItem" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "SessionHost": { + "type": "object", + "description": "Represents a SessionHost definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for SessionHost", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SessionHostProperties" + } + } + }, + "SessionHostProperties": { + "description": "Schema for SessionHost properties.", + "type": "object", + "properties": { + "lastHeartBeat": { + "format": "date-time", + "type": "string", + "description": "Last heart beat from SessionHost." + }, + "sessions": { + "type": "integer", + "description": "Number of sessions on SessionHost." + }, + "agentVersion": { + "type": "string", + "description": "Version of agent on SessionHost." + }, + "allowNewSession": { + "type": "boolean", + "description": "Allow a new session." + }, + "virtualMachineId": { + "type": "string", + "description": "Virtual Machine Id of SessionHost's underlying virtual machine.", + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "Resource Id of SessionHost's underlying virtual machine.", + "readOnly": true + }, + "assignedUser": { + "type": "string", + "description": "User assigned to SessionHost." + }, + "status": { + "enum": [ + "Available", + "Unavailable", + "Shutdown", + "Disconnected", + "Upgrading", + "UpgradeFailed" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + }, + "type": "string", + "description": "Status for a SessionHost." + }, + "statusTimestamp": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the status.", + "readOnly": true + }, + "osVersion": { + "type": "string", + "description": "The version of the OS on the session host." + }, + "sxSStackVersion": { + "type": "string", + "description": "The version of the side by side stack on the session host." + }, + "updateState": { + "enum": [ + "Initial", + "Pending", + "Started", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "UpdateState", + "modelAsString": true + }, + "type": "string", + "description": "Update state of a SessionHost." + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the last update.", + "readOnly": true + }, + "updateErrorMessage": { + "type": "string", + "description": "The error message." + } + } + }, + "SessionHostPatch": { + "type": "object", + "description": "SessionHost properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for SessionHost", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SessionHostPatchProperties" + } + } + }, + "SessionHostPatchProperties": { + "description": "SessionHost properties that can be patched.", + "type": "object", + "properties": { + "allowNewSession": { + "type": "boolean", + "description": "Allow a new session." + }, + "assignedUser": { + "type": "string", + "description": "User assigned to SessionHost." + } + } + }, + "SessionHostList": { + "type": "object", + "title": "SessionHostList", + "description": "List of SessionHost definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of SessionHost definitions.", + "items": { + "$ref": "#/definitions/SessionHost" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "UserSession": { + "type": "object", + "description": "Represents a UserSession definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for UserSession", + "x-ms-client-flatten": true, + "$ref": "#/definitions/UserSessionProperties" + } + } + }, + "UserSessionProperties": { + "description": "Schema for UserSession properties.", + "type": "object", + "properties": { + "userPrincipalName": { + "type": "string", + "description": "The user principal name." + }, + "applicationType": { + "enum": [ + "RemoteApp", + "Desktop" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true + }, + "type": "string", + "description": "Application type of application." + }, + "sessionState": { + "enum": [ + "Unknown", + "Active", + "Disconnected", + "Pending", + "LogOff", + "UserProfileDiskMounted" + ], + "x-ms-enum": { + "name": "SessionState", + "modelAsString": true + }, + "type": "string", + "description": "State of user session." + }, + "activeDirectoryUserName": { + "type": "string", + "description": "The active directory user name." + }, + "createTime": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the user session create." + } + } + }, + "UserSessionList": { + "type": "object", + "title": "UserSessionList", + "description": "List of UserSession definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of UserSession definitions.", + "items": { + "$ref": "#/definitions/UserSession" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + } + }, + "parameters": { + "HostPoolNameParameter": { + "name": "hostPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the host pool within the specified resource group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ApplicationGroupNameParameter": { + "name": "applicationGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ApplicationNameParameter": { + "name": "applicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application within the specified application group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "DesktopNameParameter": { + "name": "desktopName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the desktop within the specified desktop group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the workspace", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "SessionHostNameParameter": { + "name": "sessionHostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the session host within the specified host pool", + "maxLength": 48, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "UserSessionIdParameter": { + "name": "userSessionId", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the user session within the specified session host", + "maxLength": 24, + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "StartMenuItemNameParameter": { + "name": "startMenuItemName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the start menu item within the specified host pool", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Create.json index c75ce77be78f..c2a48ba9c91e 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Create.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-01-23-preview", - "applicationGroup": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "applicationGroupType": "RemoteApp" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - }, - "201": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-01-23-preview", + "applicationGroup": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "applicationGroupType": "RemoteApp" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + }, + "201": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Delete.json index ae2bbf71e8cc..ee690a2278b8 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Delete.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Get.json index 56dcd59e08c8..6ffbe1b4b5ac 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Get.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Update.json index 2f206a5f4560..905698121283 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/ApplicationGroup_Update.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-01-23-preview", - "applicationGroup": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-01-23-preview", + "applicationGroup": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Create.json index 684a81bf75f9..dc8630a7f5a0 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Create.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-01-23-preview", - "application": { - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - }, - "201": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-01-23-preview", + "application": { + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + }, + "201": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Delete.json index eb471d6e7f5c..b5a795cabaa5 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Delete.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Get.json index 3cb0ca998e75..49ef6a81fe95 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Get.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_List.json index a49c11d5a7d5..d8a94e86d8bb 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_List.json @@ -1,50 +1,50 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - }, - { - "name": "applicationGroup1/application2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des2", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + }, + { + "name": "applicationGroup1/application2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des2", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Update.json index 0c7295dc9509..609af3bac5c6 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Application_Update.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-01-23-preview", - "application": { - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-01-23-preview", + "application": { + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Create.json index 3c08b9ce934b..eda470b690aa 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Create.json @@ -1,92 +1,92 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-01-23-preview", - "hostPool": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "resetToken": true - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "resetToken": true - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - }, - "201": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "resetToken": true - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-01-23-preview", + "hostPool": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "resetToken": true + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "resetToken": true + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + }, + "201": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "resetToken": true + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Delete.json index 4a35ba990066..2f87e3ccccd0 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Delete.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-01-23-preview", - "force": true - }, - "responses": { - "200": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "resetToken": false - }, - "ssoContext": "KeyVaultPath" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-01-23-preview", + "force": true + }, + "responses": { + "200": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "resetToken": false + }, + "ssoContext": "KeyVaultPath" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Get.json index d286a94ffd5c..747db33f003b 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Get.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "resetToken": false - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "resetToken": false + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Update.json index 6593f5e1cb0a..78e8cfee86d8 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/HostPool_Update.json @@ -1,58 +1,58 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-01-23-preview", - "hostPool": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "personalDesktopAssignmentType": "Automatic", - "registrationInfo": { - "resetToken": false - }, - "ssoContext": "KeyVaultPath" - } - } - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "resetToken": false - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-01-23-preview", + "hostPool": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "personalDesktopAssignmentType": "Automatic", + "registrationInfo": { + "resetToken": false + }, + "ssoContext": "KeyVaultPath" + } + } + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "resetToken": false + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/OperationDescription_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/OperationDescription_List.json index f8b4fa7714f1..9174464d93fd 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/OperationDescription_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/OperationDescription_List.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.DesktopVirtualization/ssocontext/read", - "display": { - "provider": "Microsoft.DesktopVirtualization", - "resource": "ssocontext" - } - }, - { - "name": "Microsoft.DesktopVirtualization/ssocontext/write", - "display": { - "provider": "Microsoft.DesktopVirtualization", - "resource": "ssocontext" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DesktopVirtualization/ssocontext/read", + "display": { + "provider": "Microsoft.DesktopVirtualization", + "resource": "ssocontext" + } + }, + { + "name": "Microsoft.DesktopVirtualization/ssocontext/write", + "display": { + "provider": "Microsoft.DesktopVirtualization", + "resource": "ssocontext" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Delete.json index a0fb8de17874..b868173cd059 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Delete.json @@ -1,34 +1,34 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-01-23-preview", - "force": true - }, - "responses": { - "200": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-01-23-preview", + "force": true + }, + "responses": { + "200": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Get.json index cdf7f8c1d3a2..6e43a591e215 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Get.json @@ -1,34 +1,34 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_List.json index 4dffe5b95b7f..635b9aba7306 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_List.json @@ -1,58 +1,58 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - }, - { - "name": "sessionHost2.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user2@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + }, + { + "name": "sessionHost2.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user2@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Update.json index fa38d983465f..a2a74041518f 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/SessionHost_Update.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-01-23-preview", - "sessionHost": { - "properties": { - "allowNewSession": true, - "assignedUser": "user1@microsoft.com" - } - } - }, - "responses": { - "200": { - "body": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2019-01-11T19:27:13.6108027Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2019-01-24T20:00:08.2893033Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-01-23-preview", + "sessionHost": { + "properties": { + "allowNewSession": true, + "assignedUser": "user1@microsoft.com" + } + } + }, + "responses": { + "200": { + "body": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2019-01-11T19:27:13.6108027Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2019-01-24T20:00:08.2893033Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/StartMenuItem_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/StartMenuItem_List.json index 6adb97a59168..18fa1240189c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/StartMenuItem_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/StartMenuItem_List.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", - "properties": { - "appAlias": "word", - "friendlyName": "friendly", - "filePath": "/path/to/file", - "commandLineArguments": "arguments", - "iconPath": "/path/to/icon", - "iconIndex": 1 - } - }, - { - "name": "application2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2", - "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", - "properties": { - "appAlias": "excel", - "friendlyName": "friendly", - "filePath": "/path/to/file", - "commandLineArguments": "arguments", - "iconPath": "/path/to/icon", - "iconIndex": 1 - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", + "properties": { + "appAlias": "word", + "friendlyName": "friendly", + "filePath": "/path/to/file", + "commandLineArguments": "arguments", + "iconPath": "/path/to/icon", + "iconIndex": 1 + } + }, + { + "name": "application2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2", + "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", + "properties": { + "appAlias": "excel", + "friendlyName": "friendly", + "filePath": "/path/to/file", + "commandLineArguments": "arguments", + "iconPath": "/path/to/icon", + "iconIndex": 1 + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Delete.json index 9e3f7954e56d..bb69d8e0e1bf 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Delete.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-01-23-preview", - "force": true - }, - "responses": { - "200": { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-01-23-preview", + "force": true + }, + "responses": { + "200": { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Disconnect_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Disconnect_Post.json index 6e3eda65d3a9..188c24cfb329 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Disconnect_Post.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Disconnect_Post.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Get.json index 920cecc824a5..f978027d9a2d 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_Get.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_SendMessage_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_SendMessage_Post.json index e9b9ea50e324..37c844447527 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_SendMessage_Post.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/UserSession_SendMessage_Post.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-01-23-preview", - "sendMessage": { - "messageTitle": "title", - "messageBody": "body" - } - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-01-23-preview", + "sendMessage": { + "messageTitle": "title", + "messageBody": "body" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Create.json index 136ed75d9cca..bdae0db548ce 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Create.json @@ -1,53 +1,53 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-01-23-preview", - "workspace": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "201": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-01-23-preview", + "workspace": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "201": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Delete.json index 913ef919c812..c1183229eb2b 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Delete.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Get.json index 691cbf19aa88..9bd78168a76d 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Get.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-01-23-preview" - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-01-23-preview" + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Update.json index 7398e946deab..0f3c21cbd975 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-01-23-preview/examples/Workspace_Update.json @@ -1,36 +1,36 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-01-23-preview", - "workspace": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-01-23-preview", + "workspace": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/desktopvirtualization.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/desktopvirtualization.json index bfa107e11949..a1eed968b60c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/desktopvirtualization.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/desktopvirtualization.json @@ -1,3005 +1,3005 @@ -{ - "swagger": "2.0", - "info": { - "version": "2019-09-24-preview", - "title": "Desktop Virtualization API Client" - }, - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "host": "management.azure.com", - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.DesktopVirtualization/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "List all of the available operations the Desktop Virtualization resource provider supports.", - "x-ms-examples": { - "OperationDescription_List": { - "$ref": "./examples/OperationDescription_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved operations.", - "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Get", - "description": "Get a workspace.", - "x-ms-examples": { - "Workspace_Get": { - "$ref": "./examples/Workspace_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_CreateOrUpdate", - "description": "Create or update a workspace.", - "x-ms-examples": { - "Workspace_Create": { - "$ref": "./examples/Workspace_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "workspace", - "description": "Object containing Workspace definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Workspace" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "201": { - "description": "Successfully created workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Delete", - "description": "Remove a workspace.", - "x-ms-examples": { - "Workspace_Delete": { - "$ref": "./examples/Workspace_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted workspace." - }, - "204": { - "description": "Workspace does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Update", - "description": "Update a workspace.", - "x-ms-examples": { - "Workspace_Update": { - "$ref": "./examples/Workspace_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "workspace", - "description": "Object containing Workspace definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/WorkspacePatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_ListByResourceGroup", - "description": "List workspaces.", - "x-ms-examples": { - "Workspace_ListByResourceGroup": { - "$ref": "./examples/Workspace_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspaces in resource group.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_ListBySubscription", - "description": "List workspaces in subscription.", - "x-ms-examples": { - "Workspace_ListBySubscription": { - "$ref": "./examples/Workspace_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspaces in subscription.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Get", - "description": "Get an application group.", - "x-ms-examples": { - "ApplicationGroup_Get": { - "$ref": "./examples/ApplicationGroup_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_CreateOrUpdate", - "description": "Create or update an applicationGroup.", - "x-ms-examples": { - "ApplicationGroup_Create": { - "$ref": "./examples/ApplicationGroup_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "name": "applicationGroup", - "description": "Object containing ApplicationGroup definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "201": { - "description": "Successfully created application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Delete", - "description": "Remove an applicationGroup.", - "x-ms-examples": { - "ApplicationGroup_Delete": { - "$ref": "./examples/ApplicationGroup_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully removed application group." - }, - "204": { - "description": "Application group does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Update", - "description": "Update an applicationGroup.", - "x-ms-examples": { - "ApplicationGroups_Update": { - "$ref": "./examples/ApplicationGroup_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "name": "applicationGroup", - "description": "Object containing ApplicationGroup definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationGroupPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_ListByResourceGroup", - "description": "List applicationGroups.", - "x-ms-examples": { - "ApplicationGroup_ListByResourceGroup": { - "$ref": "./examples/ApplicationGroup_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are applicationGroupType." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application groups in resource group.", - "schema": { - "$ref": "#/definitions/ApplicationGroupList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_ListBySubscription", - "description": "List applicationGroups in subscription.", - "x-ms-examples": { - "ApplicationGroup_List": { - "$ref": "./examples/ApplicationGroup_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are applicationGroupType." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application groups in subscription.", - "schema": { - "$ref": "#/definitions/ApplicationGroupList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems": { - "get": { - "tags": [ - "StartMenuItem" - ], - "operationId": "StartMenuItems_List", - "description": "List start menu items in the given application group.", - "x-ms-examples": { - "StartMenuItem_List": { - "$ref": "./examples/StartMenuItem_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved start menu items in application group.", - "schema": { - "$ref": "#/definitions/StartMenuItemList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Applications_Get", - "description": "Get an application.", - "x-ms-examples": { - "Application_Get": { - "$ref": "./examples/Application_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Application" - ], - "operationId": "Applications_CreateOrUpdate", - "description": "Create or update an application.", - "x-ms-examples": { - "Application_Create": { - "$ref": "./examples/Application_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "application", - "description": "Object containing Application definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Application" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "201": { - "description": "Successfully created application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Application" - ], - "operationId": "Applications_Delete", - "description": "Remove an application.", - "x-ms-examples": { - "Application_Delete": { - "$ref": "./examples/Application_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully removed application." - }, - "204": { - "description": "Application does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Application" - ], - "operationId": "Applications_Update", - "description": "Update an application.", - "x-ms-examples": { - "Application_Update": { - "$ref": "./examples/Application_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "application", - "description": "Object containing Application definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Applications_List", - "description": "List applications.", - "x-ms-examples": { - "Applications_List": { - "$ref": "./examples/Application_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved applications in application group.", - "schema": { - "$ref": "#/definitions/ApplicationList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}": { - "get": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_Get", - "description": "Get a desktop.", - "x-ms-examples": { - "Desktop_Get": { - "$ref": "./examples/Desktop_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/DesktopNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved desktop.", - "schema": { - "$ref": "#/definitions/Desktop" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_Update", - "description": "Update a desktop.", - "x-ms-examples": { - "Desktop_Update": { - "$ref": "./examples/Desktop_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/DesktopNameParameter" - }, - { - "name": "desktop", - "description": "Object containing Desktop definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/DesktopPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated desktop.", - "schema": { - "$ref": "#/definitions/Desktop" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops": { - "get": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_List", - "description": "List desktops.", - "x-ms-examples": { - "Desktop_List": { - "$ref": "./examples/Desktop_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved desktops in application group.", - "schema": { - "$ref": "#/definitions/DesktopList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Get", - "description": "Get a host pool.", - "x-ms-examples": { - "HostPool_Get": { - "$ref": "./examples/HostPool_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_CreateOrUpdate", - "description": "Create or update a host pool.", - "x-ms-examples": { - "HostPool_Create": { - "$ref": "./examples/HostPool_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "hostPool", - "description": "Object containing HostPool definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/HostPool" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "201": { - "description": "Successfully created host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Delete", - "description": "Remove a host pool.", - "x-ms-examples": { - "HostPool_Delete": { - "$ref": "./examples/HostPool_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to delete sessionHost." - } - ], - "responses": { - "200": { - "description": "Successfully removed host pool." - }, - "204": { - "description": "Host pool does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Update", - "description": "Update a host pool.", - "x-ms-examples": { - "HostPool_Update": { - "$ref": "./examples/HostPool_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "hostPool", - "description": "Object containing HostPool definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/HostPoolPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_ListByResourceGroup", - "description": "List hostPools.", - "x-ms-examples": { - "HostPool_ListByResourceGroup": { - "$ref": "./examples/HostPool_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool in resource group.", - "schema": { - "$ref": "#/definitions/HostPoolList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_List", - "description": "List hostPools in subscription.", - "x-ms-examples": { - "HostPool_List": { - "$ref": "./examples/HostPool_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool in subscription.", - "schema": { - "$ref": "#/definitions/HostPoolList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_ListByHostPool", - "description": "List userSessions.", - "x-ms-examples": { - "UserSession_ListByHostPool": { - "$ref": "./examples/UserSession_ListByHostPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are userprincipalname and sessionstate." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user sessions in host pool.", - "schema": { - "$ref": "#/definitions/UserSessionList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}": { - "get": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Get", - "description": "Get a session host.", - "x-ms-examples": { - "SessionHost_Get": { - "$ref": "./examples/SessionHost_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved session host.", - "schema": { - "$ref": "#/definitions/SessionHost" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Delete", - "description": "Remove a SessionHost.", - "x-ms-examples": { - "SessionHost_Delete": { - "$ref": "./examples/SessionHost_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to force sessionHost deletion even when userSession exists." - } - ], - "responses": { - "200": { - "description": "Successfully removed session host." - }, - "204": { - "description": "Session host does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Update", - "description": "Update a session host.", - "x-ms-examples": { - "SessionHost_Update": { - "$ref": "./examples/SessionHost_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "name": "sessionHost", - "description": "Object containing SessionHost definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/SessionHostPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated session host.", - "schema": { - "$ref": "#/definitions/SessionHost" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts": { - "get": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_List", - "description": "List sessionHosts.", - "x-ms-examples": { - "SessionHost_List": { - "$ref": "./examples/SessionHost_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved session hosts in host pool.", - "schema": { - "$ref": "#/definitions/SessionHostList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Get", - "description": "Get a userSession.", - "x-ms-examples": { - "UserSession_Get": { - "$ref": "./examples/UserSession_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user session.", - "schema": { - "$ref": "#/definitions/UserSession" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Delete", - "description": "Remove a userSession.", - "x-ms-examples": { - "UserSession_Delete": { - "$ref": "./examples/UserSession_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to login off userSession." - } - ], - "responses": { - "200": { - "description": "Successfully removed user session." - }, - "204": { - "description": "User session does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_List", - "description": "List userSessions.", - "x-ms-examples": { - "UserSession_List": { - "$ref": "./examples/UserSession_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user sessions in session host.", - "schema": { - "$ref": "#/definitions/UserSessionList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect": { - "post": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Disconnect", - "description": "Disconnect a userSession.", - "x-ms-examples": { - "UserSession_Disconnect_Post": { - "$ref": "./examples/UserSession_Disconnect_Post.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully disconnected user session." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage": { - "post": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_SendMessage", - "description": "Send a message to a user.", - "x-ms-examples": { - "UserSession_SendMessage_Post": { - "$ref": "./examples/UserSession_SendMessage_Post.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - }, - { - "name": "sendMessage", - "description": "Object containing message includes title and message body", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/SendMessage" - } - } - ], - "responses": { - "200": { - "description": "Successfully sent message to user session." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "CloudError": { - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - }, - "description": "Error response of an operation failure" - }, - "ResourceProviderOperationList": { - "description": "Result of the request to list operations.", - "readOnly": true, - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderOperation" - }, - "description": "List of operations supported by this resource provider." - } - } - }, - "ResourceProviderOperation": { - "description": "Supported operation of this resource provider.", - "readOnly": true, - "properties": { - "name": { - "description": "Operation name, in format of {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "Display metadata associated with the operation.", - "properties": { - "provider": { - "description": "Resource provider: Microsoft Desktop Virtualization.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "Type of operation: get, read, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of this operation.", - "type": "string" - } - } - } - } - }, - "Workspace": { - "type": "object", - "description": "Represents a Workspace definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for Workspace", - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkspaceProperties" - } - } - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "applicationGroupReferences": { - "type": "array", - "description": "List of applicationGroup resource Ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkspaceList": { - "type": "object", - "title": "WorkspaceList", - "description": "List of Workspace definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Workspace definitions.", - "items": { - "$ref": "#/definitions/Workspace" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "WorkspacePatch": { - "type": "object", - "description": "Workspace properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Workspace", - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkspacePatchProperties" - } - } - }, - "WorkspacePatchProperties": { - "description": "Workspace properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "applicationGroupReferences": { - "type": "array", - "description": "List of applicationGroup links.", - "items": { - "type": "string" - } - } - } - }, - "ApplicationGroup": { - "type": "object", - "description": "Represents a ApplicationGroup definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for ApplicationGroup", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationGroupProperties" - } - } - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "type": "object", - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "properties": { - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup.", - "x-nullable": false - }, - "workspaceArmPath": { - "type": "string", - "description": "Workspace arm path of ApplicationGroup.", - "readOnly": true - }, - "applicationGroupType": { - "enum": [ - "RemoteApp", - "Desktop" - ], - "x-ms-enum": { - "name": "ApplicationGroupType", - "modelAsString": true - }, - "type": "string", - "description": "Resource Type of ApplicationGroup.", - "x-nullable": false - } - } - }, - "ApplicationGroupPatch": { - "type": "object", - "description": "ApplicationGroup properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "ApplicationGroup properties that can be patched.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationGroupPatchProperties" - } - } - }, - "ApplicationGroupPatchProperties": { - "description": "ApplicationGroup properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - } - } - }, - "ApplicationGroupList": { - "type": "object", - "title": "ApplicationGroupList", - "description": "List of ApplicationGroup definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of ApplicationGroup definitions.", - "items": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "HostPool": { - "type": "object", - "description": "Represents a HostPool definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for HostPool", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HostPoolProperties" - } - } - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "type": "object", - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "hostPoolType": { - "enum": [ - "Personal", - "Shared" - ], - "x-ms-enum": { - "name": "HostPoolType", - "modelAsString": true - }, - "type": "string", - "description": "HostPool type for desktop.", - "x-nullable": false - }, - "personalDesktopAssignmentType": { - "enum": [ - "Automatic", - "Direct" - ], - "x-ms-enum": { - "name": "PersonalDesktopAssignmentType", - "modelAsString": true - }, - "type": "string", - "description": "PersonalDesktopAssignment type for HostPool.", - "x-nullable": false - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "maxSessionLimit": { - "type": "integer", - "description": "The max session limit of HostPool." - }, - "loadBalancerType": { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - }, - "type": "string", - "description": "The type of the load balancer.", - "x-nullable": false - }, - "ring": { - "type": "integer", - "description": "The ring number of HostPool." - }, - "validationEnvironment": { - "type": "boolean", - "description": "Is validation environment." - }, - "registrationInfo": { - "$ref": "#/definitions/RegistrationInfo", - "description": "The registration info of HostPool." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - }, - "applicationGroupReferences": { - "readOnly": true, - "type": "array", - "description": "List of applicationGroup links.", - "items": { - "type": "string" - } - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "preferredAppGroupType": { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "x-ms-enum": { - "name": "PreferredAppGroupType", - "modelAsString": true - }, - "type": "string", - "description": "The type of preferred application group type, default to Desktop Application Group", - "x-nullable": false - } - } - }, - "HostPoolPatch": { - "type": "object", - "description": "HostPool properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "HostPool properties that can be patched.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HostPoolPatchProperties" - } - } - }, - "HostPoolPatchProperties": { - "description": "Properties of HostPool.", - "type": "object", - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "maxSessionLimit": { - "type": "integer", - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "enum": [ - "Automatic", - "Direct" - ], - "x-ms-enum": { - "name": "PersonalDesktopAssignmentType", - "modelAsString": true - }, - "type": "string", - "description": "PersonalDesktopAssignment type for HostPool." - }, - "loadBalancerType": { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - }, - "type": "string", - "description": "The type of the load balancer." - }, - "ring": { - "type": "integer", - "description": "The ring number of HostPool." - }, - "validationEnvironment": { - "type": "boolean", - "description": "Is validation environment." - }, - "registrationInfo": { - "$ref": "#/definitions/RegistrationInfoPatch", - "description": "The registration info of HostPool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "preferredAppGroupType": { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "x-ms-enum": { - "name": "PreferredAppGroupType", - "modelAsString": true - }, - "type": "string", - "description": "The type of preferred application group type, default to Desktop Application Group" - } - } - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "type": "object", - "properties": { - "expirationTime": { - "format": "date-time", - "type": "string", - "description": "Expiration time of registration token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - }, - "registrationTokenOperation": { - "enum": [ - "Delete", - "None", - "Update" - ], - "x-ms-enum": { - "name": "RegistrationTokenOperation", - "modelAsString": true - }, - "type": "string", - "description": "The type of resetting the token.", - "x-nullable": false - } - } - }, - "RegistrationInfoPatch": { - "description": "Represents a RegistrationInfo definition.", - "type": "object", - "properties": { - "registrationTokenOperation": { - "enum": [ - "Delete", - "None", - "Update" - ], - "x-ms-enum": { - "name": "RegistrationTokenOperation", - "modelAsString": true - }, - "type": "string", - "description": "The type of resetting the token." - } - } - }, - "SendMessage": { - "description": "Represents message sent to a UserSession.", - "type": "object", - "properties": { - "messageTitle": { - "type": "string", - "description": "Title of message." - }, - "messageBody": { - "type": "string", - "description": "Body of message." - } - } - }, - "HostPoolList": { - "type": "object", - "title": "HostPoolList", - "description": "List of HostPool definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of HostPool definitions.", - "items": { - "$ref": "#/definitions/HostPool" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "Application": { - "description": "Schema for Application properties.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for Application", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationProperties" - } - } - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "type": "object", - "required": [ - "commandLineSetting" - ], - "properties": { - "description": { - "type": "string", - "description": "Description of Application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "commandLineSetting": { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "x-ms-enum": { - "name": "CommandLineSetting", - "modelAsString": true - }, - "type": "string", - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "x-nullable": false - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "showInPortal": { - "type": "boolean", - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - }, - "iconHash": { - "readOnly": true, - "type": "string", - "description": "Hash of the icon." - }, - "iconContent": { - "readOnly": true, - "type": "string", - "format": "byte", - "description": "the icon a 64 bit string as a byte array." - } - } - }, - "ApplicationList": { - "type": "object", - "title": "ApplicationList", - "description": "List of Application definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Application definitions.", - "items": { - "$ref": "#/definitions/Application" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "ApplicationPatch": { - "type": "object", - "description": "Application properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Application", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationPatchProperties" - } - } - }, - "ApplicationPatchProperties": { - "description": "Application properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "commandLineSetting": { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "x-ms-enum": { - "name": "CommandLineSetting", - "modelAsString": true - }, - "type": "string", - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "showInPortal": { - "type": "boolean", - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - } - } - }, - "Desktop": { - "description": "Schema for Desktop properties.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for Desktop", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DesktopProperties" - } - } - }, - "DesktopProperties": { - "description": "Schema for Desktop properties.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Desktop." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Desktop." - }, - "iconHash": { - "readOnly": true, - "type": "string", - "description": "Hash of the icon." - }, - "iconContent": { - "readOnly": true, - "type": "string", - "format": "byte", - "description": "The icon a 64 bit string as a byte array." - } - } - }, - "DesktopList": { - "type": "object", - "title": "DesktopList", - "description": "List of Desktop definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Desktop definitions.", - "items": { - "$ref": "#/definitions/Desktop" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "DesktopPatch": { - "type": "object", - "description": "Desktop properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Desktop", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DesktopPatchProperties" - } - } - }, - "DesktopPatchProperties": { - "description": "Desktop properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Desktop." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Desktop." - } - } - }, - "StartMenuItemProperties": { - "description": "Schema for StartMenuItem properties.", - "type": "object", - "properties": { - "appAlias": { - "type": "string", - "description": "Alias of StartMenuItem." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of StartMenuItem." - }, - "filePath": { - "type": "string", - "description": "Path to the file of StartMenuItem." - }, - "commandLineArguments": { - "type": "string", - "description": "Command line arguments for StartMenuItem." - }, - "iconPath": { - "type": "string", - "description": "Path to the icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - } - } - }, - "StartMenuItem": { - "type": "object", - "description": "Represents a StartMenuItem definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for StartMenuItem", - "x-ms-client-flatten": true, - "$ref": "#/definitions/StartMenuItemProperties" - } - } - }, - "StartMenuItemList": { - "type": "object", - "title": "StartMenuItemList", - "description": "List of StartMenuItem definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of StartMenuItem definitions.", - "items": { - "$ref": "#/definitions/StartMenuItem" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "SessionHost": { - "type": "object", - "description": "Represents a SessionHost definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for SessionHost", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SessionHostProperties" - } - } - }, - "SessionHostProperties": { - "description": "Schema for SessionHost properties.", - "type": "object", - "properties": { - "lastHeartBeat": { - "format": "date-time", - "type": "string", - "description": "Last heart beat from SessionHost." - }, - "sessions": { - "type": "integer", - "description": "Number of sessions on SessionHost." - }, - "agentVersion": { - "type": "string", - "description": "Version of agent on SessionHost." - }, - "allowNewSession": { - "type": "boolean", - "description": "Allow a new session." - }, - "virtualMachineId": { - "type": "string", - "description": "Virtual Machine Id of SessionHost's underlying virtual machine.", - "readOnly": true - }, - "resourceId": { - "type": "string", - "description": "Resource Id of SessionHost's underlying virtual machine.", - "readOnly": true - }, - "assignedUser": { - "type": "string", - "description": "User assigned to SessionHost." - }, - "status": { - "enum": [ - "Available", - "Unavailable", - "Shutdown", - "Disconnected", - "Upgrading", - "UpgradeFailed" - ], - "x-ms-enum": { - "name": "Status", - "modelAsString": true - }, - "type": "string", - "description": "Status for a SessionHost." - }, - "statusTimestamp": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the status.", - "readOnly": true - }, - "osVersion": { - "type": "string", - "description": "The version of the OS on the session host." - }, - "sxSStackVersion": { - "type": "string", - "description": "The version of the side by side stack on the session host." - }, - "updateState": { - "enum": [ - "Initial", - "Pending", - "Started", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "UpdateState", - "modelAsString": true - }, - "type": "string", - "description": "Update state of a SessionHost." - }, - "lastUpdateTime": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the last update.", - "readOnly": true - }, - "updateErrorMessage": { - "type": "string", - "description": "The error message." - } - } - }, - "SessionHostPatch": { - "type": "object", - "description": "SessionHost properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for SessionHost", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SessionHostPatchProperties" - } - } - }, - "SessionHostPatchProperties": { - "description": "SessionHost properties that can be patched.", - "type": "object", - "properties": { - "allowNewSession": { - "type": "boolean", - "description": "Allow a new session." - }, - "assignedUser": { - "type": "string", - "description": "User assigned to SessionHost." - } - } - }, - "SessionHostList": { - "type": "object", - "title": "SessionHostList", - "description": "List of SessionHost definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of SessionHost definitions.", - "items": { - "$ref": "#/definitions/SessionHost" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "UserSession": { - "type": "object", - "description": "Represents a UserSession definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for UserSession", - "x-ms-client-flatten": true, - "$ref": "#/definitions/UserSessionProperties" - } - } - }, - "UserSessionProperties": { - "description": "Schema for UserSession properties.", - "type": "object", - "properties": { - "userPrincipalName": { - "type": "string", - "description": "The user principal name." - }, - "applicationType": { - "enum": [ - "RemoteApp", - "Desktop" - ], - "x-ms-enum": { - "name": "ApplicationType", - "modelAsString": true - }, - "type": "string", - "description": "Application type of application." - }, - "sessionState": { - "enum": [ - "Unknown", - "Active", - "Disconnected", - "Pending", - "LogOff", - "UserProfileDiskMounted" - ], - "x-ms-enum": { - "name": "SessionState", - "modelAsString": true - }, - "type": "string", - "description": "State of user session." - }, - "activeDirectoryUserName": { - "type": "string", - "description": "The active directory user name." - }, - "createTime": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the user session create." - } - } - }, - "UserSessionList": { - "type": "object", - "title": "UserSessionList", - "description": "List of UserSession definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of UserSession definitions.", - "items": { - "$ref": "#/definitions/UserSession" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - } - }, - "parameters": { - "HostPoolNameParameter": { - "name": "hostPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ApplicationGroupNameParameter": { - "name": "applicationGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ApplicationNameParameter": { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "DesktopNameParameter": { - "name": "desktopName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the desktop within the specified desktop group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "WorkspaceNameParameter": { - "name": "workspaceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "SessionHostNameParameter": { - "name": "sessionHostName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the session host within the specified host pool", - "maxLength": 48, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "UserSessionIdParameter": { - "name": "userSessionId", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the user session within the specified session host", - "maxLength": 24, - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "StartMenuItemNameParameter": { - "name": "startMenuItemName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the start menu item within the specified host pool", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "version": "2019-09-24-preview", + "title": "Desktop Virtualization API Client" + }, + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "host": "management.azure.com", + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.DesktopVirtualization/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List all of the available operations the Desktop Virtualization resource provider supports.", + "x-ms-examples": { + "OperationDescription_List": { + "$ref": "./examples/OperationDescription_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved operations.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Get", + "description": "Get a workspace.", + "x-ms-examples": { + "Workspace_Get": { + "$ref": "./examples/Workspace_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_CreateOrUpdate", + "description": "Create or update a workspace.", + "x-ms-examples": { + "Workspace_Create": { + "$ref": "./examples/Workspace_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "workspace", + "description": "Object containing Workspace definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workspace" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "201": { + "description": "Successfully created workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Delete", + "description": "Remove a workspace.", + "x-ms-examples": { + "Workspace_Delete": { + "$ref": "./examples/Workspace_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted workspace." + }, + "204": { + "description": "Workspace does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Update", + "description": "Update a workspace.", + "x-ms-examples": { + "Workspace_Update": { + "$ref": "./examples/Workspace_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "workspace", + "description": "Object containing Workspace definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/WorkspacePatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_ListByResourceGroup", + "description": "List workspaces.", + "x-ms-examples": { + "Workspace_ListByResourceGroup": { + "$ref": "./examples/Workspace_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspaces in resource group.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_ListBySubscription", + "description": "List workspaces in subscription.", + "x-ms-examples": { + "Workspace_ListBySubscription": { + "$ref": "./examples/Workspace_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspaces in subscription.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Get", + "description": "Get an application group.", + "x-ms-examples": { + "ApplicationGroup_Get": { + "$ref": "./examples/ApplicationGroup_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_CreateOrUpdate", + "description": "Create or update an applicationGroup.", + "x-ms-examples": { + "ApplicationGroup_Create": { + "$ref": "./examples/ApplicationGroup_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "name": "applicationGroup", + "description": "Object containing ApplicationGroup definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "201": { + "description": "Successfully created application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Delete", + "description": "Remove an applicationGroup.", + "x-ms-examples": { + "ApplicationGroup_Delete": { + "$ref": "./examples/ApplicationGroup_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully removed application group." + }, + "204": { + "description": "Application group does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Update", + "description": "Update an applicationGroup.", + "x-ms-examples": { + "ApplicationGroups_Update": { + "$ref": "./examples/ApplicationGroup_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "name": "applicationGroup", + "description": "Object containing ApplicationGroup definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ApplicationGroupPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_ListByResourceGroup", + "description": "List applicationGroups.", + "x-ms-examples": { + "ApplicationGroup_ListByResourceGroup": { + "$ref": "./examples/ApplicationGroup_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are applicationGroupType." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application groups in resource group.", + "schema": { + "$ref": "#/definitions/ApplicationGroupList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_ListBySubscription", + "description": "List applicationGroups in subscription.", + "x-ms-examples": { + "ApplicationGroup_List": { + "$ref": "./examples/ApplicationGroup_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are applicationGroupType." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application groups in subscription.", + "schema": { + "$ref": "#/definitions/ApplicationGroupList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems": { + "get": { + "tags": [ + "StartMenuItem" + ], + "operationId": "StartMenuItems_List", + "description": "List start menu items in the given application group.", + "x-ms-examples": { + "StartMenuItem_List": { + "$ref": "./examples/StartMenuItem_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved start menu items in application group.", + "schema": { + "$ref": "#/definitions/StartMenuItemList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_Get", + "description": "Get an application.", + "x-ms-examples": { + "Application_Get": { + "$ref": "./examples/Application_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Application" + ], + "operationId": "Applications_CreateOrUpdate", + "description": "Create or update an application.", + "x-ms-examples": { + "Application_Create": { + "$ref": "./examples/Application_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "name": "application", + "description": "Object containing Application definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Application" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "201": { + "description": "Successfully created application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Application" + ], + "operationId": "Applications_Delete", + "description": "Remove an application.", + "x-ms-examples": { + "Application_Delete": { + "$ref": "./examples/Application_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully removed application." + }, + "204": { + "description": "Application does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Application" + ], + "operationId": "Applications_Update", + "description": "Update an application.", + "x-ms-examples": { + "Application_Update": { + "$ref": "./examples/Application_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "name": "application", + "description": "Object containing Application definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ApplicationPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_List", + "description": "List applications.", + "x-ms-examples": { + "Applications_List": { + "$ref": "./examples/Application_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved applications in application group.", + "schema": { + "$ref": "#/definitions/ApplicationList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}": { + "get": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_Get", + "description": "Get a desktop.", + "x-ms-examples": { + "Desktop_Get": { + "$ref": "./examples/Desktop_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/DesktopNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved desktop.", + "schema": { + "$ref": "#/definitions/Desktop" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_Update", + "description": "Update a desktop.", + "x-ms-examples": { + "Desktop_Update": { + "$ref": "./examples/Desktop_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/DesktopNameParameter" + }, + { + "name": "desktop", + "description": "Object containing Desktop definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/DesktopPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated desktop.", + "schema": { + "$ref": "#/definitions/Desktop" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops": { + "get": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_List", + "description": "List desktops.", + "x-ms-examples": { + "Desktop_List": { + "$ref": "./examples/Desktop_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved desktops in application group.", + "schema": { + "$ref": "#/definitions/DesktopList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Get", + "description": "Get a host pool.", + "x-ms-examples": { + "HostPool_Get": { + "$ref": "./examples/HostPool_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_CreateOrUpdate", + "description": "Create or update a host pool.", + "x-ms-examples": { + "HostPool_Create": { + "$ref": "./examples/HostPool_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "hostPool", + "description": "Object containing HostPool definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HostPool" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "201": { + "description": "Successfully created host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Delete", + "description": "Remove a host pool.", + "x-ms-examples": { + "HostPool_Delete": { + "$ref": "./examples/HostPool_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to delete sessionHost." + } + ], + "responses": { + "200": { + "description": "Successfully removed host pool." + }, + "204": { + "description": "Host pool does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Update", + "description": "Update a host pool.", + "x-ms-examples": { + "HostPool_Update": { + "$ref": "./examples/HostPool_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "hostPool", + "description": "Object containing HostPool definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/HostPoolPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_ListByResourceGroup", + "description": "List hostPools.", + "x-ms-examples": { + "HostPool_ListByResourceGroup": { + "$ref": "./examples/HostPool_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool in resource group.", + "schema": { + "$ref": "#/definitions/HostPoolList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_List", + "description": "List hostPools in subscription.", + "x-ms-examples": { + "HostPool_List": { + "$ref": "./examples/HostPool_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool in subscription.", + "schema": { + "$ref": "#/definitions/HostPoolList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_ListByHostPool", + "description": "List userSessions.", + "x-ms-examples": { + "UserSession_ListByHostPool": { + "$ref": "./examples/UserSession_ListByHostPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are userprincipalname and sessionstate." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user sessions in host pool.", + "schema": { + "$ref": "#/definitions/UserSessionList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}": { + "get": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Get", + "description": "Get a session host.", + "x-ms-examples": { + "SessionHost_Get": { + "$ref": "./examples/SessionHost_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved session host.", + "schema": { + "$ref": "#/definitions/SessionHost" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Delete", + "description": "Remove a SessionHost.", + "x-ms-examples": { + "SessionHost_Delete": { + "$ref": "./examples/SessionHost_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to force sessionHost deletion even when userSession exists." + } + ], + "responses": { + "200": { + "description": "Successfully removed session host." + }, + "204": { + "description": "Session host does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Update", + "description": "Update a session host.", + "x-ms-examples": { + "SessionHost_Update": { + "$ref": "./examples/SessionHost_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "name": "sessionHost", + "description": "Object containing SessionHost definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/SessionHostPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated session host.", + "schema": { + "$ref": "#/definitions/SessionHost" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts": { + "get": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_List", + "description": "List sessionHosts.", + "x-ms-examples": { + "SessionHost_List": { + "$ref": "./examples/SessionHost_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved session hosts in host pool.", + "schema": { + "$ref": "#/definitions/SessionHostList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Get", + "description": "Get a userSession.", + "x-ms-examples": { + "UserSession_Get": { + "$ref": "./examples/UserSession_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user session.", + "schema": { + "$ref": "#/definitions/UserSession" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Delete", + "description": "Remove a userSession.", + "x-ms-examples": { + "UserSession_Delete": { + "$ref": "./examples/UserSession_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to login off userSession." + } + ], + "responses": { + "200": { + "description": "Successfully removed user session." + }, + "204": { + "description": "User session does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_List", + "description": "List userSessions.", + "x-ms-examples": { + "UserSession_List": { + "$ref": "./examples/UserSession_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user sessions in session host.", + "schema": { + "$ref": "#/definitions/UserSessionList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect": { + "post": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Disconnect", + "description": "Disconnect a userSession.", + "x-ms-examples": { + "UserSession_Disconnect_Post": { + "$ref": "./examples/UserSession_Disconnect_Post.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully disconnected user session." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage": { + "post": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_SendMessage", + "description": "Send a message to a user.", + "x-ms-examples": { + "UserSession_SendMessage_Post": { + "$ref": "./examples/UserSession_SendMessage_Post.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + }, + { + "name": "sendMessage", + "description": "Object containing message includes title and message body", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/SendMessage" + } + } + ], + "responses": { + "200": { + "description": "Successfully sent message to user session." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "CloudError": { + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + }, + "description": "Error response of an operation failure" + }, + "ResourceProviderOperationList": { + "description": "Result of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + } + } + }, + "ResourceProviderOperation": { + "description": "Supported operation of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Desktop Virtualization.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "Workspace": { + "type": "object", + "description": "Represents a Workspace definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for Workspace", + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspaceProperties" + } + } + }, + "WorkspaceProperties": { + "description": "Schema for Workspace properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "applicationGroupReferences": { + "type": "array", + "description": "List of applicationGroup resource Ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkspaceList": { + "type": "object", + "title": "WorkspaceList", + "description": "List of Workspace definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Workspace definitions.", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "WorkspacePatch": { + "type": "object", + "description": "Workspace properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Workspace", + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspacePatchProperties" + } + } + }, + "WorkspacePatchProperties": { + "description": "Workspace properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "applicationGroupReferences": { + "type": "array", + "description": "List of applicationGroup links.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGroup": { + "type": "object", + "description": "Represents a ApplicationGroup definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for ApplicationGroup", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGroupProperties" + } + } + }, + "ApplicationGroupProperties": { + "description": "Schema for ApplicationGroup properties.", + "type": "object", + "required": [ + "hostPoolArmPath", + "applicationGroupType" + ], + "properties": { + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + }, + "hostPoolArmPath": { + "type": "string", + "description": "HostPool arm path of ApplicationGroup.", + "x-nullable": false + }, + "workspaceArmPath": { + "type": "string", + "description": "Workspace arm path of ApplicationGroup.", + "readOnly": true + }, + "applicationGroupType": { + "enum": [ + "RemoteApp", + "Desktop" + ], + "x-ms-enum": { + "name": "ApplicationGroupType", + "modelAsString": true + }, + "type": "string", + "description": "Resource Type of ApplicationGroup.", + "x-nullable": false + } + } + }, + "ApplicationGroupPatch": { + "type": "object", + "description": "ApplicationGroup properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "ApplicationGroup properties that can be patched.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGroupPatchProperties" + } + } + }, + "ApplicationGroupPatchProperties": { + "description": "ApplicationGroup properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + } + } + }, + "ApplicationGroupList": { + "type": "object", + "title": "ApplicationGroupList", + "description": "List of ApplicationGroup definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of ApplicationGroup definitions.", + "items": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "HostPool": { + "type": "object", + "description": "Represents a HostPool definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for HostPool", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HostPoolProperties" + } + } + }, + "HostPoolProperties": { + "description": "Properties of HostPool.", + "type": "object", + "required": [ + "hostPoolType", + "loadBalancerType", + "preferredAppGroupType" + ], + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "hostPoolType": { + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "HostPoolType", + "modelAsString": true + }, + "type": "string", + "description": "HostPool type for desktop.", + "x-nullable": false + }, + "personalDesktopAssignmentType": { + "enum": [ + "Automatic", + "Direct" + ], + "x-ms-enum": { + "name": "PersonalDesktopAssignmentType", + "modelAsString": true + }, + "type": "string", + "description": "PersonalDesktopAssignment type for HostPool.", + "x-nullable": false + }, + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "maxSessionLimit": { + "type": "integer", + "description": "The max session limit of HostPool." + }, + "loadBalancerType": { + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + }, + "type": "string", + "description": "The type of the load balancer.", + "x-nullable": false + }, + "ring": { + "type": "integer", + "description": "The ring number of HostPool." + }, + "validationEnvironment": { + "type": "boolean", + "description": "Is validation environment." + }, + "registrationInfo": { + "$ref": "#/definitions/RegistrationInfo", + "description": "The registration info of HostPool." + }, + "vmTemplate": { + "type": "string", + "description": "VM template for sessionhosts configuration within hostpool." + }, + "applicationGroupReferences": { + "readOnly": true, + "type": "array", + "description": "List of applicationGroup links.", + "items": { + "type": "string" + } + }, + "ssoContext": { + "type": "string", + "description": "Path to keyvault containing ssoContext secret." + }, + "preferredAppGroupType": { + "enum": [ + "None", + "Desktop", + "RailApplications" + ], + "x-ms-enum": { + "name": "PreferredAppGroupType", + "modelAsString": true + }, + "type": "string", + "description": "The type of preferred application group type, default to Desktop Application Group", + "x-nullable": false + } + } + }, + "HostPoolPatch": { + "type": "object", + "description": "HostPool properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "HostPool properties that can be patched.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HostPoolPatchProperties" + } + } + }, + "HostPoolPatchProperties": { + "description": "Properties of HostPool.", + "type": "object", + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "maxSessionLimit": { + "type": "integer", + "description": "The max session limit of HostPool." + }, + "personalDesktopAssignmentType": { + "enum": [ + "Automatic", + "Direct" + ], + "x-ms-enum": { + "name": "PersonalDesktopAssignmentType", + "modelAsString": true + }, + "type": "string", + "description": "PersonalDesktopAssignment type for HostPool." + }, + "loadBalancerType": { + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + }, + "type": "string", + "description": "The type of the load balancer." + }, + "ring": { + "type": "integer", + "description": "The ring number of HostPool." + }, + "validationEnvironment": { + "type": "boolean", + "description": "Is validation environment." + }, + "registrationInfo": { + "$ref": "#/definitions/RegistrationInfoPatch", + "description": "The registration info of HostPool." + }, + "ssoContext": { + "type": "string", + "description": "Path to keyvault containing ssoContext secret." + }, + "preferredAppGroupType": { + "enum": [ + "None", + "Desktop", + "RailApplications" + ], + "x-ms-enum": { + "name": "PreferredAppGroupType", + "modelAsString": true + }, + "type": "string", + "description": "The type of preferred application group type, default to Desktop Application Group" + } + } + }, + "RegistrationInfo": { + "description": "Represents a RegistrationInfo definition.", + "type": "object", + "properties": { + "expirationTime": { + "format": "date-time", + "type": "string", + "description": "Expiration time of registration token." + }, + "token": { + "type": "string", + "description": "The registration token base64 encoded string." + }, + "registrationTokenOperation": { + "enum": [ + "Delete", + "None", + "Update" + ], + "x-ms-enum": { + "name": "RegistrationTokenOperation", + "modelAsString": true + }, + "type": "string", + "description": "The type of resetting the token.", + "x-nullable": false + } + } + }, + "RegistrationInfoPatch": { + "description": "Represents a RegistrationInfo definition.", + "type": "object", + "properties": { + "registrationTokenOperation": { + "enum": [ + "Delete", + "None", + "Update" + ], + "x-ms-enum": { + "name": "RegistrationTokenOperation", + "modelAsString": true + }, + "type": "string", + "description": "The type of resetting the token." + } + } + }, + "SendMessage": { + "description": "Represents message sent to a UserSession.", + "type": "object", + "properties": { + "messageTitle": { + "type": "string", + "description": "Title of message." + }, + "messageBody": { + "type": "string", + "description": "Body of message." + } + } + }, + "HostPoolList": { + "type": "object", + "title": "HostPoolList", + "description": "List of HostPool definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of HostPool definitions.", + "items": { + "$ref": "#/definitions/HostPool" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "Application": { + "description": "Schema for Application properties.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for Application", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationProperties" + } + } + }, + "ApplicationProperties": { + "description": "Schema for Application properties.", + "type": "object", + "required": [ + "commandLineSetting" + ], + "properties": { + "description": { + "type": "string", + "description": "Description of Application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "commandLineSetting": { + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ], + "x-ms-enum": { + "name": "CommandLineSetting", + "modelAsString": true + }, + "type": "string", + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", + "x-nullable": false + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "showInPortal": { + "type": "boolean", + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + }, + "iconHash": { + "readOnly": true, + "type": "string", + "description": "Hash of the icon." + }, + "iconContent": { + "readOnly": true, + "type": "string", + "format": "byte", + "description": "the icon a 64 bit string as a byte array." + } + } + }, + "ApplicationList": { + "type": "object", + "title": "ApplicationList", + "description": "List of Application definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Application definitions.", + "items": { + "$ref": "#/definitions/Application" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "ApplicationPatch": { + "type": "object", + "description": "Application properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Application", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationPatchProperties" + } + } + }, + "ApplicationPatchProperties": { + "description": "Application properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "commandLineSetting": { + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ], + "x-ms-enum": { + "name": "CommandLineSetting", + "modelAsString": true + }, + "type": "string", + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "showInPortal": { + "type": "boolean", + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + } + } + }, + "Desktop": { + "description": "Schema for Desktop properties.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for Desktop", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DesktopProperties" + } + } + }, + "DesktopProperties": { + "description": "Schema for Desktop properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Desktop." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Desktop." + }, + "iconHash": { + "readOnly": true, + "type": "string", + "description": "Hash of the icon." + }, + "iconContent": { + "readOnly": true, + "type": "string", + "format": "byte", + "description": "The icon a 64 bit string as a byte array." + } + } + }, + "DesktopList": { + "type": "object", + "title": "DesktopList", + "description": "List of Desktop definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Desktop definitions.", + "items": { + "$ref": "#/definitions/Desktop" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "DesktopPatch": { + "type": "object", + "description": "Desktop properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Desktop", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DesktopPatchProperties" + } + } + }, + "DesktopPatchProperties": { + "description": "Desktop properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Desktop." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Desktop." + } + } + }, + "StartMenuItemProperties": { + "description": "Schema for StartMenuItem properties.", + "type": "object", + "properties": { + "appAlias": { + "type": "string", + "description": "Alias of StartMenuItem." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of StartMenuItem." + }, + "filePath": { + "type": "string", + "description": "Path to the file of StartMenuItem." + }, + "commandLineArguments": { + "type": "string", + "description": "Command line arguments for StartMenuItem." + }, + "iconPath": { + "type": "string", + "description": "Path to the icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + } + } + }, + "StartMenuItem": { + "type": "object", + "description": "Represents a StartMenuItem definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for StartMenuItem", + "x-ms-client-flatten": true, + "$ref": "#/definitions/StartMenuItemProperties" + } + } + }, + "StartMenuItemList": { + "type": "object", + "title": "StartMenuItemList", + "description": "List of StartMenuItem definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of StartMenuItem definitions.", + "items": { + "$ref": "#/definitions/StartMenuItem" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "SessionHost": { + "type": "object", + "description": "Represents a SessionHost definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for SessionHost", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SessionHostProperties" + } + } + }, + "SessionHostProperties": { + "description": "Schema for SessionHost properties.", + "type": "object", + "properties": { + "lastHeartBeat": { + "format": "date-time", + "type": "string", + "description": "Last heart beat from SessionHost." + }, + "sessions": { + "type": "integer", + "description": "Number of sessions on SessionHost." + }, + "agentVersion": { + "type": "string", + "description": "Version of agent on SessionHost." + }, + "allowNewSession": { + "type": "boolean", + "description": "Allow a new session." + }, + "virtualMachineId": { + "type": "string", + "description": "Virtual Machine Id of SessionHost's underlying virtual machine.", + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "Resource Id of SessionHost's underlying virtual machine.", + "readOnly": true + }, + "assignedUser": { + "type": "string", + "description": "User assigned to SessionHost." + }, + "status": { + "enum": [ + "Available", + "Unavailable", + "Shutdown", + "Disconnected", + "Upgrading", + "UpgradeFailed" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + }, + "type": "string", + "description": "Status for a SessionHost." + }, + "statusTimestamp": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the status.", + "readOnly": true + }, + "osVersion": { + "type": "string", + "description": "The version of the OS on the session host." + }, + "sxSStackVersion": { + "type": "string", + "description": "The version of the side by side stack on the session host." + }, + "updateState": { + "enum": [ + "Initial", + "Pending", + "Started", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "UpdateState", + "modelAsString": true + }, + "type": "string", + "description": "Update state of a SessionHost." + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the last update.", + "readOnly": true + }, + "updateErrorMessage": { + "type": "string", + "description": "The error message." + } + } + }, + "SessionHostPatch": { + "type": "object", + "description": "SessionHost properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for SessionHost", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SessionHostPatchProperties" + } + } + }, + "SessionHostPatchProperties": { + "description": "SessionHost properties that can be patched.", + "type": "object", + "properties": { + "allowNewSession": { + "type": "boolean", + "description": "Allow a new session." + }, + "assignedUser": { + "type": "string", + "description": "User assigned to SessionHost." + } + } + }, + "SessionHostList": { + "type": "object", + "title": "SessionHostList", + "description": "List of SessionHost definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of SessionHost definitions.", + "items": { + "$ref": "#/definitions/SessionHost" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "UserSession": { + "type": "object", + "description": "Represents a UserSession definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for UserSession", + "x-ms-client-flatten": true, + "$ref": "#/definitions/UserSessionProperties" + } + } + }, + "UserSessionProperties": { + "description": "Schema for UserSession properties.", + "type": "object", + "properties": { + "userPrincipalName": { + "type": "string", + "description": "The user principal name." + }, + "applicationType": { + "enum": [ + "RemoteApp", + "Desktop" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true + }, + "type": "string", + "description": "Application type of application." + }, + "sessionState": { + "enum": [ + "Unknown", + "Active", + "Disconnected", + "Pending", + "LogOff", + "UserProfileDiskMounted" + ], + "x-ms-enum": { + "name": "SessionState", + "modelAsString": true + }, + "type": "string", + "description": "State of user session." + }, + "activeDirectoryUserName": { + "type": "string", + "description": "The active directory user name." + }, + "createTime": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the user session create." + } + } + }, + "UserSessionList": { + "type": "object", + "title": "UserSessionList", + "description": "List of UserSession definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of UserSession definitions.", + "items": { + "$ref": "#/definitions/UserSession" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + } + }, + "parameters": { + "HostPoolNameParameter": { + "name": "hostPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the host pool within the specified resource group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ApplicationGroupNameParameter": { + "name": "applicationGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ApplicationNameParameter": { + "name": "applicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application within the specified application group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "DesktopNameParameter": { + "name": "desktopName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the desktop within the specified desktop group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the workspace", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "SessionHostNameParameter": { + "name": "sessionHostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the session host within the specified host pool", + "maxLength": 48, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "UserSessionIdParameter": { + "name": "userSessionId", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the user session within the specified session host", + "maxLength": 24, + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "StartMenuItemNameParameter": { + "name": "startMenuItemName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the start menu item within the specified host pool", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Create.json index 160d165ed001..b25c3f201e10 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Create.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview", - "applicationGroup": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "applicationGroupType": "RemoteApp" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - }, - "201": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview", + "applicationGroup": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "applicationGroupType": "RemoteApp" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + }, + "201": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Delete.json index dc4c6d73650d..ae49e933b9d5 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Delete.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Get.json index 7afb8906e640..596b7b0e59ef 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Get.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_ListByResourceGroup.json index 838a52751007..a100cb01f057 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_ListByResourceGroup.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_ListByResourceGroup.json @@ -1,50 +1,50 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "api-version": "2019-09-24-preview", - "$filter": "applicationGroupType eq 'RailApplication'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - }, - { - "name": "applicationGroup2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "api-version": "2019-09-24-preview", + "$filter": "applicationGroupType eq 'RailApplication'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + }, + { + "name": "applicationGroup2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Update.json index 82ad3c164a2f..885118119d93 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/ApplicationGroup_Update.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview", - "applicationGroup": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview", + "applicationGroup": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Create.json index 2094f71a0da0..81c8546c3040 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Create.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-09-24-preview", - "application": { - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - }, - "201": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-09-24-preview", + "application": { + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + }, + "201": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Delete.json index abb87bc9f1ba..657302f2d7fc 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Delete.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Get.json index 1fb18dc17d56..a6351fbcf9c4 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Get.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_List.json index 1b20415656af..d29a51e4b8d2 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_List.json @@ -1,50 +1,50 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - }, - { - "name": "applicationGroup1/application2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des2", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + }, + { + "name": "applicationGroup1/application2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des2", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Update.json index dede8e927257..bb7d8a2416b8 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Application_Update.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-09-24-preview", - "application": { - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-09-24-preview", + "application": { + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Get.json index 2719e939cce1..6f338696d815 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Get.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "desktopName": "SessionDesktop", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/SessionDesktop", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", - "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "desktopName": "SessionDesktop", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/SessionDesktop", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", + "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_List.json index 2b21a09458db..ed534bbd0a28 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_List.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1/SessionDesktop", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", - "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1/SessionDesktop", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", + "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Update.json index 30c010a1abeb..f20c28af8d7c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Desktop_Update.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "desktopName": "SessionDesktop", - "api-version": "2019-09-24-preview", - "desktop": { - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/SessionDesktop", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop", - "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "desktopName": "SessionDesktop", + "api-version": "2019-09-24-preview", + "desktop": { + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/SessionDesktop", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop", + "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Create.json index 269f61ac668d..a02c6dce9e30 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Create.json @@ -1,92 +1,92 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-09-24-preview", - "hostPool": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - }, - "201": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-09-24-preview", + "hostPool": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + }, + "201": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Delete.json index c5241c91d1f4..6ba5b47fbac8 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Delete.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-09-24-preview", - "force": true - }, - "responses": { - "200": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-09-24-preview", + "force": true + }, + "responses": { + "200": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Get.json index 6e71147a4055..527a29aa0313 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Get.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_List.json index d19d95f0785c..14d2ac43ee76 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_List.json @@ -1,70 +1,70 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - }, - { - "name": "hostPool2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + }, + { + "name": "hostPool2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_ListByResourceGroup.json index 3aa6110aa76f..ac148a60c444 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_ListByResourceGroup.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_ListByResourceGroup.json @@ -1,71 +1,71 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - }, - { - "name": "hostPool2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + }, + { + "name": "hostPool2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Update.json index d13bcaee2943..542fba444f44 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/HostPool_Update.json @@ -1,58 +1,58 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-09-24-preview", - "hostPool": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "personalDesktopAssignmentType": "Automatic", - "registrationInfo": { - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath" - } - } - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostPools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Shared", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-09-24-preview", + "hostPool": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "personalDesktopAssignmentType": "Automatic", + "registrationInfo": { + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath" + } + } + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostPools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Shared", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/OperationDescription_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/OperationDescription_List.json index 4ef6c3629a41..2c87491a4ff3 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/OperationDescription_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/OperationDescription_List.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.DesktopVirtualization/ssocontext/read", - "display": { - "provider": "Microsoft.DesktopVirtualization", - "resource": "ssocontext" - } - }, - { - "name": "Microsoft.DesktopVirtualization/ssocontext/write", - "display": { - "provider": "Microsoft.DesktopVirtualization", - "resource": "ssocontext" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DesktopVirtualization/ssocontext/read", + "display": { + "provider": "Microsoft.DesktopVirtualization", + "resource": "ssocontext" + } + }, + { + "name": "Microsoft.DesktopVirtualization/ssocontext/write", + "display": { + "provider": "Microsoft.DesktopVirtualization", + "resource": "ssocontext" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Delete.json index 9a8b84e064d4..11fd9ae2d5c8 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Delete.json @@ -1,34 +1,34 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-09-24-preview", - "force": true - }, - "responses": { - "200": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-09-24-preview", + "force": true + }, + "responses": { + "200": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Get.json index 4ebf983e1b15..e40bf736ef29 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Get.json @@ -1,34 +1,34 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_List.json index 45f5784ec15c..8080e4264578 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_List.json @@ -1,58 +1,58 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - }, - { - "name": "sessionHost2.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user2@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + }, + { + "name": "sessionHost2.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user2@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Update.json index 42a06c3969a6..7c87d13ff58e 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/SessionHost_Update.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-09-24-preview", - "sessionHost": { - "properties": { - "allowNewSession": true, - "assignedUser": "user1@microsoft.com" - } - } - }, - "responses": { - "200": { - "body": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2019-01-11T19:27:13.6108027Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2019-01-24T20:00:08.2893033Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-09-24-preview", + "sessionHost": { + "properties": { + "allowNewSession": true, + "assignedUser": "user1@microsoft.com" + } + } + }, + "responses": { + "200": { + "body": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2019-01-11T19:27:13.6108027Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2019-01-24T20:00:08.2893033Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/StartMenuItem_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/StartMenuItem_List.json index d6b527527568..56b2c0d44ecb 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/StartMenuItem_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/StartMenuItem_List.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", - "properties": { - "appAlias": "word", - "friendlyName": "friendly", - "filePath": "/path/to/file", - "commandLineArguments": "arguments", - "iconPath": "/path/to/icon", - "iconIndex": 1 - } - }, - { - "name": "application2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2", - "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", - "properties": { - "appAlias": "excel", - "friendlyName": "friendly", - "filePath": "/path/to/file", - "commandLineArguments": "arguments", - "iconPath": "/path/to/icon", - "iconIndex": 1 - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", + "properties": { + "appAlias": "word", + "friendlyName": "friendly", + "filePath": "/path/to/file", + "commandLineArguments": "arguments", + "iconPath": "/path/to/icon", + "iconIndex": 1 + } + }, + { + "name": "application2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2", + "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", + "properties": { + "appAlias": "excel", + "friendlyName": "friendly", + "filePath": "/path/to/file", + "commandLineArguments": "arguments", + "iconPath": "/path/to/icon", + "iconIndex": 1 + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Delete.json index 3011afc4e0cf..2d0eb21bbbe2 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Delete.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-09-24-preview", - "force": true - }, - "responses": { - "200": { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-09-24-preview", + "force": true + }, + "responses": { + "200": { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Disconnect_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Disconnect_Post.json index e20ff3b8a3f3..46da447c9c30 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Disconnect_Post.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Disconnect_Post.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Get.json index 63830ee6ed1c..98b9092dc0ef 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_Get.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_List.json index a99ae4daf9ce..dae48683f572 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_List.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - }, - { - "name": "2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + }, + { + "name": "2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_SendMessage_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_SendMessage_Post.json index 5249b6aed3aa..5a08be5a2bfe 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_SendMessage_Post.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/UserSession_SendMessage_Post.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-09-24-preview", - "sendMessage": { - "messageTitle": "title", - "messageBody": "body" - } - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-09-24-preview", + "sendMessage": { + "messageTitle": "title", + "messageBody": "body" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Create.json index 3aafb846a207..655fc336413f 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Create.json @@ -1,53 +1,53 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-09-24-preview", - "workspace": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "201": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-09-24-preview", + "workspace": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "201": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Delete.json index 8860d04f7780..b44d9d84506d 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Delete.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Get.json index 0f56eed4ba01..33e19873fc84 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Get.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_ListByResourceGroup.json index 076d2b1f8c51..52b52f69a47c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_ListByResourceGroup.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_ListByResourceGroup.json @@ -1,43 +1,43 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "api-version": "2019-09-24-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - }, - { - "name": "workspace2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "api-version": "2019-09-24-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + }, + { + "name": "workspace2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Update.json index a9076582e165..1f8b722f0c87 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-09-24-preview/examples/Workspace_Update.json @@ -1,36 +1,36 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-09-24-preview", - "workspace": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-09-24-preview", + "workspace": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/desktopvirtualization.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/desktopvirtualization.json index 08655276ef04..c304375fc6a4 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/desktopvirtualization.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/desktopvirtualization.json @@ -1,3032 +1,3032 @@ -{ - "swagger": "2.0", - "info": { - "version": "2019-12-10-preview", - "title": "Desktop Virtualization API Client" - }, - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "host": "management.azure.com", - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.DesktopVirtualization/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "List all of the available operations the Desktop Virtualization resource provider supports.", - "x-ms-examples": { - "OperationDescription_List": { - "$ref": "./examples/OperationDescription_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved operations.", - "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Get", - "description": "Get a workspace.", - "x-ms-examples": { - "Workspace_Get": { - "$ref": "./examples/Workspace_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_CreateOrUpdate", - "description": "Create or update a workspace.", - "x-ms-examples": { - "Workspace_Create": { - "$ref": "./examples/Workspace_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "workspace", - "description": "Object containing Workspace definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Workspace" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "201": { - "description": "Successfully created workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Delete", - "description": "Remove a workspace.", - "x-ms-examples": { - "Workspace_Delete": { - "$ref": "./examples/Workspace_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted workspace." - }, - "204": { - "description": "Workspace does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_Update", - "description": "Update a workspace.", - "x-ms-examples": { - "Workspace_Update": { - "$ref": "./examples/Workspace_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "workspace", - "description": "Object containing Workspace definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/WorkspacePatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated workspace.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_ListByResourceGroup", - "description": "List workspaces.", - "x-ms-examples": { - "Workspace_ListByResourceGroup": { - "$ref": "./examples/Workspace_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspaces in resource group.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces": { - "get": { - "tags": [ - "Workspace" - ], - "operationId": "Workspaces_ListBySubscription", - "description": "List workspaces in subscription.", - "x-ms-examples": { - "Workspace_ListBySubscription": { - "$ref": "./examples/Workspace_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspaces in subscription.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Get", - "description": "Get an application group.", - "x-ms-examples": { - "ApplicationGroup_Get": { - "$ref": "./examples/ApplicationGroup_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_CreateOrUpdate", - "description": "Create or update an applicationGroup.", - "x-ms-examples": { - "ApplicationGroup_Create": { - "$ref": "./examples/ApplicationGroup_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "name": "applicationGroup", - "description": "Object containing ApplicationGroup definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "201": { - "description": "Successfully created application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Delete", - "description": "Remove an applicationGroup.", - "x-ms-examples": { - "ApplicationGroup_Delete": { - "$ref": "./examples/ApplicationGroup_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully removed application group." - }, - "204": { - "description": "Application group does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_Update", - "description": "Update an applicationGroup.", - "x-ms-examples": { - "ApplicationGroups_Update": { - "$ref": "./examples/ApplicationGroup_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "name": "applicationGroup", - "description": "Object containing ApplicationGroup definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationGroupPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application group.", - "schema": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_ListByResourceGroup", - "description": "List applicationGroups.", - "x-ms-examples": { - "ApplicationGroup_ListByResourceGroup": { - "$ref": "./examples/ApplicationGroup_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are applicationGroupType." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application groups in resource group.", - "schema": { - "$ref": "#/definitions/ApplicationGroupList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroups_ListBySubscription", - "description": "List applicationGroups in subscription.", - "x-ms-examples": { - "ApplicationGroup_List": { - "$ref": "./examples/ApplicationGroup_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are applicationGroupType." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application groups in subscription.", - "schema": { - "$ref": "#/definitions/ApplicationGroupList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems": { - "get": { - "tags": [ - "StartMenuItem" - ], - "operationId": "StartMenuItems_List", - "description": "List start menu items in the given application group.", - "x-ms-examples": { - "StartMenuItem_List": { - "$ref": "./examples/StartMenuItem_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved start menu items in application group.", - "schema": { - "$ref": "#/definitions/StartMenuItemList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Applications_Get", - "description": "Get an application.", - "x-ms-examples": { - "Application_Get": { - "$ref": "./examples/Application_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Application" - ], - "operationId": "Applications_CreateOrUpdate", - "description": "Create or update an application.", - "x-ms-examples": { - "Application_Create": { - "$ref": "./examples/Application_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "application", - "description": "Object containing Application definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Application" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "201": { - "description": "Successfully created application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Application" - ], - "operationId": "Applications_Delete", - "description": "Remove an application.", - "x-ms-examples": { - "Application_Delete": { - "$ref": "./examples/Application_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully removed application." - }, - "204": { - "description": "Application does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Application" - ], - "operationId": "Applications_Update", - "description": "Update an application.", - "x-ms-examples": { - "Application_Update": { - "$ref": "./examples/Application_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "application", - "description": "Object containing Application definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated application.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Applications_List", - "description": "List applications.", - "x-ms-examples": { - "Applications_List": { - "$ref": "./examples/Application_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved applications in application group.", - "schema": { - "$ref": "#/definitions/ApplicationList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}": { - "get": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_Get", - "description": "Get a desktop.", - "x-ms-examples": { - "Desktop_Get": { - "$ref": "./examples/Desktop_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/DesktopNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved desktop.", - "schema": { - "$ref": "#/definitions/Desktop" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_Update", - "description": "Update a desktop.", - "x-ms-examples": { - "Desktop_Update": { - "$ref": "./examples/Desktop_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - }, - { - "$ref": "#/parameters/DesktopNameParameter" - }, - { - "name": "desktop", - "description": "Object containing Desktop definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/DesktopPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated desktop.", - "schema": { - "$ref": "#/definitions/Desktop" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops": { - "get": { - "tags": [ - "Desktop" - ], - "operationId": "Desktops_List", - "description": "List desktops.", - "x-ms-examples": { - "Desktop_List": { - "$ref": "./examples/Desktop_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApplicationGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved desktops in application group.", - "schema": { - "$ref": "#/definitions/DesktopList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Get", - "description": "Get a host pool.", - "x-ms-examples": { - "HostPool_Get": { - "$ref": "./examples/HostPool_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_CreateOrUpdate", - "description": "Create or update a host pool.", - "x-ms-examples": { - "HostPool_Create": { - "$ref": "./examples/HostPool_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "hostPool", - "description": "Object containing HostPool definitions.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/HostPool" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "201": { - "description": "Successfully created host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Delete", - "description": "Remove a host pool.", - "x-ms-examples": { - "HostPool_Delete": { - "$ref": "./examples/HostPool_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to delete sessionHost." - } - ], - "responses": { - "200": { - "description": "Successfully removed host pool." - }, - "204": { - "description": "Host pool does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_Update", - "description": "Update a host pool.", - "x-ms-examples": { - "HostPool_Update": { - "$ref": "./examples/HostPool_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "hostPool", - "description": "Object containing HostPool definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/HostPoolPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated host pool.", - "schema": { - "$ref": "#/definitions/HostPool" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_ListByResourceGroup", - "description": "List hostPools.", - "x-ms-examples": { - "HostPool_ListByResourceGroup": { - "$ref": "./examples/HostPool_ListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool in resource group.", - "schema": { - "$ref": "#/definitions/HostPoolList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools": { - "get": { - "tags": [ - "HostPool" - ], - "operationId": "HostPools_List", - "description": "List hostPools in subscription.", - "x-ms-examples": { - "HostPool_List": { - "$ref": "./examples/HostPool_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved host pool in subscription.", - "schema": { - "$ref": "#/definitions/HostPoolList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_ListByHostPool", - "description": "List userSessions.", - "x-ms-examples": { - "UserSession_ListByHostPool": { - "$ref": "./examples/UserSession_ListByHostPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are userprincipalname and sessionstate." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user sessions in host pool.", - "schema": { - "$ref": "#/definitions/UserSessionList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}": { - "get": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Get", - "description": "Get a session host.", - "x-ms-examples": { - "SessionHost_Get": { - "$ref": "./examples/SessionHost_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved session host.", - "schema": { - "$ref": "#/definitions/SessionHost" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Delete", - "description": "Remove a SessionHost.", - "x-ms-examples": { - "SessionHost_Delete": { - "$ref": "./examples/SessionHost_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to force sessionHost deletion even when userSession exists." - } - ], - "responses": { - "200": { - "description": "Successfully removed session host." - }, - "204": { - "description": "Session host does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_Update", - "description": "Update a session host.", - "x-ms-examples": { - "SessionHost_Update": { - "$ref": "./examples/SessionHost_Update.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "name": "sessionHost", - "description": "Object containing SessionHost definitions.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/SessionHostPatch" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated session host.", - "schema": { - "$ref": "#/definitions/SessionHost" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts": { - "get": { - "tags": [ - "SessionHost" - ], - "operationId": "SessionHosts_List", - "description": "List sessionHosts.", - "x-ms-examples": { - "SessionHost_List": { - "$ref": "./examples/SessionHost_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved session hosts in host pool.", - "schema": { - "$ref": "#/definitions/SessionHostList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Get", - "description": "Get a userSession.", - "x-ms-examples": { - "UserSession_Get": { - "$ref": "./examples/UserSession_Get.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user session.", - "schema": { - "$ref": "#/definitions/UserSession" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Delete", - "description": "Remove a userSession.", - "x-ms-examples": { - "UserSession_Delete": { - "$ref": "./examples/UserSession_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - }, - { - "name": "force", - "in": "query", - "required": false, - "type": "boolean", - "description": "Force flag to login off userSession." - } - ], - "responses": { - "200": { - "description": "Successfully removed user session." - }, - "204": { - "description": "User session does not exist." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions": { - "get": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_List", - "description": "List userSessions.", - "x-ms-examples": { - "UserSession_List": { - "$ref": "./examples/UserSession_List.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved user sessions in session host.", - "schema": { - "$ref": "#/definitions/UserSessionList" - } - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect": { - "post": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_Disconnect", - "description": "Disconnect a userSession.", - "x-ms-examples": { - "UserSession_Disconnect_Post": { - "$ref": "./examples/UserSession_Disconnect_Post.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully disconnected user session." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage": { - "post": { - "tags": [ - "UserSession" - ], - "operationId": "UserSessions_SendMessage", - "description": "Send a message to a user.", - "x-ms-examples": { - "UserSession_SendMessage_Post": { - "$ref": "./examples/UserSession_SendMessage_Post.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HostPoolNameParameter" - }, - { - "$ref": "#/parameters/SessionHostNameParameter" - }, - { - "$ref": "#/parameters/UserSessionIdParameter" - }, - { - "name": "sendMessage", - "description": "Object containing message includes title and message body", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/SendMessage" - } - } - ], - "responses": { - "200": { - "description": "Successfully sent message to user session." - }, - "default": { - "description": "Automation error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "CloudError": { - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - }, - "description": "Error response of an operation failure" - }, - "ResourceProviderOperationList": { - "description": "Result of the request to list operations.", - "readOnly": true, - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderOperation" - }, - "description": "List of operations supported by this resource provider." - } - } - }, - "ResourceProviderOperation": { - "description": "Supported operation of this resource provider.", - "readOnly": true, - "properties": { - "name": { - "description": "Operation name, in format of {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "Display metadata associated with the operation.", - "properties": { - "provider": { - "description": "Resource provider: Microsoft Desktop Virtualization.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "Type of operation: get, read, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of this operation.", - "type": "string" - } - } - } - } - }, - "Workspace": { - "type": "object", - "description": "Represents a Workspace definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for Workspace", - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkspaceProperties" - } - } - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "applicationGroupReferences": { - "type": "array", - "description": "List of applicationGroup resource Ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkspaceList": { - "type": "object", - "title": "WorkspaceList", - "description": "List of Workspace definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Workspace definitions.", - "items": { - "$ref": "#/definitions/Workspace" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "WorkspacePatch": { - "type": "object", - "description": "Workspace properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Workspace", - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkspacePatchProperties" - } - } - }, - "WorkspacePatchProperties": { - "description": "Workspace properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "applicationGroupReferences": { - "type": "array", - "description": "List of applicationGroup links.", - "items": { - "type": "string" - } - } - } - }, - "ApplicationGroup": { - "type": "object", - "description": "Represents a ApplicationGroup definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for ApplicationGroup", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationGroupProperties", - "x-nullable": false - } - } - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "type": "object", - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "properties": { - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup.", - "x-nullable": false - }, - "workspaceArmPath": { - "type": "string", - "description": "Workspace arm path of ApplicationGroup.", - "readOnly": true - }, - "applicationGroupType": { - "enum": [ - "RemoteApp", - "Desktop" - ], - "x-ms-enum": { - "name": "ApplicationGroupType", - "modelAsString": true - }, - "type": "string", - "description": "Resource Type of ApplicationGroup.", - "x-nullable": false - } - } - }, - "ApplicationGroupPatch": { - "type": "object", - "description": "ApplicationGroup properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "tags to be updated" - }, - "properties": { - "description": "ApplicationGroup properties that can be patched.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationGroupPatchProperties" - } - } - }, - "ApplicationGroupPatchProperties": { - "description": "ApplicationGroup properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - } - } - }, - "ApplicationGroupList": { - "type": "object", - "title": "ApplicationGroupList", - "description": "List of ApplicationGroup definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of ApplicationGroup definitions.", - "items": { - "$ref": "#/definitions/ApplicationGroup" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "HostPool": { - "type": "object", - "description": "Represents a HostPool definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for HostPool", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HostPoolProperties", - "x-nullable": false - } - } - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "type": "object", - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "hostPoolType": { - "enum": [ - "Personal", - "Pooled" - ], - "x-ms-enum": { - "name": "HostPoolType", - "modelAsString": true - }, - "type": "string", - "description": "HostPool type for desktop.", - "x-nullable": false - }, - "personalDesktopAssignmentType": { - "enum": [ - "Automatic", - "Direct" - ], - "x-ms-enum": { - "name": "PersonalDesktopAssignmentType", - "modelAsString": true - }, - "type": "string", - "description": "PersonalDesktopAssignment type for HostPool.", - "x-nullable": false - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "maxSessionLimit": { - "type": "integer", - "description": "The max session limit of HostPool." - }, - "loadBalancerType": { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - }, - "type": "string", - "description": "The type of the load balancer.", - "x-nullable": false - }, - "ring": { - "type": "integer", - "description": "The ring number of HostPool." - }, - "validationEnvironment": { - "type": "boolean", - "description": "Is validation environment." - }, - "registrationInfo": { - "$ref": "#/definitions/RegistrationInfo", - "description": "The registration info of HostPool." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - }, - "applicationGroupReferences": { - "readOnly": true, - "type": "array", - "description": "List of applicationGroup links.", - "items": { - "type": "string" - } - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "preferredAppGroupType": { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "x-ms-enum": { - "name": "PreferredAppGroupType", - "modelAsString": true - }, - "type": "string", - "description": "The type of preferred application group type, default to Desktop Application Group", - "x-nullable": false - } - } - }, - "HostPoolPatch": { - "type": "object", - "description": "HostPool properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "tags to be updated" - }, - "properties": { - "description": "HostPool properties that can be patched.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HostPoolPatchProperties" - } - } - }, - "HostPoolPatchProperties": { - "description": "Properties of HostPool.", - "type": "object", - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "maxSessionLimit": { - "type": "integer", - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "enum": [ - "Automatic", - "Direct" - ], - "x-ms-enum": { - "name": "PersonalDesktopAssignmentType", - "modelAsString": true - }, - "type": "string", - "description": "PersonalDesktopAssignment type for HostPool." - }, - "loadBalancerType": { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - }, - "type": "string", - "description": "The type of the load balancer." - }, - "ring": { - "type": "integer", - "description": "The ring number of HostPool." - }, - "validationEnvironment": { - "type": "boolean", - "description": "Is validation environment." - }, - "registrationInfo": { - "$ref": "#/definitions/RegistrationInfoPatch", - "description": "The registration info of HostPool." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "preferredAppGroupType": { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "x-ms-enum": { - "name": "PreferredAppGroupType", - "modelAsString": true - }, - "type": "string", - "description": "The type of preferred application group type, default to Desktop Application Group" - } - } - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "type": "object", - "properties": { - "expirationTime": { - "format": "date-time", - "type": "string", - "description": "Expiration time of registration token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - }, - "registrationTokenOperation": { - "enum": [ - "Delete", - "None", - "Update" - ], - "x-ms-enum": { - "name": "RegistrationTokenOperation", - "modelAsString": true - }, - "type": "string", - "description": "The type of resetting the token.", - "x-nullable": false - } - } - }, - "RegistrationInfoPatch": { - "description": "Represents a RegistrationInfo definition.", - "type": "object", - "properties": { - "expirationTime": { - "format": "date-time", - "type": "string", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "enum": [ - "Delete", - "None", - "Update" - ], - "x-ms-enum": { - "name": "RegistrationTokenOperation", - "modelAsString": true - }, - "type": "string", - "description": "The type of resetting the token." - } - } - }, - "SendMessage": { - "description": "Represents message sent to a UserSession.", - "type": "object", - "properties": { - "messageTitle": { - "type": "string", - "description": "Title of message." - }, - "messageBody": { - "type": "string", - "description": "Body of message." - } - } - }, - "HostPoolList": { - "type": "object", - "title": "HostPoolList", - "description": "List of HostPool definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of HostPool definitions.", - "items": { - "$ref": "#/definitions/HostPool" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "Application": { - "description": "Schema for Application properties.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Detailed properties for Application", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationProperties", - "x-nullable": false - } - } - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "type": "object", - "required": [ - "commandLineSetting" - ], - "properties": { - "description": { - "type": "string", - "description": "Description of Application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "commandLineSetting": { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "x-ms-enum": { - "name": "CommandLineSetting", - "modelAsString": true - }, - "type": "string", - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "x-nullable": false - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "showInPortal": { - "type": "boolean", - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - }, - "iconHash": { - "readOnly": true, - "type": "string", - "description": "Hash of the icon." - }, - "iconContent": { - "readOnly": true, - "type": "string", - "format": "byte", - "description": "the icon a 64 bit string as a byte array." - } - } - }, - "ApplicationList": { - "type": "object", - "title": "ApplicationList", - "description": "List of Application definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Application definitions.", - "items": { - "$ref": "#/definitions/Application" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "ApplicationPatch": { - "type": "object", - "description": "Application properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Application", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationPatchProperties" - } - } - }, - "ApplicationPatchProperties": { - "description": "Application properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "commandLineSetting": { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "x-ms-enum": { - "name": "CommandLineSetting", - "modelAsString": true - }, - "type": "string", - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "showInPortal": { - "type": "boolean", - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - } - } - }, - "Desktop": { - "description": "Schema for Desktop properties.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for Desktop", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DesktopProperties" - } - } - }, - "DesktopProperties": { - "description": "Schema for Desktop properties.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Desktop." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Desktop." - }, - "iconHash": { - "readOnly": true, - "type": "string", - "description": "Hash of the icon." - }, - "iconContent": { - "readOnly": true, - "type": "string", - "format": "byte", - "description": "The icon a 64 bit string as a byte array." - } - } - }, - "DesktopList": { - "type": "object", - "title": "DesktopList", - "description": "List of Desktop definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of Desktop definitions.", - "items": { - "$ref": "#/definitions/Desktop" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "DesktopPatch": { - "type": "object", - "description": "Desktop properties that can be patched.", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "tags to be updated" - }, - "properties": { - "description": "Detailed properties for Desktop", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DesktopPatchProperties" - } - } - }, - "DesktopPatchProperties": { - "description": "Desktop properties that can be patched.", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of Desktop." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Desktop." - } - } - }, - "StartMenuItemProperties": { - "description": "Schema for StartMenuItem properties.", - "type": "object", - "properties": { - "appAlias": { - "type": "string", - "description": "Alias of StartMenuItem." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of StartMenuItem." - }, - "filePath": { - "type": "string", - "description": "Path to the file of StartMenuItem." - }, - "commandLineArguments": { - "type": "string", - "description": "Command line arguments for StartMenuItem." - }, - "iconPath": { - "type": "string", - "description": "Path to the icon." - }, - "iconIndex": { - "type": "integer", - "description": "Index of the icon." - } - } - }, - "StartMenuItem": { - "type": "object", - "description": "Represents a StartMenuItem definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for StartMenuItem", - "x-ms-client-flatten": true, - "$ref": "#/definitions/StartMenuItemProperties" - } - } - }, - "StartMenuItemList": { - "type": "object", - "title": "StartMenuItemList", - "description": "List of StartMenuItem definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of StartMenuItem definitions.", - "items": { - "$ref": "#/definitions/StartMenuItem" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "SessionHost": { - "type": "object", - "description": "Represents a SessionHost definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for SessionHost", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SessionHostProperties" - } - } - }, - "SessionHostProperties": { - "description": "Schema for SessionHost properties.", - "type": "object", - "properties": { - "lastHeartBeat": { - "format": "date-time", - "type": "string", - "description": "Last heart beat from SessionHost." - }, - "sessions": { - "type": "integer", - "description": "Number of sessions on SessionHost." - }, - "agentVersion": { - "type": "string", - "description": "Version of agent on SessionHost." - }, - "allowNewSession": { - "type": "boolean", - "description": "Allow a new session." - }, - "virtualMachineId": { - "type": "string", - "description": "Virtual Machine Id of SessionHost's underlying virtual machine.", - "readOnly": true - }, - "resourceId": { - "type": "string", - "description": "Resource Id of SessionHost's underlying virtual machine.", - "readOnly": true - }, - "assignedUser": { - "type": "string", - "description": "User assigned to SessionHost." - }, - "status": { - "enum": [ - "Available", - "Unavailable", - "Shutdown", - "Disconnected", - "Upgrading", - "UpgradeFailed" - ], - "x-ms-enum": { - "name": "Status", - "modelAsString": true - }, - "type": "string", - "description": "Status for a SessionHost." - }, - "statusTimestamp": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the status.", - "readOnly": true - }, - "osVersion": { - "type": "string", - "description": "The version of the OS on the session host." - }, - "sxSStackVersion": { - "type": "string", - "description": "The version of the side by side stack on the session host." - }, - "updateState": { - "enum": [ - "Initial", - "Pending", - "Started", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "UpdateState", - "modelAsString": true - }, - "type": "string", - "description": "Update state of a SessionHost." - }, - "lastUpdateTime": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the last update.", - "readOnly": true - }, - "updateErrorMessage": { - "type": "string", - "description": "The error message." - } - } - }, - "SessionHostPatch": { - "type": "object", - "description": "SessionHost properties that can be patched.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for SessionHost", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SessionHostPatchProperties" - } - } - }, - "SessionHostPatchProperties": { - "description": "SessionHost properties that can be patched.", - "type": "object", - "properties": { - "allowNewSession": { - "type": "boolean", - "description": "Allow a new session." - }, - "assignedUser": { - "type": "string", - "description": "User assigned to SessionHost." - } - } - }, - "SessionHostList": { - "type": "object", - "title": "SessionHostList", - "description": "List of SessionHost definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of SessionHost definitions.", - "items": { - "$ref": "#/definitions/SessionHost" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - }, - "UserSession": { - "type": "object", - "description": "Represents a UserSession definition.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Detailed properties for UserSession", - "x-ms-client-flatten": true, - "$ref": "#/definitions/UserSessionProperties" - } - } - }, - "UserSessionProperties": { - "description": "Schema for UserSession properties.", - "type": "object", - "properties": { - "userPrincipalName": { - "type": "string", - "description": "The user principal name." - }, - "applicationType": { - "enum": [ - "RemoteApp", - "Desktop" - ], - "x-ms-enum": { - "name": "ApplicationType", - "modelAsString": true - }, - "type": "string", - "description": "Application type of application." - }, - "sessionState": { - "enum": [ - "Unknown", - "Active", - "Disconnected", - "Pending", - "LogOff", - "UserProfileDiskMounted" - ], - "x-ms-enum": { - "name": "SessionState", - "modelAsString": true - }, - "type": "string", - "description": "State of user session." - }, - "activeDirectoryUserName": { - "type": "string", - "description": "The active directory user name." - }, - "createTime": { - "format": "date-time", - "type": "string", - "description": "The timestamp of the user session create." - } - } - }, - "UserSessionList": { - "type": "object", - "title": "UserSessionList", - "description": "List of UserSession definitions.", - "properties": { - "value": { - "type": "array", - "description": "List of UserSession definitions.", - "items": { - "$ref": "#/definitions/UserSession" - } - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Link to the next page of results." - } - } - } - }, - "parameters": { - "HostPoolNameParameter": { - "name": "hostPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ApplicationGroupNameParameter": { - "name": "applicationGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ApplicationNameParameter": { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "DesktopNameParameter": { - "name": "desktopName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the desktop within the specified desktop group", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "WorkspaceNameParameter": { - "name": "workspaceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "SessionHostNameParameter": { - "name": "sessionHostName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the session host within the specified host pool", - "maxLength": 48, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "UserSessionIdParameter": { - "name": "userSessionId", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the user session within the specified session host", - "maxLength": 24, - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "StartMenuItemNameParameter": { - "name": "startMenuItemName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the start menu item within the specified host pool", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "version": "2019-12-10-preview", + "title": "Desktop Virtualization API Client" + }, + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "host": "management.azure.com", + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.DesktopVirtualization/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List all of the available operations the Desktop Virtualization resource provider supports.", + "x-ms-examples": { + "OperationDescription_List": { + "$ref": "./examples/OperationDescription_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved operations.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Get", + "description": "Get a workspace.", + "x-ms-examples": { + "Workspace_Get": { + "$ref": "./examples/Workspace_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_CreateOrUpdate", + "description": "Create or update a workspace.", + "x-ms-examples": { + "Workspace_Create": { + "$ref": "./examples/Workspace_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "workspace", + "description": "Object containing Workspace definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workspace" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "201": { + "description": "Successfully created workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Delete", + "description": "Remove a workspace.", + "x-ms-examples": { + "Workspace_Delete": { + "$ref": "./examples/Workspace_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted workspace." + }, + "204": { + "description": "Workspace does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_Update", + "description": "Update a workspace.", + "x-ms-examples": { + "Workspace_Update": { + "$ref": "./examples/Workspace_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "workspace", + "description": "Object containing Workspace definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/WorkspacePatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated workspace.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_ListByResourceGroup", + "description": "List workspaces.", + "x-ms-examples": { + "Workspace_ListByResourceGroup": { + "$ref": "./examples/Workspace_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspaces in resource group.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces": { + "get": { + "tags": [ + "Workspace" + ], + "operationId": "Workspaces_ListBySubscription", + "description": "List workspaces in subscription.", + "x-ms-examples": { + "Workspace_ListBySubscription": { + "$ref": "./examples/Workspace_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved workspaces in subscription.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Get", + "description": "Get an application group.", + "x-ms-examples": { + "ApplicationGroup_Get": { + "$ref": "./examples/ApplicationGroup_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_CreateOrUpdate", + "description": "Create or update an applicationGroup.", + "x-ms-examples": { + "ApplicationGroup_Create": { + "$ref": "./examples/ApplicationGroup_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "name": "applicationGroup", + "description": "Object containing ApplicationGroup definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "201": { + "description": "Successfully created application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Delete", + "description": "Remove an applicationGroup.", + "x-ms-examples": { + "ApplicationGroup_Delete": { + "$ref": "./examples/ApplicationGroup_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully removed application group." + }, + "204": { + "description": "Application group does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_Update", + "description": "Update an applicationGroup.", + "x-ms-examples": { + "ApplicationGroups_Update": { + "$ref": "./examples/ApplicationGroup_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "name": "applicationGroup", + "description": "Object containing ApplicationGroup definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ApplicationGroupPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application group.", + "schema": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_ListByResourceGroup", + "description": "List applicationGroups.", + "x-ms-examples": { + "ApplicationGroup_ListByResourceGroup": { + "$ref": "./examples/ApplicationGroup_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are applicationGroupType." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application groups in resource group.", + "schema": { + "$ref": "#/definitions/ApplicationGroupList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups": { + "get": { + "tags": [ + "ApplicationGroup" + ], + "operationId": "ApplicationGroups_ListBySubscription", + "description": "List applicationGroups in subscription.", + "x-ms-examples": { + "ApplicationGroup_List": { + "$ref": "./examples/ApplicationGroup_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are applicationGroupType." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application groups in subscription.", + "schema": { + "$ref": "#/definitions/ApplicationGroupList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems": { + "get": { + "tags": [ + "StartMenuItem" + ], + "operationId": "StartMenuItems_List", + "description": "List start menu items in the given application group.", + "x-ms-examples": { + "StartMenuItem_List": { + "$ref": "./examples/StartMenuItem_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved start menu items in application group.", + "schema": { + "$ref": "#/definitions/StartMenuItemList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_Get", + "description": "Get an application.", + "x-ms-examples": { + "Application_Get": { + "$ref": "./examples/Application_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Application" + ], + "operationId": "Applications_CreateOrUpdate", + "description": "Create or update an application.", + "x-ms-examples": { + "Application_Create": { + "$ref": "./examples/Application_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "name": "application", + "description": "Object containing Application definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Application" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "201": { + "description": "Successfully created application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Application" + ], + "operationId": "Applications_Delete", + "description": "Remove an application.", + "x-ms-examples": { + "Application_Delete": { + "$ref": "./examples/Application_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully removed application." + }, + "204": { + "description": "Application does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Application" + ], + "operationId": "Applications_Update", + "description": "Update an application.", + "x-ms-examples": { + "Application_Update": { + "$ref": "./examples/Application_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "name": "application", + "description": "Object containing Application definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ApplicationPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated application.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_List", + "description": "List applications.", + "x-ms-examples": { + "Applications_List": { + "$ref": "./examples/Application_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved applications in application group.", + "schema": { + "$ref": "#/definitions/ApplicationList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}": { + "get": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_Get", + "description": "Get a desktop.", + "x-ms-examples": { + "Desktop_Get": { + "$ref": "./examples/Desktop_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/DesktopNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved desktop.", + "schema": { + "$ref": "#/definitions/Desktop" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_Update", + "description": "Update a desktop.", + "x-ms-examples": { + "Desktop_Update": { + "$ref": "./examples/Desktop_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + }, + { + "$ref": "#/parameters/DesktopNameParameter" + }, + { + "name": "desktop", + "description": "Object containing Desktop definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/DesktopPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated desktop.", + "schema": { + "$ref": "#/definitions/Desktop" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops": { + "get": { + "tags": [ + "Desktop" + ], + "operationId": "Desktops_List", + "description": "List desktops.", + "x-ms-examples": { + "Desktop_List": { + "$ref": "./examples/Desktop_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApplicationGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved desktops in application group.", + "schema": { + "$ref": "#/definitions/DesktopList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Get", + "description": "Get a host pool.", + "x-ms-examples": { + "HostPool_Get": { + "$ref": "./examples/HostPool_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_CreateOrUpdate", + "description": "Create or update a host pool.", + "x-ms-examples": { + "HostPool_Create": { + "$ref": "./examples/HostPool_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "hostPool", + "description": "Object containing HostPool definitions.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HostPool" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "201": { + "description": "Successfully created host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Delete", + "description": "Remove a host pool.", + "x-ms-examples": { + "HostPool_Delete": { + "$ref": "./examples/HostPool_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to delete sessionHost." + } + ], + "responses": { + "200": { + "description": "Successfully removed host pool." + }, + "204": { + "description": "Host pool does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_Update", + "description": "Update a host pool.", + "x-ms-examples": { + "HostPool_Update": { + "$ref": "./examples/HostPool_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "hostPool", + "description": "Object containing HostPool definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/HostPoolPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated host pool.", + "schema": { + "$ref": "#/definitions/HostPool" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_ListByResourceGroup", + "description": "List hostPools.", + "x-ms-examples": { + "HostPool_ListByResourceGroup": { + "$ref": "./examples/HostPool_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool in resource group.", + "schema": { + "$ref": "#/definitions/HostPoolList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools": { + "get": { + "tags": [ + "HostPool" + ], + "operationId": "HostPools_List", + "description": "List hostPools in subscription.", + "x-ms-examples": { + "HostPool_List": { + "$ref": "./examples/HostPool_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved host pool in subscription.", + "schema": { + "$ref": "#/definitions/HostPoolList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_ListByHostPool", + "description": "List userSessions.", + "x-ms-examples": { + "UserSession_ListByHostPool": { + "$ref": "./examples/UserSession_ListByHostPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "OData filter expression. Valid properties for filtering are userprincipalname and sessionstate." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user sessions in host pool.", + "schema": { + "$ref": "#/definitions/UserSessionList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}": { + "get": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Get", + "description": "Get a session host.", + "x-ms-examples": { + "SessionHost_Get": { + "$ref": "./examples/SessionHost_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved session host.", + "schema": { + "$ref": "#/definitions/SessionHost" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Delete", + "description": "Remove a SessionHost.", + "x-ms-examples": { + "SessionHost_Delete": { + "$ref": "./examples/SessionHost_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to force sessionHost deletion even when userSession exists." + } + ], + "responses": { + "200": { + "description": "Successfully removed session host." + }, + "204": { + "description": "Session host does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_Update", + "description": "Update a session host.", + "x-ms-examples": { + "SessionHost_Update": { + "$ref": "./examples/SessionHost_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "name": "sessionHost", + "description": "Object containing SessionHost definitions.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/SessionHostPatch" + } + } + ], + "responses": { + "200": { + "description": "Successfully updated session host.", + "schema": { + "$ref": "#/definitions/SessionHost" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts": { + "get": { + "tags": [ + "SessionHost" + ], + "operationId": "SessionHosts_List", + "description": "List sessionHosts.", + "x-ms-examples": { + "SessionHost_List": { + "$ref": "./examples/SessionHost_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved session hosts in host pool.", + "schema": { + "$ref": "#/definitions/SessionHostList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Get", + "description": "Get a userSession.", + "x-ms-examples": { + "UserSession_Get": { + "$ref": "./examples/UserSession_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user session.", + "schema": { + "$ref": "#/definitions/UserSession" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Delete", + "description": "Remove a userSession.", + "x-ms-examples": { + "UserSession_Delete": { + "$ref": "./examples/UserSession_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Force flag to login off userSession." + } + ], + "responses": { + "200": { + "description": "Successfully removed user session." + }, + "204": { + "description": "User session does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions": { + "get": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_List", + "description": "List userSessions.", + "x-ms-examples": { + "UserSession_List": { + "$ref": "./examples/UserSession_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved user sessions in session host.", + "schema": { + "$ref": "#/definitions/UserSessionList" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect": { + "post": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_Disconnect", + "description": "Disconnect a userSession.", + "x-ms-examples": { + "UserSession_Disconnect_Post": { + "$ref": "./examples/UserSession_Disconnect_Post.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully disconnected user session." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage": { + "post": { + "tags": [ + "UserSession" + ], + "operationId": "UserSessions_SendMessage", + "description": "Send a message to a user.", + "x-ms-examples": { + "UserSession_SendMessage_Post": { + "$ref": "./examples/UserSession_SendMessage_Post.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HostPoolNameParameter" + }, + { + "$ref": "#/parameters/SessionHostNameParameter" + }, + { + "$ref": "#/parameters/UserSessionIdParameter" + }, + { + "name": "sendMessage", + "description": "Object containing message includes title and message body", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/SendMessage" + } + } + ], + "responses": { + "200": { + "description": "Successfully sent message to user session." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "CloudError": { + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + }, + "description": "Error response of an operation failure" + }, + "ResourceProviderOperationList": { + "description": "Result of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + } + } + }, + "ResourceProviderOperation": { + "description": "Supported operation of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Desktop Virtualization.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "Workspace": { + "type": "object", + "description": "Represents a Workspace definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for Workspace", + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspaceProperties" + } + } + }, + "WorkspaceProperties": { + "description": "Schema for Workspace properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "applicationGroupReferences": { + "type": "array", + "description": "List of applicationGroup resource Ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkspaceList": { + "type": "object", + "title": "WorkspaceList", + "description": "List of Workspace definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Workspace definitions.", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "WorkspacePatch": { + "type": "object", + "description": "Workspace properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Workspace", + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspacePatchProperties" + } + } + }, + "WorkspacePatchProperties": { + "description": "Workspace properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "applicationGroupReferences": { + "type": "array", + "description": "List of applicationGroup links.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGroup": { + "type": "object", + "description": "Represents a ApplicationGroup definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for ApplicationGroup", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGroupProperties", + "x-nullable": false + } + } + }, + "ApplicationGroupProperties": { + "description": "Schema for ApplicationGroup properties.", + "type": "object", + "required": [ + "hostPoolArmPath", + "applicationGroupType" + ], + "properties": { + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + }, + "hostPoolArmPath": { + "type": "string", + "description": "HostPool arm path of ApplicationGroup.", + "x-nullable": false + }, + "workspaceArmPath": { + "type": "string", + "description": "Workspace arm path of ApplicationGroup.", + "readOnly": true + }, + "applicationGroupType": { + "enum": [ + "RemoteApp", + "Desktop" + ], + "x-ms-enum": { + "name": "ApplicationGroupType", + "modelAsString": true + }, + "type": "string", + "description": "Resource Type of ApplicationGroup.", + "x-nullable": false + } + } + }, + "ApplicationGroupPatch": { + "type": "object", + "description": "ApplicationGroup properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "tags to be updated" + }, + "properties": { + "description": "ApplicationGroup properties that can be patched.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGroupPatchProperties" + } + } + }, + "ApplicationGroupPatchProperties": { + "description": "ApplicationGroup properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + } + } + }, + "ApplicationGroupList": { + "type": "object", + "title": "ApplicationGroupList", + "description": "List of ApplicationGroup definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of ApplicationGroup definitions.", + "items": { + "$ref": "#/definitions/ApplicationGroup" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "HostPool": { + "type": "object", + "description": "Represents a HostPool definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for HostPool", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HostPoolProperties", + "x-nullable": false + } + } + }, + "HostPoolProperties": { + "description": "Properties of HostPool.", + "type": "object", + "required": [ + "hostPoolType", + "loadBalancerType", + "preferredAppGroupType" + ], + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "hostPoolType": { + "enum": [ + "Personal", + "Pooled" + ], + "x-ms-enum": { + "name": "HostPoolType", + "modelAsString": true + }, + "type": "string", + "description": "HostPool type for desktop.", + "x-nullable": false + }, + "personalDesktopAssignmentType": { + "enum": [ + "Automatic", + "Direct" + ], + "x-ms-enum": { + "name": "PersonalDesktopAssignmentType", + "modelAsString": true + }, + "type": "string", + "description": "PersonalDesktopAssignment type for HostPool.", + "x-nullable": false + }, + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "maxSessionLimit": { + "type": "integer", + "description": "The max session limit of HostPool." + }, + "loadBalancerType": { + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + }, + "type": "string", + "description": "The type of the load balancer.", + "x-nullable": false + }, + "ring": { + "type": "integer", + "description": "The ring number of HostPool." + }, + "validationEnvironment": { + "type": "boolean", + "description": "Is validation environment." + }, + "registrationInfo": { + "$ref": "#/definitions/RegistrationInfo", + "description": "The registration info of HostPool." + }, + "vmTemplate": { + "type": "string", + "description": "VM template for sessionhosts configuration within hostpool." + }, + "applicationGroupReferences": { + "readOnly": true, + "type": "array", + "description": "List of applicationGroup links.", + "items": { + "type": "string" + } + }, + "ssoContext": { + "type": "string", + "description": "Path to keyvault containing ssoContext secret." + }, + "preferredAppGroupType": { + "enum": [ + "None", + "Desktop", + "RailApplications" + ], + "x-ms-enum": { + "name": "PreferredAppGroupType", + "modelAsString": true + }, + "type": "string", + "description": "The type of preferred application group type, default to Desktop Application Group", + "x-nullable": false + } + } + }, + "HostPoolPatch": { + "type": "object", + "description": "HostPool properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "tags to be updated" + }, + "properties": { + "description": "HostPool properties that can be patched.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HostPoolPatchProperties" + } + } + }, + "HostPoolPatchProperties": { + "description": "Properties of HostPool.", + "type": "object", + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "maxSessionLimit": { + "type": "integer", + "description": "The max session limit of HostPool." + }, + "personalDesktopAssignmentType": { + "enum": [ + "Automatic", + "Direct" + ], + "x-ms-enum": { + "name": "PersonalDesktopAssignmentType", + "modelAsString": true + }, + "type": "string", + "description": "PersonalDesktopAssignment type for HostPool." + }, + "loadBalancerType": { + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + }, + "type": "string", + "description": "The type of the load balancer." + }, + "ring": { + "type": "integer", + "description": "The ring number of HostPool." + }, + "validationEnvironment": { + "type": "boolean", + "description": "Is validation environment." + }, + "registrationInfo": { + "$ref": "#/definitions/RegistrationInfoPatch", + "description": "The registration info of HostPool." + }, + "vmTemplate": { + "type": "string", + "description": "VM template for sessionhosts configuration within hostpool." + }, + "ssoContext": { + "type": "string", + "description": "Path to keyvault containing ssoContext secret." + }, + "preferredAppGroupType": { + "enum": [ + "None", + "Desktop", + "RailApplications" + ], + "x-ms-enum": { + "name": "PreferredAppGroupType", + "modelAsString": true + }, + "type": "string", + "description": "The type of preferred application group type, default to Desktop Application Group" + } + } + }, + "RegistrationInfo": { + "description": "Represents a RegistrationInfo definition.", + "type": "object", + "properties": { + "expirationTime": { + "format": "date-time", + "type": "string", + "description": "Expiration time of registration token." + }, + "token": { + "type": "string", + "description": "The registration token base64 encoded string." + }, + "registrationTokenOperation": { + "enum": [ + "Delete", + "None", + "Update" + ], + "x-ms-enum": { + "name": "RegistrationTokenOperation", + "modelAsString": true + }, + "type": "string", + "description": "The type of resetting the token.", + "x-nullable": false + } + } + }, + "RegistrationInfoPatch": { + "description": "Represents a RegistrationInfo definition.", + "type": "object", + "properties": { + "expirationTime": { + "format": "date-time", + "type": "string", + "description": "Expiration time of registration token." + }, + "registrationTokenOperation": { + "enum": [ + "Delete", + "None", + "Update" + ], + "x-ms-enum": { + "name": "RegistrationTokenOperation", + "modelAsString": true + }, + "type": "string", + "description": "The type of resetting the token." + } + } + }, + "SendMessage": { + "description": "Represents message sent to a UserSession.", + "type": "object", + "properties": { + "messageTitle": { + "type": "string", + "description": "Title of message." + }, + "messageBody": { + "type": "string", + "description": "Body of message." + } + } + }, + "HostPoolList": { + "type": "object", + "title": "HostPoolList", + "description": "List of HostPool definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of HostPool definitions.", + "items": { + "$ref": "#/definitions/HostPool" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "Application": { + "description": "Schema for Application properties.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Detailed properties for Application", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationProperties", + "x-nullable": false + } + } + }, + "ApplicationProperties": { + "description": "Schema for Application properties.", + "type": "object", + "required": [ + "commandLineSetting" + ], + "properties": { + "description": { + "type": "string", + "description": "Description of Application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "commandLineSetting": { + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ], + "x-ms-enum": { + "name": "CommandLineSetting", + "modelAsString": true + }, + "type": "string", + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", + "x-nullable": false + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "showInPortal": { + "type": "boolean", + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + }, + "iconHash": { + "readOnly": true, + "type": "string", + "description": "Hash of the icon." + }, + "iconContent": { + "readOnly": true, + "type": "string", + "format": "byte", + "description": "the icon a 64 bit string as a byte array." + } + } + }, + "ApplicationList": { + "type": "object", + "title": "ApplicationList", + "description": "List of Application definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Application definitions.", + "items": { + "$ref": "#/definitions/Application" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "ApplicationPatch": { + "type": "object", + "description": "Application properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Application", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationPatchProperties" + } + } + }, + "ApplicationPatchProperties": { + "description": "Application properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "commandLineSetting": { + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ], + "x-ms-enum": { + "name": "CommandLineSetting", + "modelAsString": true + }, + "type": "string", + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "showInPortal": { + "type": "boolean", + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + } + } + }, + "Desktop": { + "description": "Schema for Desktop properties.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for Desktop", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DesktopProperties" + } + } + }, + "DesktopProperties": { + "description": "Schema for Desktop properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Desktop." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Desktop." + }, + "iconHash": { + "readOnly": true, + "type": "string", + "description": "Hash of the icon." + }, + "iconContent": { + "readOnly": true, + "type": "string", + "format": "byte", + "description": "The icon a 64 bit string as a byte array." + } + } + }, + "DesktopList": { + "type": "object", + "title": "DesktopList", + "description": "List of Desktop definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of Desktop definitions.", + "items": { + "$ref": "#/definitions/Desktop" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "DesktopPatch": { + "type": "object", + "description": "Desktop properties that can be patched.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "tags to be updated" + }, + "properties": { + "description": "Detailed properties for Desktop", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DesktopPatchProperties" + } + } + }, + "DesktopPatchProperties": { + "description": "Desktop properties that can be patched.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of Desktop." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Desktop." + } + } + }, + "StartMenuItemProperties": { + "description": "Schema for StartMenuItem properties.", + "type": "object", + "properties": { + "appAlias": { + "type": "string", + "description": "Alias of StartMenuItem." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of StartMenuItem." + }, + "filePath": { + "type": "string", + "description": "Path to the file of StartMenuItem." + }, + "commandLineArguments": { + "type": "string", + "description": "Command line arguments for StartMenuItem." + }, + "iconPath": { + "type": "string", + "description": "Path to the icon." + }, + "iconIndex": { + "type": "integer", + "description": "Index of the icon." + } + } + }, + "StartMenuItem": { + "type": "object", + "description": "Represents a StartMenuItem definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for StartMenuItem", + "x-ms-client-flatten": true, + "$ref": "#/definitions/StartMenuItemProperties" + } + } + }, + "StartMenuItemList": { + "type": "object", + "title": "StartMenuItemList", + "description": "List of StartMenuItem definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of StartMenuItem definitions.", + "items": { + "$ref": "#/definitions/StartMenuItem" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "SessionHost": { + "type": "object", + "description": "Represents a SessionHost definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for SessionHost", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SessionHostProperties" + } + } + }, + "SessionHostProperties": { + "description": "Schema for SessionHost properties.", + "type": "object", + "properties": { + "lastHeartBeat": { + "format": "date-time", + "type": "string", + "description": "Last heart beat from SessionHost." + }, + "sessions": { + "type": "integer", + "description": "Number of sessions on SessionHost." + }, + "agentVersion": { + "type": "string", + "description": "Version of agent on SessionHost." + }, + "allowNewSession": { + "type": "boolean", + "description": "Allow a new session." + }, + "virtualMachineId": { + "type": "string", + "description": "Virtual Machine Id of SessionHost's underlying virtual machine.", + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "Resource Id of SessionHost's underlying virtual machine.", + "readOnly": true + }, + "assignedUser": { + "type": "string", + "description": "User assigned to SessionHost." + }, + "status": { + "enum": [ + "Available", + "Unavailable", + "Shutdown", + "Disconnected", + "Upgrading", + "UpgradeFailed" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + }, + "type": "string", + "description": "Status for a SessionHost." + }, + "statusTimestamp": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the status.", + "readOnly": true + }, + "osVersion": { + "type": "string", + "description": "The version of the OS on the session host." + }, + "sxSStackVersion": { + "type": "string", + "description": "The version of the side by side stack on the session host." + }, + "updateState": { + "enum": [ + "Initial", + "Pending", + "Started", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "UpdateState", + "modelAsString": true + }, + "type": "string", + "description": "Update state of a SessionHost." + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the last update.", + "readOnly": true + }, + "updateErrorMessage": { + "type": "string", + "description": "The error message." + } + } + }, + "SessionHostPatch": { + "type": "object", + "description": "SessionHost properties that can be patched.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for SessionHost", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SessionHostPatchProperties" + } + } + }, + "SessionHostPatchProperties": { + "description": "SessionHost properties that can be patched.", + "type": "object", + "properties": { + "allowNewSession": { + "type": "boolean", + "description": "Allow a new session." + }, + "assignedUser": { + "type": "string", + "description": "User assigned to SessionHost." + } + } + }, + "SessionHostList": { + "type": "object", + "title": "SessionHostList", + "description": "List of SessionHost definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of SessionHost definitions.", + "items": { + "$ref": "#/definitions/SessionHost" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + }, + "UserSession": { + "type": "object", + "description": "Represents a UserSession definition.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Detailed properties for UserSession", + "x-ms-client-flatten": true, + "$ref": "#/definitions/UserSessionProperties" + } + } + }, + "UserSessionProperties": { + "description": "Schema for UserSession properties.", + "type": "object", + "properties": { + "userPrincipalName": { + "type": "string", + "description": "The user principal name." + }, + "applicationType": { + "enum": [ + "RemoteApp", + "Desktop" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true + }, + "type": "string", + "description": "Application type of application." + }, + "sessionState": { + "enum": [ + "Unknown", + "Active", + "Disconnected", + "Pending", + "LogOff", + "UserProfileDiskMounted" + ], + "x-ms-enum": { + "name": "SessionState", + "modelAsString": true + }, + "type": "string", + "description": "State of user session." + }, + "activeDirectoryUserName": { + "type": "string", + "description": "The active directory user name." + }, + "createTime": { + "format": "date-time", + "type": "string", + "description": "The timestamp of the user session create." + } + } + }, + "UserSessionList": { + "type": "object", + "title": "UserSessionList", + "description": "List of UserSession definitions.", + "properties": { + "value": { + "type": "array", + "description": "List of UserSession definitions.", + "items": { + "$ref": "#/definitions/UserSession" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next page of results." + } + } + } + }, + "parameters": { + "HostPoolNameParameter": { + "name": "hostPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the host pool within the specified resource group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ApplicationGroupNameParameter": { + "name": "applicationGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ApplicationNameParameter": { + "name": "applicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application within the specified application group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "DesktopNameParameter": { + "name": "desktopName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the desktop within the specified desktop group", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the workspace", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "SessionHostNameParameter": { + "name": "sessionHostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the session host within the specified host pool", + "maxLength": 48, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "UserSessionIdParameter": { + "name": "userSessionId", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the user session within the specified session host", + "maxLength": 24, + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "StartMenuItemNameParameter": { + "name": "startMenuItemName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the start menu item within the specified host pool", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Create.json index 1323b6f7b04c..a0e2dba51d61 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Create.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview", - "applicationGroup": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "applicationGroupType": "RemoteApp" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - }, - "201": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview", + "applicationGroup": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "applicationGroupType": "RemoteApp" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + }, + "201": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Delete.json index fe87af2b8ad1..11f7ee351ab8 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Delete.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Get.json index 823c1bb55ec6..259b54ea425b 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Get.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_ListByResourceGroup.json index 18136fe1eae9..6cc495867416 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_ListByResourceGroup.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_ListByResourceGroup.json @@ -1,50 +1,50 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "api-version": "2019-12-10-preview", - "$filter": "applicationGroupType eq 'RailApplication'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - }, - { - "name": "applicationGroup2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "api-version": "2019-12-10-preview", + "$filter": "applicationGroupType eq 'RailApplication'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + }, + { + "name": "applicationGroup2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Update.json index cb865a4a4e97..18413fe0f596 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/ApplicationGroup_Update.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview", - "applicationGroup": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", - "type": "Microsoft.DesktopVirtualization/applicationGroups", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly", - "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "applicationGroupType": "RemoteApp" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview", + "applicationGroup": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", + "type": "Microsoft.DesktopVirtualization/applicationGroups", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly", + "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "applicationGroupType": "RemoteApp" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Create.json index 6b4a238bc273..a86d6c2ee1bf 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Create.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-12-10-preview", - "application": { - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - }, - "201": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-12-10-preview", + "application": { + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + }, + "201": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Delete.json index 519b9ba4a249..4b6d78288f6c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Delete.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Get.json index 563967b99b5b..f5816590862e 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Get.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_List.json index ad1a505f987b..e12cf352859c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_List.json @@ -1,50 +1,50 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - }, - { - "name": "applicationGroup1/application2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des2", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + }, + { + "name": "applicationGroup1/application2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des2", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Update.json index 14cc21f094ed..b6f185cc43ed 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Application_Update.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "applicationName": "application1", - "api-version": "2019-12-10-preview", - "application": { - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "filePath": "path", - "commandLineSetting": "Allow", - "commandLineArguments": "arguments", - "showInPortal": true, - "iconPath": "icon", - "iconIndex": 1, - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "applicationName": "application1", + "api-version": "2019-12-10-preview", + "application": { + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/applications", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "filePath": "path", + "commandLineSetting": "Allow", + "commandLineArguments": "arguments", + "showInPortal": true, + "iconPath": "icon", + "iconIndex": 1, + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Get.json index 9ba7029e8d05..bbb8532cc15a 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Get.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "desktopName": "SessionDesktop", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/SessionDesktop", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", - "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "desktopName": "SessionDesktop", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/SessionDesktop", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", + "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_List.json index 278df9477b0a..f33cbe712c89 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_List.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "applicationGroup1/SessionDesktop", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", - "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "applicationGroup1/SessionDesktop", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop", + "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Update.json index 8b93343fdda7..68d772f07aa7 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Desktop_Update.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "desktopName": "SessionDesktop", - "api-version": "2019-12-10-preview", - "desktop": { - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "applicationGroup1/SessionDesktop", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop", - "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", - "properties": { - "description": "des1", - "friendlyName": "friendly", - "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", - "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "desktopName": "SessionDesktop", + "api-version": "2019-12-10-preview", + "desktop": { + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "applicationGroup1/SessionDesktop", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop", + "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops", + "properties": { + "description": "des1", + "friendlyName": "friendly", + "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc", + "iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..." + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Create.json index ba6d5d97f5ff..a5e9c3c789fa 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Create.json @@ -1,94 +1,94 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-12-10-preview", - "hostPool": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "registrationInfo": { - "expirationTime": "2020-10-01T14:01:54.9571247Z", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": "KeyVaultPath", - "preferredAppGroupType": "Desktop" - } - } - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2020-10-01T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - } - }, - "201": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2020-10-01T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-12-10-preview", + "hostPool": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "registrationInfo": { + "expirationTime": "2020-10-01T14:01:54.9571247Z", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": "KeyVaultPath", + "preferredAppGroupType": "Desktop" + } + } + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2020-10-01T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + } + }, + "201": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2020-10-01T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Delete.json index 434d80ce221b..9b3ff1bea24c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Delete.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-12-10-preview", - "force": true - }, - "responses": { - "200": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-12-10-preview", + "force": true + }, + "responses": { + "200": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Get.json index 175c4fef704e..4ab8df265f5e 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Get.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_List.json index 302dcc34c598..3e6b26538055 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_List.json @@ -1,72 +1,72 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - }, - { - "name": "hostPool2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool2", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + }, + { + "name": "hostPool2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool2", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_ListByResourceGroup.json index 6ae671b69976..73f8d7272300 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_ListByResourceGroup.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_ListByResourceGroup.json @@ -1,73 +1,73 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - }, - { - "name": "hostPool2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool2", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + }, + { + "name": "hostPool2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool2", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Update.json index c885b024272c..4d696f7c251b 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/HostPool_Update.json @@ -1,61 +1,61 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-12-10-preview", - "hostPool": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "personalDesktopAssignmentType": "Automatic", - "registrationInfo": { - "expirationTime": "2020-10-01T15:01:54.9571247Z", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": "KeyVaultPath" - } - } - }, - "responses": { - "200": { - "body": { - "name": "hostPool1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", - "type": "/Microsoft.DesktopVirtualization/hostpools", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "friendlyName": "friendly", - "description": "des1", - "hostPoolType": "Pooled", - "personalDesktopAssignmentType": "Automatic", - "customRdpProperty": null, - "maxSessionLimit": 999999, - "loadBalancerType": "BreadthFirst", - "validationEnvironment": null, - "ring": null, - "registrationInfo": { - "expirationTime": "2008-09-22T14:01:54.9571247Z", - "token": "token", - "registrationTokenOperation": "Update" - }, - "vmTemplate": "{json:json}", - "ssoContext": null, - "preferredAppGroupType": "Desktop" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-12-10-preview", + "hostPool": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "personalDesktopAssignmentType": "Automatic", + "registrationInfo": { + "expirationTime": "2020-10-01T15:01:54.9571247Z", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": "KeyVaultPath" + } + } + }, + "responses": { + "200": { + "body": { + "name": "hostPool1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1", + "type": "/Microsoft.DesktopVirtualization/hostpools", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "friendlyName": "friendly", + "description": "des1", + "hostPoolType": "Pooled", + "personalDesktopAssignmentType": "Automatic", + "customRdpProperty": null, + "maxSessionLimit": 999999, + "loadBalancerType": "BreadthFirst", + "validationEnvironment": null, + "ring": null, + "registrationInfo": { + "expirationTime": "2008-09-22T14:01:54.9571247Z", + "token": "token", + "registrationTokenOperation": "Update" + }, + "vmTemplate": "{json:json}", + "ssoContext": null, + "preferredAppGroupType": "Desktop" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/OperationDescription_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/OperationDescription_List.json index cbd7e3aa1702..0a2eddfa3310 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/OperationDescription_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/OperationDescription_List.json @@ -1,27 +1,27 @@ -{ - "parameters": { - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.DesktopVirtualization/ssocontext/read", - "display": { - "provider": "Microsoft.DesktopVirtualization", - "resource": "ssocontext" - } - }, - { - "name": "Microsoft.DesktopVirtualization/ssocontext/write", - "display": { - "provider": "Microsoft.DesktopVirtualization", - "resource": "ssocontext" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DesktopVirtualization/ssocontext/read", + "display": { + "provider": "Microsoft.DesktopVirtualization", + "resource": "ssocontext" + } + }, + { + "name": "Microsoft.DesktopVirtualization/ssocontext/write", + "display": { + "provider": "Microsoft.DesktopVirtualization", + "resource": "ssocontext" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Delete.json index 8961354c5283..a4a59da2f745 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Delete.json @@ -1,34 +1,34 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-12-10-preview", - "force": true - }, - "responses": { - "200": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-12-10-preview", + "force": true + }, + "responses": { + "200": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Get.json index 1006aadcae10..94d0274b98d4 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Get.json @@ -1,34 +1,34 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_List.json index f683f51f839e..94be122290ad 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_List.json @@ -1,58 +1,58 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - }, - { - "name": "sessionHost2.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost2microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user2@microsoft.com", - "status": "Available", - "statusTimestamp": "2008-09-22T14:01:54.9571247Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + }, + { + "name": "sessionHost2.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost2microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2008-09-22T14:01:54.9571247Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user2@microsoft.com", + "status": "Available", + "statusTimestamp": "2008-09-22T14:01:54.9571247Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Update.json index 41356917763b..8b51446575f3 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/SessionHost_Update.json @@ -1,40 +1,40 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-12-10-preview", - "sessionHost": { - "properties": { - "allowNewSession": true, - "assignedUser": "user1@microsoft.com" - } - } - }, - "responses": { - "200": { - "body": { - "name": "sessionHost1.microsoft.com", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", - "properties": { - "lastHeartBeat": "2019-01-11T19:27:13.6108027Z", - "sessions": 1, - "agentVersion": "1.0.0.1391", - "allowNewSession": true, - "assignedUser": "user1@microsoft.com", - "status": "Available", - "statusTimestamp": "2019-01-24T20:00:08.2893033Z", - "osVersion": "10.0.17763", - "sxSStackVersion": "rdp-sxs190816002", - "updateState": "Succeeded", - "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", - "updateErrorMessage": "", - "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", - "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-12-10-preview", + "sessionHost": { + "properties": { + "allowNewSession": true, + "assignedUser": "user1@microsoft.com" + } + } + }, + "responses": { + "200": { + "body": { + "name": "sessionHost1.microsoft.com", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts", + "properties": { + "lastHeartBeat": "2019-01-11T19:27:13.6108027Z", + "sessions": 1, + "agentVersion": "1.0.0.1391", + "allowNewSession": true, + "assignedUser": "user1@microsoft.com", + "status": "Available", + "statusTimestamp": "2019-01-24T20:00:08.2893033Z", + "osVersion": "10.0.17763", + "sxSStackVersion": "rdp-sxs190816002", + "updateState": "Succeeded", + "lastUpdateTime": "2008-09-22T14:01:54.9571247Z", + "updateErrorMessage": "", + "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef", + "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/StartMenuItem_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/StartMenuItem_List.json index fa4017a89b86..343d27392298 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/StartMenuItem_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/StartMenuItem_List.json @@ -1,42 +1,42 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "applicationGroupName": "applicationGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "application1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1", - "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", - "properties": { - "appAlias": "word", - "friendlyName": "friendly", - "filePath": "/path/to/file", - "commandLineArguments": "arguments", - "iconPath": "/path/to/icon", - "iconIndex": 1 - } - }, - { - "name": "application2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2", - "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", - "properties": { - "appAlias": "excel", - "friendlyName": "friendly", - "filePath": "/path/to/file", - "commandLineArguments": "arguments", - "iconPath": "/path/to/icon", - "iconIndex": 1 - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "applicationGroupName": "applicationGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "application1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1", + "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", + "properties": { + "appAlias": "word", + "friendlyName": "friendly", + "filePath": "/path/to/file", + "commandLineArguments": "arguments", + "iconPath": "/path/to/icon", + "iconIndex": 1 + } + }, + { + "name": "application2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2", + "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems", + "properties": { + "appAlias": "excel", + "friendlyName": "friendly", + "filePath": "/path/to/file", + "commandLineArguments": "arguments", + "iconPath": "/path/to/icon", + "iconIndex": 1 + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Delete.json index ee13e7555380..de72837e8ce5 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Delete.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-12-10-preview", - "force": true - }, - "responses": { - "200": { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-12-10-preview", + "force": true + }, + "responses": { + "200": { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Disconnect_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Disconnect_Post.json index 001bc6529d84..8ac94b9e6aef 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Disconnect_Post.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Disconnect_Post.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Get.json index ad30b313730e..8068a0a55f29 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_Get.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_List.json index 771a4b13da70..3aebf00a4b86 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_List.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_List.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - }, - { - "name": "2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2", - "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", - "properties": { - "userPrincipalName": "user1@microsoft.com", - "applicationType": "Desktop", - "sessionState": "Active", - "activeDirectoryUserName": "WVDARM\\user1", - "createTime": "2008-09-22T14:01:54.9571247Z" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + }, + { + "name": "2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2", + "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions", + "properties": { + "userPrincipalName": "user1@microsoft.com", + "applicationType": "Desktop", + "sessionState": "Active", + "activeDirectoryUserName": "WVDARM\\user1", + "createTime": "2008-09-22T14:01:54.9571247Z" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_SendMessage_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_SendMessage_Post.json index 6e7076eb9f50..de10c5e704f7 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_SendMessage_Post.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/UserSession_SendMessage_Post.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "hostPoolName": "hostPool1", - "sessionHostName": "sessionHost1.microsoft.com", - "userSessionId": "1", - "api-version": "2019-12-10-preview", - "sendMessage": { - "messageTitle": "title", - "messageBody": "body" - } - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "hostPoolName": "hostPool1", + "sessionHostName": "sessionHost1.microsoft.com", + "userSessionId": "1", + "api-version": "2019-12-10-preview", + "sendMessage": { + "messageTitle": "title", + "messageBody": "body" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Create.json index ff6de1e47064..715a1d0b728b 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Create.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Create.json @@ -1,53 +1,53 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-12-10-preview", - "workspace": { - "location": "centralus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "201": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-12-10-preview", + "workspace": { + "location": "centralus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "201": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Delete.json index b1fac0b29d22..964e5c776111 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Delete.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Delete.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - }, - "204": {} - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + }, + "204": {} + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Get.json index 96cec1aa7acf..04cf999ff214 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Get.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Get.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_ListByResourceGroup.json index 2988972d0e2f..3113f327f700 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_ListByResourceGroup.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_ListByResourceGroup.json @@ -1,43 +1,43 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "api-version": "2019-12-10-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - }, - { - "name": "workspace2", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - ] - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "api-version": "2019-12-10-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + }, + { + "name": "workspace2", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + ] + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Update.json index bd3f747371af..e00be302b70d 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Update.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2019-12-10-preview/examples/Workspace_Update.json @@ -1,36 +1,36 @@ -{ - "parameters": { - "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2019-12-10-preview", - "workspace": { - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", - "type": "Microsoft.DesktopVirtualization/workspaces", - "location": "centralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "description": "des1", - "friendlyName": "friendly" - } - } - } - } -} +{ + "parameters": { + "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", + "resourceGroupName": "resourceGroup1", + "workspaceName": "workspace1", + "api-version": "2019-12-10-preview", + "workspace": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + }, + "responses": { + "200": { + "body": { + "name": "workspace1", + "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", + "type": "Microsoft.DesktopVirtualization/workspaces", + "location": "centralus", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "des1", + "friendlyName": "friendly" + } + } + } + } +} diff --git a/specification/desktopvirtualization/resource-manager/readme.csharp.md b/specification/desktopvirtualization/resource-manager/readme.csharp.md index 3fcc97028667..dced43982e18 100644 --- a/specification/desktopvirtualization/resource-manager/readme.csharp.md +++ b/specification/desktopvirtualization/resource-manager/readme.csharp.md @@ -1,15 +1,15 @@ - -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Management.DesktopVirtualization - payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/DesktopVirtualization/Management.DesktopVirtualization/Generated - clear-output-folder: true -``` + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.DesktopVirtualization + payload-flattening-threshold: 1 + output-folder: $(csharp-sdks-folder)/DesktopVirtualization/Management.DesktopVirtualization/Generated + clear-output-folder: true +``` diff --git a/specification/desktopvirtualization/resource-manager/readme.go.md b/specification/desktopvirtualization/resource-manager/readme.go.md index e01c42e568f6..8635bb42b729 100644 --- a/specification/desktopvirtualization/resource-manager/readme.go.md +++ b/specification/desktopvirtualization/resource-manager/readme.go.md @@ -1,154 +1,154 @@ -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) && !$(track2) -go: - license-header: MICROSOFT_MIT_NO_VERSION - namespace: desktopvirtualization - clear-output-folder: true -``` - -``` yaml $(go) && $(track2) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -### Go multi-api -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2019-01-23-preview - - tag: package-2019-09-24-preview - - tag: package-2019-12-10-preview - - tag: package-2020-09-21-preview - - tag: package-2020-10-19-preview - - tag: package-2020-11-02-preview - - tag: package-2020-11-10-preview - - tag: package-2021-01-14-preview - - tag: package-2021-02-01-preview - - tag: package-2021-03-09-preview - - tag: package-2021-04-01-preview - - tag: package-preview-2021-09 - - tag: package-preview-2022-02 -``` - -### Tag: package-preview-2022-02 and go - -These settings apply only when `--tag=package-preview-2022-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-preview-2022-02' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-02-03-preview/$(namespace) -``` - -### Tag: package-preview-2021-09 and go - -These settings apply only when `--tag=package-preview-2021-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-preview-2021-09' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-09-03-preview/$(namespace) -``` - -### Tag: package-2021-04-01-preview and go - -These settings apply only when `--tag=package-2021-04-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2021-04-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-04-01-preview/$(namespace) -``` - -### Tag: package-2021-03-09-preview and go - -These settings apply only when `--tag=package-2021-03-09-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2021-03-09-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-03-09-preview/$(namespace) -``` - -### Tag: package-2021-02-01-preview and go - -These settings apply only when `--tag=package-2021-02-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2021-02-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-02-01-preview/$(namespace) -``` - -### Tag: package-2021-01-14-preview and go - -These settings apply only when `--tag=package-2021-01-14-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2021-01-14-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-01-14-preview/$(namespace) -``` - -### Tag: package-2020-11-10-preview and go - -These settings apply only when `--tag=package-2020-11-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2020-11-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-11-10-preview/$(namespace) -``` - -### Tag: package-2020-11-02-preview and go - -These settings apply only when `--tag=package-2020-11-02-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2020-11-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-11-02-preview/$(namespace) -``` - -### Tag: package-2020-10-19-preview and go - -These settings apply only when `--tag=package-2020-10-19-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2020-10-19-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-19-preview/$(namespace) -``` - -### Tag: package-2020-09-21-preview and go - -These settings apply only when `--tag=package-2020-09-21-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2020-09-21-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-09-21-preview/$(namespace) -``` - -### Tag: package-2019-12-10-preview and go - -These settings apply only when `--tag=package-2019-12-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2019-12-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-12-10-preview/$(namespace) -``` - -### Tag: package-2019-09-24-preview and go - -These settings apply only when `--tag=package-2019-09-24-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2019-09-24-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-09-24-preview/$(namespace) -``` - -### Tag: package-2019-01-23-preview and go - -These settings apply only when `--tag=package-2019-01-23-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2019-01-23-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-23-preview/$(namespace) -``` - +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) && !$(track2) +go: + license-header: MICROSOFT_MIT_NO_VERSION + namespace: desktopvirtualization + clear-output-folder: true +``` + +``` yaml $(go) && $(track2) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-01-23-preview + - tag: package-2019-09-24-preview + - tag: package-2019-12-10-preview + - tag: package-2020-09-21-preview + - tag: package-2020-10-19-preview + - tag: package-2020-11-02-preview + - tag: package-2020-11-10-preview + - tag: package-2021-01-14-preview + - tag: package-2021-02-01-preview + - tag: package-2021-03-09-preview + - tag: package-2021-04-01-preview + - tag: package-preview-2021-09 + - tag: package-preview-2022-02 +``` + +### Tag: package-preview-2022-02 and go + +These settings apply only when `--tag=package-preview-2022-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-preview-2022-02' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-02-03-preview/$(namespace) +``` + +### Tag: package-preview-2021-09 and go + +These settings apply only when `--tag=package-preview-2021-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-preview-2021-09' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-09-03-preview/$(namespace) +``` + +### Tag: package-2021-04-01-preview and go + +These settings apply only when `--tag=package-2021-04-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-04-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-04-01-preview/$(namespace) +``` + +### Tag: package-2021-03-09-preview and go + +These settings apply only when `--tag=package-2021-03-09-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-03-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-03-09-preview/$(namespace) +``` + +### Tag: package-2021-02-01-preview and go + +These settings apply only when `--tag=package-2021-02-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-02-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-02-01-preview/$(namespace) +``` + +### Tag: package-2021-01-14-preview and go + +These settings apply only when `--tag=package-2021-01-14-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-01-14-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-01-14-preview/$(namespace) +``` + +### Tag: package-2020-11-10-preview and go + +These settings apply only when `--tag=package-2020-11-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-11-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-11-10-preview/$(namespace) +``` + +### Tag: package-2020-11-02-preview and go + +These settings apply only when `--tag=package-2020-11-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-11-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-11-02-preview/$(namespace) +``` + +### Tag: package-2020-10-19-preview and go + +These settings apply only when `--tag=package-2020-10-19-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-10-19-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-19-preview/$(namespace) +``` + +### Tag: package-2020-09-21-preview and go + +These settings apply only when `--tag=package-2020-09-21-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-09-21-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-09-21-preview/$(namespace) +``` + +### Tag: package-2019-12-10-preview and go + +These settings apply only when `--tag=package-2019-12-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-12-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-12-10-preview/$(namespace) +``` + +### Tag: package-2019-09-24-preview and go + +These settings apply only when `--tag=package-2019-09-24-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-09-24-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-09-24-preview/$(namespace) +``` + +### Tag: package-2019-01-23-preview and go + +These settings apply only when `--tag=package-2019-01-23-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-01-23-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-23-preview/$(namespace) +``` + diff --git a/specification/desktopvirtualization/resource-manager/readme.java.md b/specification/desktopvirtualization/resource-manager/readme.java.md index be90edf596b7..8168d6e19a0a 100644 --- a/specification/desktopvirtualization/resource-manager/readme.java.md +++ b/specification/desktopvirtualization/resource-manager/readme.java.md @@ -1,7 +1,7 @@ -## Java - -These settings apply only when `--java` is specified on the command line. - -```yaml $(java) -generate-async-methods: true -``` +## Java + +These settings apply only when `--java` is specified on the command line. + +```yaml $(java) +generate-async-methods: true +``` diff --git a/specification/desktopvirtualization/resource-manager/readme.node.md b/specification/desktopvirtualization/resource-manager/readme.node.md index bf6d3eeeb08b..2b53f1e377db 100644 --- a/specification/desktopvirtualization/resource-manager/readme.node.md +++ b/specification/desktopvirtualization/resource-manager/readme.node.md @@ -1,15 +1,15 @@ -## Node.js - -These settings apply only when `--nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -``` yaml $(nodejs) -nodejs: - azure-arm: true - package-name: azure-mgmt-DesktopVirtualization - output-folder: $(node-sdks-folder)/lib/services/DesktopVirtualization - payload-flattening-threshold: 1 - generate-license-txt: true - generate-package-json: true - generate-readme.md: true -``` +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + package-name: azure-mgmt-DesktopVirtualization + output-folder: $(node-sdks-folder)/lib/services/DesktopVirtualization + payload-flattening-threshold: 1 + generate-license-txt: true + generate-package-json: true + generate-readme.md: true +``` diff --git a/specification/desktopvirtualization/resource-manager/readme.python.md b/specification/desktopvirtualization/resource-manager/readme.python.md index 497a3412264c..f70993ed73dc 100644 --- a/specification/desktopvirtualization/resource-manager/readme.python.md +++ b/specification/desktopvirtualization/resource-manager/readme.python.md @@ -1,19 +1,19 @@ -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(python) -title: DesktopVirtualizationMgmtClient -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -package-name: azure-mgmt-desktopvirtualization -namespace: azure.mgmt.desktopvirtualization -package-version: 1.0.0b1 -clear-output-folder: true -``` - -``` yaml $(python) -no-namespace-folders: true -output-folder: $(python-sdks-folder)/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization -``` +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +title: DesktopVirtualizationMgmtClient +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-desktopvirtualization +namespace: azure.mgmt.desktopvirtualization +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization +``` diff --git a/specification/desktopvirtualization/resource-manager/readme.ruby.md b/specification/desktopvirtualization/resource-manager/readme.ruby.md index 9e70e545396f..46164aa5c2ac 100644 --- a/specification/desktopvirtualization/resource-manager/readme.ruby.md +++ b/specification/desktopvirtualization/resource-manager/readme.ruby.md @@ -1,125 +1,125 @@ -## Ruby - -These settings apply only when `--ruby` is specified on the command line. - -``` yaml -package-name: azure_mgmt_desktop_virtualization -package-version: "0.16.0" -azure-arm: true -``` - -### Ruby multi-api - -``` yaml $(ruby) && $(multiapi) -batch: - - tag: package-2019-01-23-preview - - tag: package-2019-09-24-preview - - tag: package-2019-12-10-preview - - tag: package-2020-09-21-preview - - tag: package-2020-10-19-preview - - tag: package-2020-11-02-preview - - tag: package-2021-01-14-preview - - tag: package-2021-02-01-preview - - tag: package-2021-03-09-preview - - tag: package-2021-04-01-preview -``` - -### Tag: package-2021-04-01-preview and ruby - -These settings apply only when `--tag=package-2021-04-01-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-04-01-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2021_04_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2021-03-09-preview and ruby - -These settings apply only when `--tag=package-2021-03-09-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-03-09-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2021_03_09_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2021-02-01-preview and ruby - -These settings apply only when `--tag=package-2021-02-01-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-02-01-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2021_02_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2021-01-14-preview and ruby - -These settings apply only when `--tag=package-2021-01-14-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-01-14-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2021_01_14_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2020-11-02-preview and ruby - -These settings apply only when `--tag=package-2020-11-02-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2020-11-02-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2020_11_02_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2020-10-19-preview and ruby - -These settings apply only when `--tag=package-2020-10-19-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2020-10-19-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2020_10_19_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2020-09-21-preview and ruby - -These settings apply only when `--tag=package-2020-09-21-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2020-09-21-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2020_09_21_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2019-12-10-preview and ruby - -These settings apply only when `--tag=package-2019-12-10-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2019-12-10-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2019_12_10_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2019-09-24-preview and ruby - -These settings apply only when `--tag=package-2019-09-24-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2019-09-24-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2019_09_24_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib -``` - -### Tag: package-2019-01-23-preview and ruby - -These settings apply only when `--tag=package-2019-01-23-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2019-01-23-preview' && $(ruby) -namespace: "Azure::DesktopVirtualization::Mgmt::V2019_01_23_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +``` yaml +package-name: azure_mgmt_desktop_virtualization +package-version: "0.16.0" +azure-arm: true +``` + +### Ruby multi-api + +``` yaml $(ruby) && $(multiapi) +batch: + - tag: package-2019-01-23-preview + - tag: package-2019-09-24-preview + - tag: package-2019-12-10-preview + - tag: package-2020-09-21-preview + - tag: package-2020-10-19-preview + - tag: package-2020-11-02-preview + - tag: package-2021-01-14-preview + - tag: package-2021-02-01-preview + - tag: package-2021-03-09-preview + - tag: package-2021-04-01-preview +``` + +### Tag: package-2021-04-01-preview and ruby + +These settings apply only when `--tag=package-2021-04-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2021-04-01-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2021_04_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2021-03-09-preview and ruby + +These settings apply only when `--tag=package-2021-03-09-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2021-03-09-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2021_03_09_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2021-02-01-preview and ruby + +These settings apply only when `--tag=package-2021-02-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2021-02-01-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2021_02_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2021-01-14-preview and ruby + +These settings apply only when `--tag=package-2021-01-14-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2021-01-14-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2021_01_14_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2020-11-02-preview and ruby + +These settings apply only when `--tag=package-2020-11-02-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2020-11-02-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2020_11_02_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2020-10-19-preview and ruby + +These settings apply only when `--tag=package-2020-10-19-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2020-10-19-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2020_10_19_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2020-09-21-preview and ruby + +These settings apply only when `--tag=package-2020-09-21-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2020-09-21-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2020_09_21_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2019-12-10-preview and ruby + +These settings apply only when `--tag=package-2019-12-10-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-12-10-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2019_12_10_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2019-09-24-preview and ruby + +These settings apply only when `--tag=package-2019-09-24-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-09-24-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2019_09_24_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib +``` + +### Tag: package-2019-01-23-preview and ruby + +These settings apply only when `--tag=package-2019-01-23-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-01-23-preview' && $(ruby) +namespace: "Azure::DesktopVirtualization::Mgmt::V2019_01_23_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_desktop_virtualization/lib ``` \ No newline at end of file diff --git a/specification/desktopvirtualization/resource-manager/readme.typescript.md b/specification/desktopvirtualization/resource-manager/readme.typescript.md index 58716fe39a3f..91873672052f 100644 --- a/specification/desktopvirtualization/resource-manager/readme.typescript.md +++ b/specification/desktopvirtualization/resource-manager/readme.typescript.md @@ -1,13 +1,13 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -``` yaml $(typescript) -typescript: - azure-arm: true - package-name: "@azure/arm-desktopvirtualization" - output-folder: "$(typescript-sdks-folder)/sdk/desktopvirtualization/arm-desktopvirtualization" - payload-flattening-threshold: 1 - generate-metadata: true -``` +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-desktopvirtualization" + output-folder: "$(typescript-sdks-folder)/sdk/desktopvirtualization/arm-desktopvirtualization" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/deviceprovisioningservices/data-plane/readme.csharp.md b/specification/deviceprovisioningservices/data-plane/readme.csharp.md index 66213f1614d7..cc68f31db1af 100644 --- a/specification/deviceprovisioningservices/data-plane/readme.csharp.md +++ b/specification/deviceprovisioningservices/data-plane/readme.csharp.md @@ -1,13 +1,13 @@ -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Devices - output-folder: $(csharp-sdks-folder)/deviceprovisioningservices/management/Microsoft.Devices/Generated - clear-output-folder: true +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Devices + output-folder: $(csharp-sdks-folder)/deviceprovisioningservices/management/Microsoft.Devices/Generated + clear-output-folder: true ``` \ No newline at end of file diff --git a/specification/deviceprovisioningservices/data-plane/readme.md b/specification/deviceprovisioningservices/data-plane/readme.md index 150bc0144c78..8ba4202a0f41 100644 --- a/specification/deviceprovisioningservices/data-plane/readme.md +++ b/specification/deviceprovisioningservices/data-plane/readme.md @@ -1,47 +1,47 @@ -# Device Provisioning Service - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for Device Provisioning Service. - ---- - -## Getting Started - -To build the SDK for Device Provisioning Service, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` - ---- - -## Configuration - -### Basic Information - -These are the global settings for the IotHub API. - -``` yaml -openapi-type: arm -tag: package-2021-10-01 -``` - - -### Tag: package-2021-10-01 - -These settings apply only when `--tag=package-2021-10-01` is specified on the command line. - -```yaml $(tag) == 'package-2021-10-01' -input-file: - - Microsoft.Devices/stable/2021-10-01/service.json -``` ---- - -# Code Generation - -## C# - -See configuration in [readme.csharp.md](./readme.csharp.md) +# Device Provisioning Service + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Device Provisioning Service. + +--- + +## Getting Started + +To build the SDK for Device Provisioning Service, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the IotHub API. + +``` yaml +openapi-type: arm +tag: package-2021-10-01 +``` + + +### Tag: package-2021-10-01 + +These settings apply only when `--tag=package-2021-10-01` is specified on the command line. + +```yaml $(tag) == 'package-2021-10-01' +input-file: + - Microsoft.Devices/stable/2021-10-01/service.json +``` +--- + +# Code Generation + +## C# + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateOuContainer.json index 27f8f2848212..8b5c3b0f962f 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateOuContainer.json @@ -1,100 +1,100 @@ -{ - "parameters": { - "api-version": "2017-06-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1", - "containerAccount": { - "accountName": "AccountName1", - "spn": "Spn1", - "password": "" - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2017-06-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1", + "containerAccount": { + "accountName": "AccountName1", + "spn": "Spn1", + "password": "" + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteOuContainer.json index 11b98fc2c715..19f376caa40d 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteOuContainer.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "api-version": "2017-06-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful." - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - } -} +{ + "parameters": { + "api-version": "2017-06-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful." + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetOuContainer.json index c6f150bbe889..5e7653d81333 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetOuContainer.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "api-version": "2017-06-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2017-06-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListOuContainers.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListOuContainers.json index 2842071473a8..52cd6b9b2876 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListOuContainers.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListOuContainers.json @@ -1,67 +1,67 @@ -{ - "parameters": { - "api-version": "2017-06-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "value": [ - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer2", - "name": "OuContainer.com/OuContainer2", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer2", - "accounts": [ - { - "accountName": "AccountName3", - "spn": "Spn3" - }, - { - "accountName": "AccountName4", - "spn": "Spn4" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2017-06-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "value": [ + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer2", + "name": "OuContainer.com/OuContainer2", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer2", + "accounts": [ + { + "accountName": "AccountName3", + "spn": "Spn3" + }, + { + "accountName": "AccountName4", + "spn": "Spn4" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateOuContainer.json index d7f16b63cee3..9026affa3e86 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateOuContainer.json @@ -1,72 +1,72 @@ -{ - "parameters": { - "api-version": "2017-06-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1", - "containerAccount": { - "accountName": "AccountName1", - "spn": "Spn1", - "password": "" - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2017-06-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1", + "containerAccount": { + "accountName": "AccountName1", + "spn": "Spn1", + "password": "" + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/oucontainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/oucontainer.json index 8db2f96a631f..75a0c8d9370f 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/oucontainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/oucontainer.json @@ -1,608 +1,608 @@ -{ - "swagger": "2.0", - "info": { - "title": "Domain Services Resource Provider", - "description": "The AAD Domain Services API.", - "version": "2017-06-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Aad/operations": { - "get": { - "tags": [ - "OuContainer" - ], - "description": "Lists all the available OuContainer operations.", - "operationId": "OuContainerOperations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - } - } - }, - "x-ms-examples": { - "Get Operations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer": { - "get": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_List", - "summary": "List of OuContainers in DomainService instance", - "description": "The List of OuContainers in DomainService instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainerListResult" - } - } - }, - "x-ms-examples": { - "List of OuContainers": { - "$ref": "./examples/ListOuContainers.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}": { - "get": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Get", - "summary": "Get particular OuContainer in DomainService instance", - "description": "Get OuContainer in DomainService instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-examples": { - "List of OuContainers": { - "$ref": "./examples/GetOuContainer.json" - } - } - }, - "put": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Create", - "summary": "Create OuContainer", - "description": "The Create OuContainer operation creates a new OuContainer under the specified Domain Service instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - }, - { - "name": "containerAccount", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerAccount" - }, - "description": "Container Account Description." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation completed successfully.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create Domain Service": { - "$ref": "./examples/CreateOuContainer.json" - } - } - }, - "delete": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Delete", - "summary": "Delete OuContainer", - "description": "The Delete OuContainer operation deletes specified OuContainer.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful." - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete OuContainer": { - "$ref": "./examples/DeleteOuContainer.json" - } - } - }, - "patch": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Update", - "summary": "Update OuContainer (PATCH Resource)", - "description": "The Update OuContainer operation can be used to update the existing OuContainers.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - }, - { - "name": "containerAccount", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerAccount" - }, - "description": "Container Account Description." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update Domain Service": { - "$ref": "./examples/UpdateOuContainer.json" - } - } - } - } - }, - "definitions": { - "Resource": { - "description": "The Resource model definition.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "etag": { - "type": "string", - "description": "Resource etag" - } - }, - "x-ms-azure-resource": true - }, - "OuContainerListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OuContainer" - }, - "description": "The list of OuContainer." - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - }, - "description": "The response from the List OuContainer operation." - }, - "OuContainer": { - "description": "Resource for OuContainer.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/OuContainerProperties", - "description": "OuContainer properties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "OuContainerProperties": { - "description": "Properties of the OuContainer.", - "properties": { - "tenantId": { - "readOnly": true, - "type": "string", - "description": "Azure Active Directory tenant id" - }, - "domainName": { - "readOnly": true, - "type": "string", - "description": "The domain name of Domain Services." - }, - "deploymentId": { - "readOnly": true, - "type": "string", - "description": "The Deployment id" - }, - "containerId": { - "readOnly": true, - "type": "string", - "description": "The OuContainer name" - }, - "accounts": { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerAccount", - "description": "Container Account" - }, - "description": "The list of container accounts" - }, - "serviceStatus": { - "readOnly": true, - "type": "string", - "description": "Status of OuContainer instance" - }, - "distinguishedName": { - "readOnly": true, - "type": "string", - "description": "Distinguished Name of OuContainer instance" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The current deployment or provisioning state, which only appears in the response." - } - } - }, - "ContainerAccount": { - "description": "Container Account Description", - "properties": { - "accountName": { - "type": "string", - "description": "The account name" - }, - "spn": { - "type": "string", - "description": "The account spn" - }, - "password": { - "type": "string", - "description": "The account password" - } - } - }, - "OperationEntityListResult": { - "description": "The list of domain service operation response.", - "type": "object", - "properties": { - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - } - }, - "OperationEntity": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by Domain Services." - }, - "origin": { - "description": "The origin of the operation.", - "type": "string" - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Domain Services.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "description": "An error response from the Domain Services.", - "$ref": "#/definitions/CloudErrorBody" - } - }, - "description": "An error response from the Domain Services." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Domain Services." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "DomainServiceNameParameter": { - "name": "domainServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the domain service.", - "x-ms-parameter-location": "method" - }, - "OuContainerNameParameter": { - "name": "ouContainerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the OuContainer.", - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "title": "Domain Services Resource Provider", + "description": "The AAD Domain Services API.", + "version": "2017-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Aad/operations": { + "get": { + "tags": [ + "OuContainer" + ], + "description": "Lists all the available OuContainer operations.", + "operationId": "OuContainerOperations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" + } + } + }, + "x-ms-examples": { + "Get Operations": { + "$ref": "./examples/GetOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer": { + "get": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_List", + "summary": "List of OuContainers in DomainService instance", + "description": "The List of OuContainers in DomainService instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainerListResult" + } + } + }, + "x-ms-examples": { + "List of OuContainers": { + "$ref": "./examples/ListOuContainers.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}": { + "get": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Get", + "summary": "Get particular OuContainer in DomainService instance", + "description": "Get OuContainer in DomainService instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-examples": { + "List of OuContainers": { + "$ref": "./examples/GetOuContainer.json" + } + } + }, + "put": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Create", + "summary": "Create OuContainer", + "description": "The Create OuContainer operation creates a new OuContainer under the specified Domain Service instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + }, + { + "name": "containerAccount", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerAccount" + }, + "description": "Container Account Description." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation completed successfully.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Domain Service": { + "$ref": "./examples/CreateOuContainer.json" + } + } + }, + "delete": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Delete", + "summary": "Delete OuContainer", + "description": "The Delete OuContainer operation deletes specified OuContainer.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful." + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete OuContainer": { + "$ref": "./examples/DeleteOuContainer.json" + } + } + }, + "patch": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Update", + "summary": "Update OuContainer (PATCH Resource)", + "description": "The Update OuContainer operation can be used to update the existing OuContainers.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + }, + { + "name": "containerAccount", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerAccount" + }, + "description": "Container Account Description." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update Domain Service": { + "$ref": "./examples/UpdateOuContainer.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "etag": { + "type": "string", + "description": "Resource etag" + } + }, + "x-ms-azure-resource": true + }, + "OuContainerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OuContainer" + }, + "description": "The list of OuContainer." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response from the List OuContainer operation." + }, + "OuContainer": { + "description": "Resource for OuContainer.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OuContainerProperties", + "description": "OuContainer properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "OuContainerProperties": { + "description": "Properties of the OuContainer.", + "properties": { + "tenantId": { + "readOnly": true, + "type": "string", + "description": "Azure Active Directory tenant id" + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "The domain name of Domain Services." + }, + "deploymentId": { + "readOnly": true, + "type": "string", + "description": "The Deployment id" + }, + "containerId": { + "readOnly": true, + "type": "string", + "description": "The OuContainer name" + }, + "accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerAccount", + "description": "Container Account" + }, + "description": "The list of container accounts" + }, + "serviceStatus": { + "readOnly": true, + "type": "string", + "description": "Status of OuContainer instance" + }, + "distinguishedName": { + "readOnly": true, + "type": "string", + "description": "Distinguished Name of OuContainer instance" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response." + } + } + }, + "ContainerAccount": { + "description": "Container Account Description", + "properties": { + "accountName": { + "type": "string", + "description": "The account name" + }, + "spn": { + "type": "string", + "description": "The account spn" + }, + "password": { + "type": "string", + "description": "The account password" + } + } + }, + "OperationEntityListResult": { + "description": "The list of domain service operation response.", + "type": "object", + "properties": { + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + } + }, + "OperationEntity": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by Domain Services." + }, + "origin": { + "description": "The origin of the operation.", + "type": "string" + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Domain Services.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "description": "An error response from the Domain Services.", + "$ref": "#/definitions/CloudErrorBody" + } + }, + "description": "An error response from the Domain Services." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Domain Services." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DomainServiceNameParameter": { + "name": "domainServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the domain service.", + "x-ms-parameter-location": "method" + }, + "OuContainerNameParameter": { + "name": "ouContainerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the OuContainer.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateOuContainer.json index b1f755ea63f8..9e85e41659d7 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/CreateOuContainer.json @@ -1,100 +1,100 @@ -{ - "parameters": { - "api-version": "2020-01-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1", - "containerAccount": { - "accountName": "AccountName1", - "spn": "Spn1", - "password": "" - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2020-01-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1", + "containerAccount": { + "accountName": "AccountName1", + "spn": "Spn1", + "password": "" + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteOuContainer.json index ab7dec2f11de..742a4cddcd75 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/DeleteOuContainer.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "api-version": "2020-01-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful." - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - } -} +{ + "parameters": { + "api-version": "2020-01-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful." + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOuContainer.json index 90b57878c52d..2eaf4c27e30f 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/GetOuContainer.json @@ -1,39 +1,39 @@ -{ - "parameters": { - "api-version": "2020-01-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2020-01-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListOuContainers.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListOuContainers.json index 0153c95e3fed..0e2ea64f414d 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListOuContainers.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/ListOuContainers.json @@ -1,67 +1,67 @@ -{ - "parameters": { - "api-version": "2020-01-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "value": [ - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer2", - "name": "OuContainer.com/OuContainer2", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer2", - "accounts": [ - { - "accountName": "AccountName3", - "spn": "Spn3" - }, - { - "accountName": "AccountName4", - "spn": "Spn4" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2020-01-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "value": [ + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer2", + "name": "OuContainer.com/OuContainer2", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer2", + "accounts": [ + { + "accountName": "AccountName3", + "spn": "Spn3" + }, + { + "accountName": "AccountName4", + "spn": "Spn4" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateOuContainer.json index 4dd5262f3dc9..c1b2ca565201 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/examples/UpdateOuContainer.json @@ -1,72 +1,72 @@ -{ - "parameters": { - "api-version": "2020-01-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1", - "containerAccount": { - "accountName": "AccountName1", - "spn": "Spn1", - "password": "" - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "location": "westus", - "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2020-01-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1", + "containerAccount": { + "accountName": "AccountName1", + "spn": "Spn1", + "password": "" + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "location": "westus", + "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/oucontainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/oucontainer.json index c61923ab2617..1e1f27c3ef82 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/oucontainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2020-01-01/oucontainer.json @@ -1,608 +1,608 @@ -{ - "swagger": "2.0", - "info": { - "title": "Domain Services Resource Provider", - "description": "The AAD Domain Services API.", - "version": "2020-01-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Aad/operations": { - "get": { - "tags": [ - "OuContainer" - ], - "description": "Lists all the available OuContainer operations.", - "operationId": "OuContainerOperations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - } - } - }, - "x-ms-examples": { - "Get Operations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer": { - "get": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_List", - "summary": "List of OuContainers in DomainService instance", - "description": "The List of OuContainers in DomainService instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainerListResult" - } - } - }, - "x-ms-examples": { - "List of OuContainers": { - "$ref": "./examples/ListOuContainers.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}": { - "get": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Get", - "summary": "Get particular OuContainer in DomainService instance", - "description": "Get OuContainer in DomainService instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-examples": { - "List of OuContainers": { - "$ref": "./examples/GetOuContainer.json" - } - } - }, - "put": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Create", - "summary": "Create OuContainer", - "description": "The Create OuContainer operation creates a new OuContainer under the specified Domain Service instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - }, - { - "name": "containerAccount", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerAccount" - }, - "description": "Container Account Description." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation completed successfully.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create Domain Service": { - "$ref": "./examples/CreateOuContainer.json" - } - } - }, - "delete": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Delete", - "summary": "Delete OuContainer", - "description": "The Delete OuContainer operation deletes specified OuContainer.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful." - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete OuContainer": { - "$ref": "./examples/DeleteOuContainer.json" - } - } - }, - "patch": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Update", - "summary": "Update OuContainer (PATCH Resource)", - "description": "The Update OuContainer operation can be used to update the existing OuContainers.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - }, - { - "name": "containerAccount", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerAccount" - }, - "description": "Container Account Description." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update Domain Service": { - "$ref": "./examples/UpdateOuContainer.json" - } - } - } - } - }, - "definitions": { - "Resource": { - "description": "The Resource model definition.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "etag": { - "type": "string", - "description": "Resource etag" - } - }, - "x-ms-azure-resource": true - }, - "OuContainerListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OuContainer" - }, - "description": "The list of OuContainer." - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - }, - "description": "The response from the List OuContainer operation." - }, - "OuContainer": { - "description": "Resource for OuContainer.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/OuContainerProperties", - "description": "OuContainer properties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "OuContainerProperties": { - "description": "Properties of the OuContainer.", - "properties": { - "tenantId": { - "readOnly": true, - "type": "string", - "description": "Azure Active Directory tenant id" - }, - "domainName": { - "readOnly": true, - "type": "string", - "description": "The domain name of Domain Services." - }, - "deploymentId": { - "readOnly": true, - "type": "string", - "description": "The Deployment id" - }, - "containerId": { - "readOnly": true, - "type": "string", - "description": "The OuContainer name" - }, - "accounts": { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerAccount", - "description": "Container Account" - }, - "description": "The list of container accounts" - }, - "serviceStatus": { - "readOnly": true, - "type": "string", - "description": "Status of OuContainer instance" - }, - "distinguishedName": { - "readOnly": true, - "type": "string", - "description": "Distinguished Name of OuContainer instance" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The current deployment or provisioning state, which only appears in the response." - } - } - }, - "ContainerAccount": { - "description": "Container Account Description", - "properties": { - "accountName": { - "type": "string", - "description": "The account name" - }, - "spn": { - "type": "string", - "description": "The account spn" - }, - "password": { - "type": "string", - "description": "The account password" - } - } - }, - "OperationEntityListResult": { - "description": "The list of domain service operation response.", - "type": "object", - "properties": { - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - } - }, - "OperationEntity": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by Domain Services." - }, - "origin": { - "description": "The origin of the operation.", - "type": "string" - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Domain Services.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "description": "An error response from the Domain Services.", - "$ref": "#/definitions/CloudErrorBody" - } - }, - "description": "An error response from the Domain Services." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Domain Services." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "DomainServiceNameParameter": { - "name": "domainServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the domain service.", - "x-ms-parameter-location": "method" - }, - "OuContainerNameParameter": { - "name": "ouContainerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the OuContainer.", - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "title": "Domain Services Resource Provider", + "description": "The AAD Domain Services API.", + "version": "2020-01-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Aad/operations": { + "get": { + "tags": [ + "OuContainer" + ], + "description": "Lists all the available OuContainer operations.", + "operationId": "OuContainerOperations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" + } + } + }, + "x-ms-examples": { + "Get Operations": { + "$ref": "./examples/GetOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer": { + "get": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_List", + "summary": "List of OuContainers in DomainService instance", + "description": "The List of OuContainers in DomainService instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainerListResult" + } + } + }, + "x-ms-examples": { + "List of OuContainers": { + "$ref": "./examples/ListOuContainers.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}": { + "get": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Get", + "summary": "Get particular OuContainer in DomainService instance", + "description": "Get OuContainer in DomainService instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-examples": { + "List of OuContainers": { + "$ref": "./examples/GetOuContainer.json" + } + } + }, + "put": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Create", + "summary": "Create OuContainer", + "description": "The Create OuContainer operation creates a new OuContainer under the specified Domain Service instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + }, + { + "name": "containerAccount", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerAccount" + }, + "description": "Container Account Description." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation completed successfully.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Domain Service": { + "$ref": "./examples/CreateOuContainer.json" + } + } + }, + "delete": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Delete", + "summary": "Delete OuContainer", + "description": "The Delete OuContainer operation deletes specified OuContainer.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful." + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete OuContainer": { + "$ref": "./examples/DeleteOuContainer.json" + } + } + }, + "patch": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Update", + "summary": "Update OuContainer (PATCH Resource)", + "description": "The Update OuContainer operation can be used to update the existing OuContainers.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + }, + { + "name": "containerAccount", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerAccount" + }, + "description": "Container Account Description." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update Domain Service": { + "$ref": "./examples/UpdateOuContainer.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "etag": { + "type": "string", + "description": "Resource etag" + } + }, + "x-ms-azure-resource": true + }, + "OuContainerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OuContainer" + }, + "description": "The list of OuContainer." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response from the List OuContainer operation." + }, + "OuContainer": { + "description": "Resource for OuContainer.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OuContainerProperties", + "description": "OuContainer properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "OuContainerProperties": { + "description": "Properties of the OuContainer.", + "properties": { + "tenantId": { + "readOnly": true, + "type": "string", + "description": "Azure Active Directory tenant id" + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "The domain name of Domain Services." + }, + "deploymentId": { + "readOnly": true, + "type": "string", + "description": "The Deployment id" + }, + "containerId": { + "readOnly": true, + "type": "string", + "description": "The OuContainer name" + }, + "accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerAccount", + "description": "Container Account" + }, + "description": "The list of container accounts" + }, + "serviceStatus": { + "readOnly": true, + "type": "string", + "description": "Status of OuContainer instance" + }, + "distinguishedName": { + "readOnly": true, + "type": "string", + "description": "Distinguished Name of OuContainer instance" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response." + } + } + }, + "ContainerAccount": { + "description": "Container Account Description", + "properties": { + "accountName": { + "type": "string", + "description": "The account name" + }, + "spn": { + "type": "string", + "description": "The account spn" + }, + "password": { + "type": "string", + "description": "The account password" + } + } + }, + "OperationEntityListResult": { + "description": "The list of domain service operation response.", + "type": "object", + "properties": { + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + } + }, + "OperationEntity": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by Domain Services." + }, + "origin": { + "description": "The origin of the operation.", + "type": "string" + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Domain Services.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "description": "An error response from the Domain Services.", + "$ref": "#/definitions/CloudErrorBody" + } + }, + "description": "An error response from the Domain Services." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Domain Services." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DomainServiceNameParameter": { + "name": "domainServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the domain service.", + "x-ms-parameter-location": "method" + }, + "OuContainerNameParameter": { + "name": "ouContainerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the OuContainer.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/domainservices.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/domainservices.json index 95068505ec49..4117c3dd19dd 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/domainservices.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/domainservices.json @@ -1,1038 +1,1038 @@ -{ - "swagger": "2.0", - "info": { - "title": "Domain Services Resource Provider", - "description": "The AAD Domain Services API.", - "version": "2021-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.AAD/operations": { - "get": { - "tags": [ - "DomainServices" - ], - "description": "Lists all the available Domain Services operations.", - "operationId": "DomainServiceOperations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get Operations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices": { - "get": { - "tags": [ - "DomainServices" - ], - "operationId": "DomainServices_List", - "summary": "List Domain Services in Subscription", - "description": "The List Domain Services in Subscription operation lists all the domain services available under the given subscription (and across all resource groups within that subscription).", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/DomainServiceListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Domain Service": { - "$ref": "./examples/ListDomainServicesBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices": { - "get": { - "tags": [ - "DomainServices" - ], - "operationId": "DomainServices_ListByResourceGroup", - "summary": "List Domain Services in Resource Group", - "description": "The List Domain Services in Resource Group operation lists all the domain services available under the given resource group.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/DomainServiceListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Domain Service": { - "$ref": "./examples/ListDomainServicesByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}": { - "put": { - "tags": [ - "DomainServices" - ], - "operationId": "DomainServices_CreateOrUpdate", - "summary": "Create or Update Domain Service (PUT Resource)", - "description": "The Create Domain Service operation creates a new domain service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "name": "domainService", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DomainService" - }, - "description": "Properties supplied to the Create or Update a Domain Service operation." - } - ], - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/DomainService" - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation completed successfully.", - "schema": { - "$ref": "#/definitions/DomainService" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/DomainService" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create Domain Service": { - "$ref": "./examples/CreateDomainService.json" - } - } - }, - "get": { - "tags": [ - "DomainServices" - ], - "operationId": "DomainServices_Get", - "summary": "Get Domain Service", - "description": "The Get Domain Service operation retrieves a json representation of the Domain Service.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/DomainService" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get Domain Service": { - "$ref": "./examples/GetDomainService.json" - } - } - }, - "delete": { - "tags": [ - "DomainServices" - ], - "operationId": "DomainServices_Delete", - "summary": "Delete Domain Service (DELETE Resource)", - "description": "The Delete Domain Service operation deletes an existing Domain Service.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - } - ], - "responses": { - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete Domain Service": { - "$ref": "./examples/DeleteDomainService.json" - } - } - }, - "patch": { - "tags": [ - "DomainServices" - ], - "operationId": "DomainServices_Update", - "summary": "Update Domain Service (PATCH Resource)", - "description": "The Update Domain Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "name": "domainService", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DomainService" - }, - "description": "Properties supplied to the Update a Domain Service operation." - } - ], - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/DomainService" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/DomainService" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update Domain Service": { - "$ref": "./examples/UpdateDomainService.json" - } - } - } - } - }, - "definitions": { - "Resource": { - "description": "The Resource model definition.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "etag": { - "type": "string", - "description": "Resource etag" - }, - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - } - }, - "x-ms-azure-resource": true - }, - "DomainService": { - "description": "Domain service.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DomainServiceProperties", - "description": "Domain service properties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "DomainServiceListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DomainService" - }, - "description": "the list of domain services." - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - }, - "description": "The response from the List Domain Services operation." - }, - "DomainServiceProperties": { - "description": "Properties of the Domain Service.", - "properties": { - "version": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "Data Model Version" - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "Azure Active Directory Tenant Id" - }, - "domainName": { - "type": "string", - "description": "The name of the Azure domain that the user would like to deploy Domain Services to." - }, - "deploymentId": { - "readOnly": true, - "type": "string", - "description": "Deployment Id" - }, - "syncOwner": { - "readOnly": true, - "type": "string", - "description": "SyncOwner ReplicaSet Id" - }, - "replicaSets": { - "type": "array", - "items": { - "$ref": "#/definitions/ReplicaSet", - "description": "ReplicaSet" - }, - "description": "List of ReplicaSets" - }, - "ldapsSettings": { - "$ref": "#/definitions/LdapsSettings", - "description": "Secure LDAP Settings" - }, - "resourceForestSettings": { - "$ref": "#/definitions/ResourceForestSettings", - "description": "Resource Forest Settings" - }, - "domainSecuritySettings": { - "$ref": "#/definitions/DomainSecuritySettings", - "description": "DomainSecurity Settings" - }, - "domainConfigurationType": { - "type": "string", - "description": "Domain Configuration Type" - }, - "sku": { - "type": "string", - "description": "Sku Type" - }, - "filteredSync": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "description": "Enabled or Disabled flag to turn on Group-based filtered sync", - "x-ms-enum": { - "name": "FilteredSync", - "modelAsString": true - } - }, - "notificationSettings": { - "$ref": "#/definitions/NotificationSettings", - "description": "Notification Settings" - }, - "migrationProperties": { - "readOnly": true, - "$ref": "#/definitions/MigrationProperties", - "description": "Migration Properties" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "the current deployment or provisioning state, which only appears in the response." - } - } - }, - "ReplicaSet": { - "description": "Replica Set Definition", - "properties": { - "replicaSetId": { - "readOnly": true, - "type": "string", - "description": "ReplicaSet Id" - }, - "location": { - "type": "string", - "description": "Virtual network location" - }, - "vnetSiteId": { - "readOnly": true, - "type": "string", - "description": "Virtual network site id" - }, - "subnetId": { - "type": "string", - "description": "The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName." - }, - "domainControllerIpAddress": { - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "description": "Domain Controller IP Address" - }, - "description": "List of Domain Controller IP Address" - }, - "externalAccessIpAddress": { - "readOnly": true, - "type": "string", - "description": "External access ip address." - }, - "serviceStatus": { - "readOnly": true, - "type": "string", - "description": "Status of Domain Service instance" - }, - "healthLastEvaluated": { - "readOnly": true, - "type": "string", - "format": "date-time-rfc1123", - "description": "Last domain evaluation run DateTime" - }, - "healthMonitors": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/HealthMonitor", - "description": "Domain Health Monitors" - }, - "description": "List of Domain Health Monitors" - }, - "healthAlerts": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/HealthAlert", - "description": "Domain Health Alerts" - }, - "description": "List of Domain Health Alerts" - } - } - }, - "LdapsSettings": { - "description": "Secure LDAP Settings", - "properties": { - "ldaps": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Disabled", - "description": "A flag to determine whether or not Secure LDAP is enabled or disabled.", - "x-ms-enum": { - "name": "Ldaps", - "modelAsString": true - } - }, - "pfxCertificate": { - "type": "string", - "description": "The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file." - }, - "pfxCertificatePassword": { - "type": "string", - "description": "The password to decrypt the provided Secure LDAP certificate pfx file." - }, - "publicCertificate": { - "readOnly": true, - "type": "string", - "description": "Public certificate used to configure secure ldap." - }, - "certificateThumbprint": { - "readOnly": true, - "type": "string", - "description": "Thumbprint of configure ldaps certificate." - }, - "certificateNotAfter": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "NotAfter DateTime of configure ldaps certificate." - }, - "externalAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Disabled", - "description": "A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled.", - "x-ms-enum": { - "name": "ExternalAccess", - "modelAsString": true - } - } - } - }, - "HealthMonitor": { - "description": "Health Monitor Description", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Health Monitor Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Health Monitor Name" - }, - "details": { - "readOnly": true, - "type": "string", - "description": "Health Monitor Details" - } - } - }, - "HealthAlert": { - "description": "Health Alert Description", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Health Alert Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Health Alert Name" - }, - "issue": { - "readOnly": true, - "type": "string", - "description": "Health Alert Issue" - }, - "severity": { - "readOnly": true, - "type": "string", - "description": "Health Alert Severity" - }, - "raised": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Health Alert Raised DateTime" - }, - "lastDetected": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Health Alert Last Detected DateTime" - }, - "resolutionUri": { - "readOnly": true, - "type": "string", - "description": "Health Alert TSG Link" - } - } - }, - "NotificationSettings": { - "description": "Settings for notification", - "properties": { - "notifyGlobalAdmins": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "description": "Should global admins be notified", - "x-ms-enum": { - "name": "notifyGlobalAdmins", - "modelAsString": true - } - }, - "notifyDcAdmins": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "description": "Should domain controller admins be notified", - "x-ms-enum": { - "name": "notifyDcAdmins", - "modelAsString": true - } - }, - "additionalRecipients": { - "type": "array", - "items": { - "type": "string", - "description": "Email address for additional recipient" - }, - "description": "The list of additional recipients" - } - } - }, - "ResourceForestSettings": { - "description": "Settings for Resource Forest", - "properties": { - "settings": { - "type": "array", - "items": { - "$ref": "#/definitions/ForestTrust" - }, - "description": "List of settings for Resource Forest" - }, - "resourceForest": { - "type": "string", - "description": "Resource Forest" - } - } - }, - "ForestTrust": { - "description": "Forest Trust Setting", - "properties": { - "trustedDomainFqdn": { - "type": "string", - "description": "Trusted Domain FQDN" - }, - "trustDirection": { - "type": "string", - "description": "Trust Direction" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "remoteDnsIps": { - "type": "string", - "description": "Remote Dns ips" - }, - "trustPassword": { - "type": "string", - "description": "Trust Password", - "x-ms-secret": true - } - } - }, - "MigrationProperties": { - "description": "Migration Properties", - "properties": { - "oldSubnetId": { - "readOnly": true, - "type": "string", - "description": "Old Subnet Id" - }, - "oldVnetSiteId": { - "readOnly": true, - "type": "string", - "description": "Old Vnet Site Id" - }, - "migrationProgress": { - "readOnly": true, - "$ref": "#/definitions/MigrationProgress", - "description": "Migration Progress" - } - } - }, - "MigrationProgress": { - "description": "Migration Progress", - "properties": { - "completionPercentage": { - "type": "number", - "format": "double", - "description": "Completion Percentage" - }, - "progressMessage": { - "type": "string", - "description": "Progress Message" - } - } - }, - "DomainSecuritySettings": { - "description": "Domain Security Settings", - "properties": { - "ntlmV1": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "description": "A flag to determine whether or not NtlmV1 is enabled or disabled.", - "x-ms-enum": { - "name": "NtlmV1", - "modelAsString": true - } - }, - "tlsV1": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "description": "A flag to determine whether or not TlsV1 is enabled or disabled.", - "x-ms-enum": { - "name": "TlsV1", - "modelAsString": true - } - }, - "syncNtlmPasswords": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "description": "A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.", - "x-ms-enum": { - "name": "SyncNtlmPasswords", - "modelAsString": true - } - }, - "syncKerberosPasswords": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "description": "A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.", - "x-ms-enum": { - "name": "SyncKerberosPasswords", - "modelAsString": true - } - }, - "syncOnPremPasswords": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "description": "A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.", - "x-ms-enum": { - "name": "SyncOnPremPasswords", - "modelAsString": true - } - }, - "kerberosRc4Encryption": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "description": "A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.", - "x-ms-enum": { - "name": "KerberosRc4Encryption", - "modelAsString": true - } - }, - "kerberosArmoring": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Disabled", - "description": "A flag to determine whether or not KerberosArmoring is enabled or disabled.", - "x-ms-enum": { - "name": "KerberosArmoring", - "modelAsString": true - } - } - } - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "description": "An error response from the Domain Services.", - "$ref": "#/definitions/CloudErrorBody" - } - }, - "description": "An error response from the Domain Services." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Domain Services." - }, - "OperationEntityListResult": { - "description": "The list of domain service operation response.", - "type": "object", - "properties": { - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - } - }, - "OperationEntity": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by Domain Services." - }, - "origin": { - "description": "The origin of the operation.", - "type": "string" - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Domain Services.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "DomainServiceNameParameter": { - "name": "domainServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the domain service.", - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "title": "Domain Services Resource Provider", + "description": "The AAD Domain Services API.", + "version": "2021-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.AAD/operations": { + "get": { + "tags": [ + "DomainServices" + ], + "description": "Lists all the available Domain Services operations.", + "operationId": "DomainServiceOperations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Operations": { + "$ref": "./examples/GetOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices": { + "get": { + "tags": [ + "DomainServices" + ], + "operationId": "DomainServices_List", + "summary": "List Domain Services in Subscription", + "description": "The List Domain Services in Subscription operation lists all the domain services available under the given subscription (and across all resource groups within that subscription).", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/DomainServiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Domain Service": { + "$ref": "./examples/ListDomainServicesBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices": { + "get": { + "tags": [ + "DomainServices" + ], + "operationId": "DomainServices_ListByResourceGroup", + "summary": "List Domain Services in Resource Group", + "description": "The List Domain Services in Resource Group operation lists all the domain services available under the given resource group.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/DomainServiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Domain Service": { + "$ref": "./examples/ListDomainServicesByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}": { + "put": { + "tags": [ + "DomainServices" + ], + "operationId": "DomainServices_CreateOrUpdate", + "summary": "Create or Update Domain Service (PUT Resource)", + "description": "The Create Domain Service operation creates a new domain service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "name": "domainService", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainService" + }, + "description": "Properties supplied to the Create or Update a Domain Service operation." + } + ], + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/DomainService" + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation completed successfully.", + "schema": { + "$ref": "#/definitions/DomainService" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DomainService" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Domain Service": { + "$ref": "./examples/CreateDomainService.json" + } + } + }, + "get": { + "tags": [ + "DomainServices" + ], + "operationId": "DomainServices_Get", + "summary": "Get Domain Service", + "description": "The Get Domain Service operation retrieves a json representation of the Domain Service.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + } + ], + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/DomainService" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Domain Service": { + "$ref": "./examples/GetDomainService.json" + } + } + }, + "delete": { + "tags": [ + "DomainServices" + ], + "operationId": "DomainServices_Delete", + "summary": "Delete Domain Service (DELETE Resource)", + "description": "The Delete Domain Service operation deletes an existing Domain Service.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + } + ], + "responses": { + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Domain Service": { + "$ref": "./examples/DeleteDomainService.json" + } + } + }, + "patch": { + "tags": [ + "DomainServices" + ], + "operationId": "DomainServices_Update", + "summary": "Update Domain Service (PATCH Resource)", + "description": "The Update Domain Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "name": "domainService", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DomainService" + }, + "description": "Properties supplied to the Update a Domain Service operation." + } + ], + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/DomainService" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DomainService" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update Domain Service": { + "$ref": "./examples/UpdateDomainService.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "etag": { + "type": "string", + "description": "Resource etag" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "x-ms-azure-resource": true + }, + "DomainService": { + "description": "Domain service.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DomainServiceProperties", + "description": "Domain service properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "DomainServiceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DomainService" + }, + "description": "the list of domain services." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response from the List Domain Services operation." + }, + "DomainServiceProperties": { + "description": "Properties of the Domain Service.", + "properties": { + "version": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Data Model Version" + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "Azure Active Directory Tenant Id" + }, + "domainName": { + "type": "string", + "description": "The name of the Azure domain that the user would like to deploy Domain Services to." + }, + "deploymentId": { + "readOnly": true, + "type": "string", + "description": "Deployment Id" + }, + "syncOwner": { + "readOnly": true, + "type": "string", + "description": "SyncOwner ReplicaSet Id" + }, + "replicaSets": { + "type": "array", + "items": { + "$ref": "#/definitions/ReplicaSet", + "description": "ReplicaSet" + }, + "description": "List of ReplicaSets" + }, + "ldapsSettings": { + "$ref": "#/definitions/LdapsSettings", + "description": "Secure LDAP Settings" + }, + "resourceForestSettings": { + "$ref": "#/definitions/ResourceForestSettings", + "description": "Resource Forest Settings" + }, + "domainSecuritySettings": { + "$ref": "#/definitions/DomainSecuritySettings", + "description": "DomainSecurity Settings" + }, + "domainConfigurationType": { + "type": "string", + "description": "Domain Configuration Type" + }, + "sku": { + "type": "string", + "description": "Sku Type" + }, + "filteredSync": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "description": "Enabled or Disabled flag to turn on Group-based filtered sync", + "x-ms-enum": { + "name": "FilteredSync", + "modelAsString": true + } + }, + "notificationSettings": { + "$ref": "#/definitions/NotificationSettings", + "description": "Notification Settings" + }, + "migrationProperties": { + "readOnly": true, + "$ref": "#/definitions/MigrationProperties", + "description": "Migration Properties" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "the current deployment or provisioning state, which only appears in the response." + } + } + }, + "ReplicaSet": { + "description": "Replica Set Definition", + "properties": { + "replicaSetId": { + "readOnly": true, + "type": "string", + "description": "ReplicaSet Id" + }, + "location": { + "type": "string", + "description": "Virtual network location" + }, + "vnetSiteId": { + "readOnly": true, + "type": "string", + "description": "Virtual network site id" + }, + "subnetId": { + "type": "string", + "description": "The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName." + }, + "domainControllerIpAddress": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "description": "Domain Controller IP Address" + }, + "description": "List of Domain Controller IP Address" + }, + "externalAccessIpAddress": { + "readOnly": true, + "type": "string", + "description": "External access ip address." + }, + "serviceStatus": { + "readOnly": true, + "type": "string", + "description": "Status of Domain Service instance" + }, + "healthLastEvaluated": { + "readOnly": true, + "type": "string", + "format": "date-time-rfc1123", + "description": "Last domain evaluation run DateTime" + }, + "healthMonitors": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/HealthMonitor", + "description": "Domain Health Monitors" + }, + "description": "List of Domain Health Monitors" + }, + "healthAlerts": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/HealthAlert", + "description": "Domain Health Alerts" + }, + "description": "List of Domain Health Alerts" + } + } + }, + "LdapsSettings": { + "description": "Secure LDAP Settings", + "properties": { + "ldaps": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Disabled", + "description": "A flag to determine whether or not Secure LDAP is enabled or disabled.", + "x-ms-enum": { + "name": "Ldaps", + "modelAsString": true + } + }, + "pfxCertificate": { + "type": "string", + "description": "The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file." + }, + "pfxCertificatePassword": { + "type": "string", + "description": "The password to decrypt the provided Secure LDAP certificate pfx file." + }, + "publicCertificate": { + "readOnly": true, + "type": "string", + "description": "Public certificate used to configure secure ldap." + }, + "certificateThumbprint": { + "readOnly": true, + "type": "string", + "description": "Thumbprint of configure ldaps certificate." + }, + "certificateNotAfter": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "NotAfter DateTime of configure ldaps certificate." + }, + "externalAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Disabled", + "description": "A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled.", + "x-ms-enum": { + "name": "ExternalAccess", + "modelAsString": true + } + } + } + }, + "HealthMonitor": { + "description": "Health Monitor Description", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Health Monitor Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Health Monitor Name" + }, + "details": { + "readOnly": true, + "type": "string", + "description": "Health Monitor Details" + } + } + }, + "HealthAlert": { + "description": "Health Alert Description", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Health Alert Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Health Alert Name" + }, + "issue": { + "readOnly": true, + "type": "string", + "description": "Health Alert Issue" + }, + "severity": { + "readOnly": true, + "type": "string", + "description": "Health Alert Severity" + }, + "raised": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Health Alert Raised DateTime" + }, + "lastDetected": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Health Alert Last Detected DateTime" + }, + "resolutionUri": { + "readOnly": true, + "type": "string", + "description": "Health Alert TSG Link" + } + } + }, + "NotificationSettings": { + "description": "Settings for notification", + "properties": { + "notifyGlobalAdmins": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "description": "Should global admins be notified", + "x-ms-enum": { + "name": "notifyGlobalAdmins", + "modelAsString": true + } + }, + "notifyDcAdmins": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "description": "Should domain controller admins be notified", + "x-ms-enum": { + "name": "notifyDcAdmins", + "modelAsString": true + } + }, + "additionalRecipients": { + "type": "array", + "items": { + "type": "string", + "description": "Email address for additional recipient" + }, + "description": "The list of additional recipients" + } + } + }, + "ResourceForestSettings": { + "description": "Settings for Resource Forest", + "properties": { + "settings": { + "type": "array", + "items": { + "$ref": "#/definitions/ForestTrust" + }, + "description": "List of settings for Resource Forest" + }, + "resourceForest": { + "type": "string", + "description": "Resource Forest" + } + } + }, + "ForestTrust": { + "description": "Forest Trust Setting", + "properties": { + "trustedDomainFqdn": { + "type": "string", + "description": "Trusted Domain FQDN" + }, + "trustDirection": { + "type": "string", + "description": "Trust Direction" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "remoteDnsIps": { + "type": "string", + "description": "Remote Dns ips" + }, + "trustPassword": { + "type": "string", + "description": "Trust Password", + "x-ms-secret": true + } + } + }, + "MigrationProperties": { + "description": "Migration Properties", + "properties": { + "oldSubnetId": { + "readOnly": true, + "type": "string", + "description": "Old Subnet Id" + }, + "oldVnetSiteId": { + "readOnly": true, + "type": "string", + "description": "Old Vnet Site Id" + }, + "migrationProgress": { + "readOnly": true, + "$ref": "#/definitions/MigrationProgress", + "description": "Migration Progress" + } + } + }, + "MigrationProgress": { + "description": "Migration Progress", + "properties": { + "completionPercentage": { + "type": "number", + "format": "double", + "description": "Completion Percentage" + }, + "progressMessage": { + "type": "string", + "description": "Progress Message" + } + } + }, + "DomainSecuritySettings": { + "description": "Domain Security Settings", + "properties": { + "ntlmV1": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "A flag to determine whether or not NtlmV1 is enabled or disabled.", + "x-ms-enum": { + "name": "NtlmV1", + "modelAsString": true + } + }, + "tlsV1": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "A flag to determine whether or not TlsV1 is enabled or disabled.", + "x-ms-enum": { + "name": "TlsV1", + "modelAsString": true + } + }, + "syncNtlmPasswords": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.", + "x-ms-enum": { + "name": "SyncNtlmPasswords", + "modelAsString": true + } + }, + "syncKerberosPasswords": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.", + "x-ms-enum": { + "name": "SyncKerberosPasswords", + "modelAsString": true + } + }, + "syncOnPremPasswords": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.", + "x-ms-enum": { + "name": "SyncOnPremPasswords", + "modelAsString": true + } + }, + "kerberosRc4Encryption": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.", + "x-ms-enum": { + "name": "KerberosRc4Encryption", + "modelAsString": true + } + }, + "kerberosArmoring": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Disabled", + "description": "A flag to determine whether or not KerberosArmoring is enabled or disabled.", + "x-ms-enum": { + "name": "KerberosArmoring", + "modelAsString": true + } + } + } + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "description": "An error response from the Domain Services.", + "$ref": "#/definitions/CloudErrorBody" + } + }, + "description": "An error response from the Domain Services." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Domain Services." + }, + "OperationEntityListResult": { + "description": "The list of domain service operation response.", + "type": "object", + "properties": { + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + } + }, + "OperationEntity": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by Domain Services." + }, + "origin": { + "description": "The origin of the operation.", + "type": "string" + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Domain Services.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DomainServiceNameParameter": { + "name": "domainServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the domain service.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateDomainService.json index d379ae5471d4..ff0238a0dcae 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateDomainService.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateDomainService.json @@ -1,181 +1,181 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "TestResourceGroup", - "domainServiceName": "TestDomainService.com", - "domainService": { - "properties": { - "domainName": "TestDomainService.com", - "replicaSets": [ - { - "location": "West US", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "pfxCertificatePassword": "", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - } - } - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "externalAccessIpAddress": "13.64.148.151", - "serviceStatus": "Running" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation completed successfully.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "externalAccessIpAddress": "13.64.148.151", - "serviceStatus": "Running" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "replicaSets": [ - { - "location": "West US", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Accepted" - } - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "TestResourceGroup", + "domainServiceName": "TestDomainService.com", + "domainService": { + "properties": { + "domainName": "TestDomainService.com", + "replicaSets": [ + { + "location": "West US", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "pfxCertificatePassword": "", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + } + } + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "externalAccessIpAddress": "13.64.148.151", + "serviceStatus": "Running" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation completed successfully.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "externalAccessIpAddress": "13.64.148.151", + "serviceStatus": "Running" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "replicaSets": [ + { + "location": "West US", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateOuContainer.json index 7f434016e9cd..86df92943039 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/CreateOuContainer.json @@ -1,94 +1,94 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1", - "containerAccount": { - "accountName": "AccountName1", - "spn": "Spn1", - "password": "" - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1", + "containerAccount": { + "accountName": "AccountName1", + "spn": "Spn1", + "password": "" + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteDomainService.json index 7c8f7f479605..d0027523f5aa 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteDomainService.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteDomainService.json @@ -1,16 +1,16 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "TestResourceGroup", - "domainServiceName": "TestDomainService.com" - }, - "responses": { - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "TestResourceGroup", + "domainServiceName": "TestDomainService.com" + }, + "responses": { + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteOuContainer.json index 0456d858fadf..9f3c63e876a0 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/DeleteOuContainer.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful." - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful." + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetDomainService.json index 6d18688a51e7..28d38fb8d575 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetDomainService.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetDomainService.json @@ -1,85 +1,85 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "TestResourceGroup", - "domainServiceName": "TestDomainService.com" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "externalAccessIpAddress": "13.64.148.151", - "serviceStatus": "Running", - "healthLastEvaluated": "2018-02-15T21:43:21Z", - "healthMonitors": [ - { - "id": "AADDS501", - "name": "Backup", - "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT" - }, - { - "id": "AADDS500", - "name": "Synchronization with Azure AD", - "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT." - } - ], - "healthAlerts": [ - { - "id": "AADDS104", - "name": "The managed domain is experiencing a network error", - "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.", - "severity": "2", - "raised": "2018-09-18T01:55:40.7834289Z", - "lastDetected": "2018-09-18T17:46:39.2697888Z", - "resolutionUri": "https://aka.ms/aadds-neterr" - } - ] - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "TestResourceGroup", + "domainServiceName": "TestDomainService.com" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "externalAccessIpAddress": "13.64.148.151", + "serviceStatus": "Running", + "healthLastEvaluated": "2018-02-15T21:43:21Z", + "healthMonitors": [ + { + "id": "AADDS501", + "name": "Backup", + "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT" + }, + { + "id": "AADDS500", + "name": "Synchronization with Azure AD", + "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT." + } + ], + "healthAlerts": [ + { + "id": "AADDS104", + "name": "The managed domain is experiencing a network error", + "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.", + "severity": "2", + "raised": "2018-09-18T01:55:40.7834289Z", + "lastDetected": "2018-09-18T17:46:39.2697888Z", + "resolutionUri": "https://aka.ms/aadds-neterr" + } + ] + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOperations.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOperations.json index b2e945fc2047..df9537d5c20f 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOperations.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOperations.json @@ -1,63 +1,63 @@ -{ - "parameters": { - "api-version": "2021-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.AAD/unregister/action", - "display": { - "provider": "Domain Services Resource Provider", - "resource": "Domain Service Type", - "operation": "Unregister Domain Service", - "description": "Unregisters Domain Services" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AAD/register/action", - "display": { - "provider": "Domain Services Resource Provider", - "resource": "Domain Service Type", - "operation": "Register Domain Service", - "description": "Registers Domain Services" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AAD/domainServices/read", - "display": { - "provider": "Domain Services Resource Provider", - "resource": "Domain Service Type", - "operation": "Read Domain Service", - "description": "Reads Domain Services" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AAD/domainServices/write", - "display": { - "provider": "Domain Services Resource Provider", - "resource": "Domain Service Type", - "operation": "Write Domain Service", - "description": "Writes Domain Services" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AAD/domainServices/delete", - "display": { - "provider": "Domain Services Resource Provider", - "resource": "Domain Service Type", - "operation": "Delete Domain Service", - "description": "Deletes Domain Services" - }, - "origin": "user,system" - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AAD/unregister/action", + "display": { + "provider": "Domain Services Resource Provider", + "resource": "Domain Service Type", + "operation": "Unregister Domain Service", + "description": "Unregisters Domain Services" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AAD/register/action", + "display": { + "provider": "Domain Services Resource Provider", + "resource": "Domain Service Type", + "operation": "Register Domain Service", + "description": "Registers Domain Services" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AAD/domainServices/read", + "display": { + "provider": "Domain Services Resource Provider", + "resource": "Domain Service Type", + "operation": "Read Domain Service", + "description": "Reads Domain Services" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AAD/domainServices/write", + "display": { + "provider": "Domain Services Resource Provider", + "resource": "Domain Service Type", + "operation": "Write Domain Service", + "description": "Writes Domain Services" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AAD/domainServices/delete", + "display": { + "provider": "Domain Services Resource Provider", + "resource": "Domain Service Type", + "operation": "Delete Domain Service", + "description": "Deletes Domain Services" + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOuContainer.json index dd3326ec26a8..fe3e4df2c077 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/GetOuContainer.json @@ -1,37 +1,37 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesByResourceGroup.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesByResourceGroup.json index fc205fb008db..a9733d549191 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesByResourceGroup.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesByResourceGroup.json @@ -1,88 +1,88 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "TestResourceGroup" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "value": [ - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "externalAccessIpAddress": "13.64.148.151", - "serviceStatus": "Running", - "healthLastEvaluated": "2018-02-15T21:43:21Z", - "healthMonitors": [ - { - "id": "AADDS501", - "name": "Backup", - "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT" - }, - { - "id": "AADDS500", - "name": "Synchronization with Azure AD", - "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT." - } - ], - "healthAlerts": [ - { - "id": "AADDS104", - "name": "The managed domain is experiencing a network error", - "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.", - "severity": "2", - "raised": "2018-09-18T01:55:40.7834289Z", - "lastDetected": "2018-09-18T17:46:39.2697888Z", - "resolutionUri": "https://aka.ms/aadds-neterr" - } - ] - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "TestResourceGroup" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "value": [ + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "externalAccessIpAddress": "13.64.148.151", + "serviceStatus": "Running", + "healthLastEvaluated": "2018-02-15T21:43:21Z", + "healthMonitors": [ + { + "id": "AADDS501", + "name": "Backup", + "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT" + }, + { + "id": "AADDS500", + "name": "Synchronization with Azure AD", + "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT." + } + ], + "healthAlerts": [ + { + "id": "AADDS104", + "name": "The managed domain is experiencing a network error", + "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.", + "severity": "2", + "raised": "2018-09-18T01:55:40.7834289Z", + "lastDetected": "2018-09-18T17:46:39.2697888Z", + "resolutionUri": "https://aka.ms/aadds-neterr" + } + ] + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesBySubscription.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesBySubscription.json index c63945a218e4..00428ee0e7c9 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesBySubscription.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListDomainServicesBySubscription.json @@ -1,87 +1,87 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "value": [ - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "externalAccessIpAddress": "13.64.148.151", - "serviceStatus": "Running", - "healthLastEvaluated": "2018-02-15T21:43:21Z", - "healthMonitors": [ - { - "id": "AADDS501", - "name": "Backup", - "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT" - }, - { - "id": "AADDS500", - "name": "Synchronization with Azure AD", - "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT." - } - ], - "healthAlerts": [ - { - "id": "AADDS104", - "name": "The managed domain is experiencing a network error", - "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.", - "severity": "2", - "raised": "2018-09-18T01:55:40.7834289Z", - "lastDetected": "2018-09-18T17:46:39.2697888Z", - "resolutionUri": "https://aka.ms/aadds-neterr" - } - ] - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "value": [ + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "externalAccessIpAddress": "13.64.148.151", + "serviceStatus": "Running", + "healthLastEvaluated": "2018-02-15T21:43:21Z", + "healthMonitors": [ + { + "id": "AADDS501", + "name": "Backup", + "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT" + }, + { + "id": "AADDS500", + "name": "Synchronization with Azure AD", + "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT." + } + ], + "healthAlerts": [ + { + "id": "AADDS104", + "name": "The managed domain is experiencing a network error", + "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.", + "severity": "2", + "raised": "2018-09-18T01:55:40.7834289Z", + "lastDetected": "2018-09-18T17:46:39.2697888Z", + "resolutionUri": "https://aka.ms/aadds-neterr" + } + ] + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListOuContainers.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListOuContainers.json index 4086edb22c11..472219f272af 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListOuContainers.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/ListOuContainers.json @@ -1,63 +1,63 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com" - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "value": [ - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer2", - "name": "OuContainer.com/OuContainer2", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer2", - "accounts": [ - { - "accountName": "AccountName3", - "spn": "Spn3" - }, - { - "accountName": "AccountName4", - "spn": "Spn4" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com" + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "value": [ + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer2", + "name": "OuContainer.com/OuContainer2", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer2", + "accounts": [ + { + "accountName": "AccountName3", + "spn": "Spn3" + }, + { + "accountName": "AccountName4", + "spn": "Spn4" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateDomainService.json index c34d043bcecb..750a44c58683 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateDomainService.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateDomainService.json @@ -1,160 +1,160 @@ -{ - "parameters": { - "api-version": "2020-01-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "TestResourceGroup", - "domainServiceName": "TestDomainService.com", - "domainService": { - "properties": { - "replicaSets": [ - { - "location": "West US", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS" - }, - { - "location": "East US", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "pfxCertificatePassword": "", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - } - } - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "externalAccessIpAddress": "13.64.148.151", - "serviceStatus": "Running" - }, - { - "replicaSetId": "5057347d-cad1-4ec8-8db6-66cf7eedf4b8", - "location": "East US", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS", - "domainControllerIpAddress": [ - "10.0.0.3", - "10.0.0.4" - ], - "externalAccessIpAddress": "13.64.148.152", - "serviceStatus": "Running" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", - "name": "TestDomainService.com", - "type": "Microsoft.AAD/DomainServices", - "properties": { - "version": 2, - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "TestDomainService.com", - "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "replicaSets": [ - { - "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", - "location": "West US", - "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", - "domainControllerIpAddress": [ - "10.0.0.1", - "10.0.0.2" - ], - "serviceStatus": "Running" - }, - { - "location": "East US", - "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS" - } - ], - "ldapsSettings": { - "ldaps": "Enabled", - "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", - "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", - "certificateNotAfter": "2018-02-15T21:43:21Z", - "externalAccess": "Enabled" - }, - "domainSecuritySettings": { - "ntlmV1": "Enabled", - "tlsV1": "Disabled", - "syncNtlmPasswords": "Enabled" - }, - "filteredSync": "Enabled", - "notificationSettings": { - "notifyGlobalAdmins": "Enabled", - "notifyDcAdmins": "Enabled", - "additionalRecipients": [ - "jicha@microsoft.com", - "caalmont@microsoft.com" - ] - }, - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2020-01-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "TestResourceGroup", + "domainServiceName": "TestDomainService.com", + "domainService": { + "properties": { + "replicaSets": [ + { + "location": "West US", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS" + }, + { + "location": "East US", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "pfxCertificatePassword": "", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + } + } + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "externalAccessIpAddress": "13.64.148.151", + "serviceStatus": "Running" + }, + { + "replicaSetId": "5057347d-cad1-4ec8-8db6-66cf7eedf4b8", + "location": "East US", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS", + "domainControllerIpAddress": [ + "10.0.0.3", + "10.0.0.4" + ], + "externalAccessIpAddress": "13.64.148.152", + "serviceStatus": "Running" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com", + "name": "TestDomainService.com", + "type": "Microsoft.AAD/DomainServices", + "properties": { + "version": 2, + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "TestDomainService.com", + "deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "replicaSets": [ + { + "replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a", + "location": "West US", + "vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS", + "domainControllerIpAddress": [ + "10.0.0.1", + "10.0.0.2" + ], + "serviceStatus": "Running" + }, + { + "location": "East US", + "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetEUS/subnets/TestSubnetEUS" + } + ], + "ldapsSettings": { + "ldaps": "Enabled", + "publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...", + "certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3", + "certificateNotAfter": "2018-02-15T21:43:21Z", + "externalAccess": "Enabled" + }, + "domainSecuritySettings": { + "ntlmV1": "Enabled", + "tlsV1": "Disabled", + "syncNtlmPasswords": "Enabled" + }, + "filteredSync": "Enabled", + "notificationSettings": { + "notifyGlobalAdmins": "Enabled", + "notifyDcAdmins": "Enabled", + "additionalRecipients": [ + "jicha@microsoft.com", + "caalmont@microsoft.com" + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateOuContainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateOuContainer.json index f988fe56fa0c..fdfe70feff2f 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateOuContainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/examples/UpdateOuContainer.json @@ -1,68 +1,68 @@ -{ - "parameters": { - "api-version": "2021-03-01", - "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", - "resourceGroupName": "OuContainerResourceGroup", - "domainServiceName": "OuContainer.com", - "ouContainerName": "OuContainer1", - "containerAccount": { - "accountName": "AccountName1", - "spn": "Spn1", - "password": "" - } - }, - "responses": { - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "body": { - "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", - "name": "OuContainer.com/OuContainer1", - "type": "Microsoft.AAD/DomainServices/OuContainer", - "properties": { - "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", - "domainName": "OuContainer.com", - "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", - "containerId": "OuContainer1", - "accounts": [ - { - "accountName": "AccountName1", - "spn": "Spn1" - }, - { - "accountName": "AccountName2", - "spn": "Spn2" - } - ], - "serviceStatus": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2021-03-01", + "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d", + "resourceGroupName": "OuContainerResourceGroup", + "domainServiceName": "OuContainer.com", + "ouContainerName": "OuContainer1", + "containerAccount": { + "accountName": "AccountName1", + "spn": "Spn1", + "password": "" + } + }, + "responses": { + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "body": { + "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1", + "name": "OuContainer.com/OuContainer1", + "type": "Microsoft.AAD/DomainServices/OuContainer", + "properties": { + "tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def", + "domainName": "OuContainer.com", + "deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B", + "containerId": "OuContainer1", + "accounts": [ + { + "accountName": "AccountName1", + "spn": "Spn1" + }, + { + "accountName": "AccountName2", + "spn": "Spn2" + } + ], + "serviceStatus": "Running", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/oucontainer.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/oucontainer.json index ea6954575cfb..a637b9b0be74 100644 --- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/oucontainer.json +++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2021-03-01/oucontainer.json @@ -1,613 +1,613 @@ -{ - "swagger": "2.0", - "info": { - "title": "Domain Services Resource Provider", - "description": "The AAD Domain Services API.", - "version": "2021-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Aad/operations": { - "get": { - "tags": [ - "OuContainer" - ], - "description": "Lists all the available OuContainer operations.", - "operationId": "OuContainerOperations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - } - } - }, - "x-ms-examples": { - "Get Operations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer": { - "get": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_List", - "summary": "List of OuContainers in DomainService instance", - "description": "The List of OuContainers in DomainService instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainerListResult" - } - } - }, - "x-ms-examples": { - "List of OuContainers": { - "$ref": "./examples/ListOuContainers.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}": { - "get": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Get", - "summary": "Get particular OuContainer in DomainService instance", - "description": "Get OuContainer in DomainService instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-examples": { - "List of OuContainers": { - "$ref": "./examples/GetOuContainer.json" - } - } - }, - "put": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Create", - "summary": "Create OuContainer", - "description": "The Create OuContainer operation creates a new OuContainer under the specified Domain Service instance.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - }, - { - "name": "containerAccount", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerAccount" - }, - "description": "Container Account Description." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "201": { - "description": "HTTP 201 (Created) if the operation completed successfully.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create Domain Service": { - "$ref": "./examples/CreateOuContainer.json" - } - } - }, - "delete": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Delete", - "summary": "Delete OuContainer", - "description": "The Delete OuContainer operation deletes specified OuContainer.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful." - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - }, - "204": { - "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete OuContainer": { - "$ref": "./examples/DeleteOuContainer.json" - } - } - }, - "patch": { - "tags": [ - "OuContainer" - ], - "operationId": "OuContainer_Update", - "summary": "Update OuContainer (PATCH Resource)", - "description": "The Update OuContainer operation can be used to update the existing OuContainers.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DomainServiceNameParameter" - }, - { - "$ref": "#/parameters/OuContainerNameParameter" - }, - { - "name": "containerAccount", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerAccount" - }, - "description": "Container Account Description." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "200": { - "description": "HTTP 200 (OK) if the operation was successful.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - }, - "202": { - "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/OuContainer" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update Domain Service": { - "$ref": "./examples/UpdateOuContainer.json" - } - } - } - } - }, - "definitions": { - "Resource": { - "description": "The Resource model definition.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "etag": { - "type": "string", - "description": "Resource etag" - }, - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - } - }, - "x-ms-azure-resource": true - }, - "OuContainerListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OuContainer" - }, - "description": "The list of OuContainer." - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - }, - "description": "The response from the List OuContainer operation." - }, - "OuContainer": { - "description": "Resource for OuContainer.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/OuContainerProperties", - "description": "OuContainer properties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "OuContainerProperties": { - "description": "Properties of the OuContainer.", - "properties": { - "tenantId": { - "readOnly": true, - "type": "string", - "description": "Azure Active Directory tenant id" - }, - "domainName": { - "readOnly": true, - "type": "string", - "description": "The domain name of Domain Services." - }, - "deploymentId": { - "readOnly": true, - "type": "string", - "description": "The Deployment id" - }, - "containerId": { - "readOnly": true, - "type": "string", - "description": "The OuContainer name" - }, - "accounts": { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerAccount", - "description": "Container Account" - }, - "description": "The list of container accounts" - }, - "serviceStatus": { - "readOnly": true, - "type": "string", - "description": "Status of OuContainer instance" - }, - "distinguishedName": { - "readOnly": true, - "type": "string", - "description": "Distinguished Name of OuContainer instance" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The current deployment or provisioning state, which only appears in the response." - } - } - }, - "ContainerAccount": { - "description": "Container Account Description", - "properties": { - "accountName": { - "type": "string", - "description": "The account name" - }, - "spn": { - "type": "string", - "description": "The account spn" - }, - "password": { - "type": "string", - "description": "The account password" - } - } - }, - "OperationEntityListResult": { - "description": "The list of domain service operation response.", - "type": "object", - "properties": { - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - }, - "nextLink": { - "type": "string", - "description": "The continuation token for the next page of results.", - "readOnly": true - } - } - }, - "OperationEntity": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by Domain Services." - }, - "origin": { - "description": "The origin of the operation.", - "type": "string" - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by Domain Services.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Domain Services.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "description": "An error response from the Domain Services.", - "$ref": "#/definitions/CloudErrorBody" - } - }, - "description": "An error response from the Domain Services." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Domain Services." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "DomainServiceNameParameter": { - "name": "domainServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the domain service.", - "x-ms-parameter-location": "method" - }, - "OuContainerNameParameter": { - "name": "ouContainerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the OuContainer.", - "x-ms-parameter-location": "method" - } - } -} +{ + "swagger": "2.0", + "info": { + "title": "Domain Services Resource Provider", + "description": "The AAD Domain Services API.", + "version": "2021-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Aad/operations": { + "get": { + "tags": [ + "OuContainer" + ], + "description": "Lists all the available OuContainer operations.", + "operationId": "OuContainerOperations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" + } + } + }, + "x-ms-examples": { + "Get Operations": { + "$ref": "./examples/GetOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer": { + "get": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_List", + "summary": "List of OuContainers in DomainService instance", + "description": "The List of OuContainers in DomainService instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainerListResult" + } + } + }, + "x-ms-examples": { + "List of OuContainers": { + "$ref": "./examples/ListOuContainers.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}": { + "get": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Get", + "summary": "Get particular OuContainer in DomainService instance", + "description": "Get OuContainer in DomainService instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-examples": { + "List of OuContainers": { + "$ref": "./examples/GetOuContainer.json" + } + } + }, + "put": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Create", + "summary": "Create OuContainer", + "description": "The Create OuContainer operation creates a new OuContainer under the specified Domain Service instance.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + }, + { + "name": "containerAccount", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerAccount" + }, + "description": "Container Account Description." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation completed successfully.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Domain Service": { + "$ref": "./examples/CreateOuContainer.json" + } + } + }, + "delete": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Delete", + "summary": "Delete OuContainer", + "description": "The Delete OuContainer operation deletes specified OuContainer.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful." + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "204": { + "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete OuContainer": { + "$ref": "./examples/DeleteOuContainer.json" + } + } + }, + "patch": { + "tags": [ + "OuContainer" + ], + "operationId": "OuContainer_Update", + "summary": "Update OuContainer (PATCH Resource)", + "description": "The Update OuContainer operation can be used to update the existing OuContainers.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DomainServiceNameParameter" + }, + { + "$ref": "#/parameters/OuContainerNameParameter" + }, + { + "name": "containerAccount", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerAccount" + }, + "description": "Container Account Description." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + }, + "200": { + "description": "HTTP 200 (OK) if the operation was successful.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/OuContainer" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update Domain Service": { + "$ref": "./examples/UpdateOuContainer.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "etag": { + "type": "string", + "description": "Resource etag" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "x-ms-azure-resource": true + }, + "OuContainerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OuContainer" + }, + "description": "The list of OuContainer." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response from the List OuContainer operation." + }, + "OuContainer": { + "description": "Resource for OuContainer.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OuContainerProperties", + "description": "OuContainer properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "OuContainerProperties": { + "description": "Properties of the OuContainer.", + "properties": { + "tenantId": { + "readOnly": true, + "type": "string", + "description": "Azure Active Directory tenant id" + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "The domain name of Domain Services." + }, + "deploymentId": { + "readOnly": true, + "type": "string", + "description": "The Deployment id" + }, + "containerId": { + "readOnly": true, + "type": "string", + "description": "The OuContainer name" + }, + "accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerAccount", + "description": "Container Account" + }, + "description": "The list of container accounts" + }, + "serviceStatus": { + "readOnly": true, + "type": "string", + "description": "Status of OuContainer instance" + }, + "distinguishedName": { + "readOnly": true, + "type": "string", + "description": "Distinguished Name of OuContainer instance" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response." + } + } + }, + "ContainerAccount": { + "description": "Container Account Description", + "properties": { + "accountName": { + "type": "string", + "description": "The account name" + }, + "spn": { + "type": "string", + "description": "The account spn" + }, + "password": { + "type": "string", + "description": "The account password" + } + } + }, + "OperationEntityListResult": { + "description": "The list of domain service operation response.", + "type": "object", + "properties": { + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + } + }, + "OperationEntity": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by Domain Services." + }, + "origin": { + "description": "The origin of the operation.", + "type": "string" + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by Domain Services.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Domain Services.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "description": "An error response from the Domain Services.", + "$ref": "#/definitions/CloudErrorBody" + } + }, + "description": "An error response from the Domain Services." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Domain Services." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DomainServiceNameParameter": { + "name": "domainServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the domain service.", + "x-ms-parameter-location": "method" + }, + "OuContainerNameParameter": { + "name": "ouContainerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the OuContainer.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md index 3d9a5fbc0b66..3584487b5d63 100644 --- a/specification/domainservices/resource-manager/readme.md +++ b/specification/domainservices/resource-manager/readme.md @@ -1,257 +1,257 @@ -# DomainServices - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for DomainServices. - - - ---- -## Getting Started -To build the SDK for DomainServices, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` ---- - -## Configuration - - - -### Basic Information -These are the global settings for the DomainServices API. - -``` yaml -openapi-type: arm -tag: package-2022-12 -``` - -### Tag: package-2022-12 - -These settings apply only when `--tag=package-2022-12` is specified on the command line. - -``` yaml $(tag) == 'package-2022-12' -input-file: -- Microsoft.AAD/stable/2022-12-01/domainservices.json -- Microsoft.AAD/stable/2022-12-01/oucontainer.json -``` - -### Tag: package-2022-09 - -These settings apply only when `--tag=package-2022-09` is specified on the command line. - -``` yaml $(tag) == 'package-2022-09' -input-file: -- Microsoft.AAD/stable/2022-09-01/domainservices.json -- Microsoft.AAD/stable/2022-09-01/oucontainer.json -``` - -### Tag: package-2021-05 - -These settings apply only when `--tag=package-2021-05` is specified on the command line. - -``` yaml $(tag) == 'package-2021-05' -input-file: -- Microsoft.AAD/stable/2021-05-01/domainservices.json -- Microsoft.AAD/stable/2021-05-01/oucontainer.json -``` - -### Tag: package-2021-03 - -These settings apply only when `--tag=package-2021-03` is specified on the command line. - -``` yaml $(tag) == 'package-2021-03' -input-file: -- Microsoft.AAD/stable/2021-03-01/domainservices.json -- Microsoft.AAD/stable/2021-03-01/oucontainer.json -``` - -### Tag: package-2020-01 - -These settings apply only when `--tag=package-2020-01` is specified on the command line. - -``` yaml $(tag) == 'package-2020-01' -input-file: -- Microsoft.AAD/stable/2020-01-01/domainservices.json -- Microsoft.AAD/stable/2020-01-01/oucontainer.json -``` - -### Tag: package-2017-06 - -These settings apply only when `--tag=package-2017-06` is specified on the command line. - -``` yaml $(tag) == 'package-2017-06' -input-file: -- Microsoft.AAD/stable/2017-06-01/domainservices.json -- Microsoft.AAD/stable/2017-06-01/oucontainer.json -``` - -### Tag: package-2017-01 - -These settings apply only when `--tag=package-2017-01` is specified on the command line. - -``` yaml $(tag) == 'package-2017-01' -input-file: -- Microsoft.AAD/stable/2017-01-01/domainservices.json -``` - ---- -# Code Generation - - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-go - - repo: azure-sdk-for-js - - repo: azure-sdk-for-node - - repo: azure-powershell -``` - -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Management.DomainServices - payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/domainservices/Microsoft.Azure.Management.DomainServices/src/Generated - clear-output-folder: true -``` - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.domainservices -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-domainservices -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2022-12 - - tag: package-2022-09 - - tag: package-2021-05 - - tag: package-2021-03 - - tag: package-2020-01 - - tag: package-2017-06 - - tag: package-2017-01 -``` - -### Tag: package-2022-12 and java - -These settings apply only when `--tag=package-2022-12 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2022-12' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2022_12_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2022_12_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2022-09 and java - -These settings apply only when `--tag=package-2022-09 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2022-09' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2022_09_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2022_09_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2021-05 and java - -These settings apply only when `--tag=package-2021-05 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2021-05' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2021_05_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2021_05_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2021-03 and java - -These settings apply only when `--tag=package-2021-03 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2021-03' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2021_03_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2021_03_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2020-01 and java - -These settings apply only when `--tag=package-2020-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2020-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2020_01_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2020_01_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-06 and java - -These settings apply only when `--tag=package-2017-06 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-06' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2017_06_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2017_06_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-01 and java - -These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.domainservices.v2017_01_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2017_01_01 -regenerate-manager: true -generate-interface: true -``` - - - +# DomainServices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DomainServices. + + + +--- +## Getting Started +To build the SDK for DomainServices, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the DomainServices API. + +``` yaml +openapi-type: arm +tag: package-2022-12 +``` + +### Tag: package-2022-12 + +These settings apply only when `--tag=package-2022-12` is specified on the command line. + +``` yaml $(tag) == 'package-2022-12' +input-file: +- Microsoft.AAD/stable/2022-12-01/domainservices.json +- Microsoft.AAD/stable/2022-12-01/oucontainer.json +``` + +### Tag: package-2022-09 + +These settings apply only when `--tag=package-2022-09` is specified on the command line. + +``` yaml $(tag) == 'package-2022-09' +input-file: +- Microsoft.AAD/stable/2022-09-01/domainservices.json +- Microsoft.AAD/stable/2022-09-01/oucontainer.json +``` + +### Tag: package-2021-05 + +These settings apply only when `--tag=package-2021-05` is specified on the command line. + +``` yaml $(tag) == 'package-2021-05' +input-file: +- Microsoft.AAD/stable/2021-05-01/domainservices.json +- Microsoft.AAD/stable/2021-05-01/oucontainer.json +``` + +### Tag: package-2021-03 + +These settings apply only when `--tag=package-2021-03` is specified on the command line. + +``` yaml $(tag) == 'package-2021-03' +input-file: +- Microsoft.AAD/stable/2021-03-01/domainservices.json +- Microsoft.AAD/stable/2021-03-01/oucontainer.json +``` + +### Tag: package-2020-01 + +These settings apply only when `--tag=package-2020-01` is specified on the command line. + +``` yaml $(tag) == 'package-2020-01' +input-file: +- Microsoft.AAD/stable/2020-01-01/domainservices.json +- Microsoft.AAD/stable/2020-01-01/oucontainer.json +``` + +### Tag: package-2017-06 + +These settings apply only when `--tag=package-2017-06` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06' +input-file: +- Microsoft.AAD/stable/2017-06-01/domainservices.json +- Microsoft.AAD/stable/2017-06-01/oucontainer.json +``` + +### Tag: package-2017-01 + +These settings apply only when `--tag=package-2017-01` is specified on the command line. + +``` yaml $(tag) == 'package-2017-01' +input-file: +- Microsoft.AAD/stable/2017-01-01/domainservices.json +``` + +--- +# Code Generation + + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-node + - repo: azure-powershell +``` + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.DomainServices + payload-flattening-threshold: 2 + output-folder: $(csharp-sdks-folder)/domainservices/Microsoft.Azure.Management.DomainServices/src/Generated + clear-output-folder: true +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.domainservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-domainservices +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2022-12 + - tag: package-2022-09 + - tag: package-2021-05 + - tag: package-2021-03 + - tag: package-2020-01 + - tag: package-2017-06 + - tag: package-2017-01 +``` + +### Tag: package-2022-12 and java + +These settings apply only when `--tag=package-2022-12 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2022-12' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2022_12_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2022_12_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2022-09 and java + +These settings apply only when `--tag=package-2022-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2022-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2022_09_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2022_09_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2021-05 and java + +These settings apply only when `--tag=package-2021-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2021_05_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2021_05_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2021-03 and java + +These settings apply only when `--tag=package-2021-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2021_03_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2021_03_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2020-01 and java + +These settings apply only when `--tag=package-2020-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2020-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2020_01_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2020_01_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-06 and java + +These settings apply only when `--tag=package-2017-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2017_06_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2017_06_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-01 and java + +These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/domainservices/mgmt-v2017_01_01 +regenerate-manager: true +generate-interface: true +``` + + + diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorDelete.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorDelete.json index 17aa5b3c1fe8..04e9dbf66087 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorDelete.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorDelete.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorGet.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorGet.json index 6926aa24652f..e4f92d19f5cf 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorGet.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorGet.json @@ -1,26 +1,26 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc" - }, - "responses": { - "200": { - "body": { - "name": "atc", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors", - "location": "West US", - "tags": { - "key1": "value1" - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "collectorPolicies": [], - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc" + }, + "responses": { + "200": { + "body": { + "name": "atc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors", + "location": "West US", + "tags": { + "key1": "value1" + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "collectorPolicies": [], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorUpdateTags.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorUpdateTags.json index d261d24f1a80..ba9486c28c42 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorUpdateTags.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorUpdateTags.json @@ -1,33 +1,33 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc", - "parameters": { - "tags": { - "key1": "value1", - "key2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "atc", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "collectorPolicies": [], - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "atc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "collectorPolicies": [], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsByResourceGroupList.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsByResourceGroupList.json index bed12f0b8660..d6742c067aa1 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsByResourceGroupList.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsByResourceGroupList.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "atc", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "tags": { - "key1": "value1" - }, - "properties": { - "collectorPolicies": [], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "string" - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "atc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "collectorPolicies": [], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsBySubscriptionList.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsBySubscriptionList.json index f9aa8d306087..52a7af11f439 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsBySubscriptionList.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/AzureTrafficCollectorsBySubscriptionList.json @@ -1,29 +1,29 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "atc", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "tags": { - "key1": "value1" - }, - "properties": { - "collectorPolicies": [], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "string" - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "atc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "collectorPolicies": [], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPoliciesList.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPoliciesList.json index a64f9db3c081..3f12a63b7f8c 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPoliciesList.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPoliciesList.json @@ -1,44 +1,44 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "atc", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc/collectorPolicies/cp1", - "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", - "properties": { - "ingestionPolicy": { - "ingestionType": "IPFIX", - "ingestionSources": [ - { - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "sourceType": "Resource" - } - ] - }, - "emissionPolicies": [ - { - "emissionType": "IPFIX", - "emissionDestinations": [ - { - "destinationType": "AzureMonitor" - } - ] - } - ], - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "atc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc/collectorPolicies/cp1", + "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", + "properties": { + "ingestionPolicy": { + "ingestionType": "IPFIX", + "ingestionSources": [ + { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "sourceType": "Resource" + } + ] + }, + "emissionPolicies": [ + { + "emissionType": "IPFIX", + "emissionDestinations": [ + { + "destinationType": "AzureMonitor" + } + ] + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyCreate.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyCreate.json index 045387db62a2..569c59d95a5c 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyCreate.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyCreate.json @@ -1,95 +1,95 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc", - "collectorPolicyName": "cp1", - "parameters": { - "location": "West US", - "properties": { - "ingestionPolicy": { - "ingestionType": "IPFIX", - "ingestionSources": [ - { - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "sourceType": "Resource" - } - ] - }, - "emissionPolicies": [ - { - "emissionType": "IPFIX", - "emissionDestinations": [ - { - "destinationType": "AzureMonitor" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "cp1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/AzureTrafficCollector/atc/collectorPolicies/cp1", - "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", - "properties": { - "ingestionPolicy": { - "ingestionType": "IPFIX", - "ingestionSources": [ - { - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "sourceType": "Resource" - } - ] - }, - "emissionPolicies": [ - { - "emissionType": "IPFIX", - "emissionDestinations": [ - { - "destinationType": "AzureMonitor" - } - ] - } - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "cp1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc/collectorPolicies/cp1", - "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", - "properties": { - "ingestionPolicy": { - "ingestionType": "IPFIX", - "ingestionSources": [ - { - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "sourceType": "Resource" - } - ] - }, - "emissionPolicies": [ - { - "emissionType": "IPFIX", - "emissionDestinations": [ - { - "destinationType": "AzureMonitor" - } - ] - } - ], - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc", + "collectorPolicyName": "cp1", + "parameters": { + "location": "West US", + "properties": { + "ingestionPolicy": { + "ingestionType": "IPFIX", + "ingestionSources": [ + { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "sourceType": "Resource" + } + ] + }, + "emissionPolicies": [ + { + "emissionType": "IPFIX", + "emissionDestinations": [ + { + "destinationType": "AzureMonitor" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "cp1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/AzureTrafficCollector/atc/collectorPolicies/cp1", + "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", + "properties": { + "ingestionPolicy": { + "ingestionType": "IPFIX", + "ingestionSources": [ + { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "sourceType": "Resource" + } + ] + }, + "emissionPolicies": [ + { + "emissionType": "IPFIX", + "emissionDestinations": [ + { + "destinationType": "AzureMonitor" + } + ] + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "cp1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc/collectorPolicies/cp1", + "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", + "properties": { + "ingestionPolicy": { + "ingestionType": "IPFIX", + "ingestionSources": [ + { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "sourceType": "Resource" + } + ] + }, + "emissionPolicies": [ + { + "emissionType": "IPFIX", + "emissionDestinations": [ + { + "destinationType": "AzureMonitor" + } + ] + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyDelete.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyDelete.json index f870f59d95f7..cc99ba2eec29 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyDelete.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyDelete.json @@ -1,14 +1,14 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc", - "collectorPolicyName": "cp1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc", + "collectorPolicyName": "cp1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyGet.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyGet.json index 14ea006a7925..226ff692ffca 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyGet.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/CollectorPolicyGet.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "azureTrafficCollectorName": "atc", - "collectorPolicyName": "cp1" - }, - "responses": { - "200": { - "body": { - "name": "atc", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc/collectorPolicies/cp1", - "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", - "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", - "properties": { - "ingestionPolicy": { - "ingestionType": "IPFIX", - "ingestionSources": [ - { - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "sourceType": "Resource" - } - ] - }, - "emissionPolicies": [ - { - "emissionType": "IPFIX", - "emissionDestinations": [ - { - "destinationType": "AzureMonitor" - } - ] - } - ], - "provisioningState": "Succeeded" - } - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureTrafficCollectorName": "atc", + "collectorPolicyName": "cp1" + }, + "responses": { + "200": { + "body": { + "name": "atc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc/collectorPolicies/cp1", + "etag": "w/\\72090554-7e3b-43f2-80ad-99a9020dcb11\\", + "type": "Microsoft.NetworkFunction/azureTrafficCollectors/collectorPolicies", + "properties": { + "ingestionPolicy": { + "ingestionType": "IPFIX", + "ingestionSources": [ + { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "sourceType": "Resource" + } + ] + }, + "emissionPolicies": [ + { + "emissionType": "IPFIX", + "emissionDestinations": [ + { + "destinationType": "AzureMonitor" + } + ] + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/OperationsList.json b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/OperationsList.json index 1f34c687cae8..0b5b39a8dc26 100644 --- a/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/OperationsList.json +++ b/specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-08-01/examples/OperationsList.json @@ -1,22 +1,22 @@ -{ - "parameters": { - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.NetworkFunction/azureTrafficCollectors/write", - "display": { - "provider": "Microsoft NetworkFunction", - "resource": "AzureTrafficCollector", - "operation": "Create/Update a azure traffic collector", - "description": "Creates or Update a azure traffic collector" - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2022-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetworkFunction/azureTrafficCollectors/write", + "display": { + "provider": "Microsoft NetworkFunction", + "resource": "AzureTrafficCollector", + "operation": "Create/Update a azure traffic collector", + "description": "Creates or Update a azure traffic collector" + } + } + ] + } + } + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddConnectionToGroup.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddConnectionToGroup.json index fab5a7c09489..57ac54084607 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddConnectionToGroup.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddConnectionToGroup.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1", - "connectionId": "connection1" - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1", + "connectionId": "connection1" + }, + "responses": { + "200": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddUserToGroup.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddUserToGroup.json index 8a2e03f7bb47..a3804fb01563 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddUserToGroup.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_AddUserToGroup.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1", - "userId": "user1" - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1", + "userId": "user1" + }, + "responses": { + "200": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CheckPermission.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CheckPermission.json index 3a64b92b833a..ed6bfa9bc05b 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CheckPermission.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CheckPermission.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "permission": "joinLeaveGroup", - "connectionId": "connection1", - "targetName": "group1" - }, - "responses": { - "200": {}, - "404": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "permission": "joinLeaveGroup", + "connectionId": "connection1", + "targetName": "group1" + }, + "responses": { + "200": {}, + "404": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseAllConnections.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseAllConnections.json index 0b2aa8f4ec5b..3be7f3b4d403 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseAllConnections.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseAllConnections.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "reason": "Close reason" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "reason": "Close reason" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseConnection.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseConnection.json index fc4a12897478..3bc27a0c81b2 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseConnection.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseConnection.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "connectionId": "connection1", - "reason": "Close reason" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "connectionId": "connection1", + "reason": "Close reason" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseGroupConnections.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseGroupConnections.json index f617479d7074..d74842f94d3f 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseGroupConnections.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseGroupConnections.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1", - "reason": "Close reason" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1", + "reason": "Close reason" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseUserConnections.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseUserConnections.json index 35efffd56840..fce57034ea9d 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseUserConnections.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_CloseUserConnections.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "userId": "user1", - "reason": "Close reason" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "userId": "user1", + "reason": "Close reason" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_ConnectionExists.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_ConnectionExists.json index 1de67bfbe343..ec373d36c49a 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_ConnectionExists.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_ConnectionExists.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "connectionId": "connection1" - }, - "responses": { - "200": {}, - "404": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "connectionId": "connection1" + }, + "responses": { + "200": {}, + "404": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GenerateClientToken.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GenerateClientToken.json index f0bed1a3c14b..dba171a50b87 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GenerateClientToken.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GenerateClientToken.json @@ -1,15 +1,15 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "userId": "user1", - "minutesToExpire": 5 - }, - "responses": { - "200": { - "body": { - "token": "ABC" - } - } - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "userId": "user1", + "minutesToExpire": 5 + }, + "responses": { + "200": { + "body": { + "token": "ABC" + } + } + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GrantPermission.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GrantPermission.json index fe7299abb560..977af60d1031 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GrantPermission.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GrantPermission.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "permission": "joinLeaveGroup", - "connectionId": "connection1", - "targetName": "group1" - }, - "responses": { - "200": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "permission": "joinLeaveGroup", + "connectionId": "connection1", + "targetName": "group1" + }, + "responses": { + "200": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GroupExists.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GroupExists.json index 413f5d1124d8..e1ca94bfc88b 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GroupExists.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_GroupExists.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1" - }, - "responses": { - "200": {}, - "404": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1" + }, + "responses": { + "200": {}, + "404": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveConnectionFromGroup.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveConnectionFromGroup.json index 33e793772ed4..555f52446b39 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveConnectionFromGroup.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveConnectionFromGroup.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1", - "connectionId": "connection1" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1", + "connectionId": "connection1" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromAllGroups.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromAllGroups.json index 56b127090c51..2042d4ca9c9c 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromAllGroups.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromAllGroups.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "userId": "user1" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "userId": "user1" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromGroup.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromGroup.json index 9ae74aa90747..0b00d0b672cf 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromGroup.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RemoveUserFromGroup.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1", - "userId": "user1" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1", + "userId": "user1" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RevokePermission.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RevokePermission.json index 052c290ade36..b248ff871ce6 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RevokePermission.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_RevokePermission.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "permission": "joinLeaveGroup", - "connectionId": "connection1", - "targetName": "group1" - }, - "responses": { - "204": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "permission": "joinLeaveGroup", + "connectionId": "connection1", + "targetName": "group1" + }, + "responses": { + "204": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToAll.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToAll.json index 27fb46ed15d4..3fb2ecee5a36 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToAll.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToAll.json @@ -1,10 +1,10 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "message": "Message to send" - }, - "responses": { - "202": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "message": "Message to send" + }, + "responses": { + "202": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToConnection.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToConnection.json index d9845618ee17..0230dbe61ee2 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToConnection.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToConnection.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "connectionId": "connection1", - "message": "Message to send" - }, - "responses": { - "202": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "connectionId": "connection1", + "message": "Message to send" + }, + "responses": { + "202": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToGroup.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToGroup.json index 63aef0c685c3..1b4f7110c9a5 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToGroup.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToGroup.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "group": "group1", - "message": "Message to send" - }, - "responses": { - "202": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "group": "group1", + "message": "Message to send" + }, + "responses": { + "202": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToUser.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToUser.json index ab1cbb51f0ee..bdfe492d98d8 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToUser.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_SendToUser.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "userId": "user1", - "message": "Message to send" - }, - "responses": { - "202": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "userId": "user1", + "message": "Message to send" + }, + "responses": { + "202": {} + } +} diff --git a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_UserExists.json b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_UserExists.json index c2fdab12a636..207736becf7e 100644 --- a/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_UserExists.json +++ b/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/examples/WebPubSub_UserExists.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "hub": "hub1", - "userId": "user1" - }, - "responses": { - "200": {}, - "404": {} - } -} +{ + "parameters": { + "api-version": "2021-10-01", + "hub": "hub1", + "userId": "user1" + }, + "responses": { + "200": {}, + "404": {} + } +}