From b4d6333016539a2fbedc26516e10e0ed11928613 Mon Sep 17 00:00:00 2001 From: Vijaya Manohararaj Date: Wed, 21 Jul 2021 17:02:36 -0700 Subject: [PATCH 1/6] Fixing incorrect contract details for customer lockbox RP. --- .../2018-02-28-preview/customerlockbox.json | 19 +++--- .../examples/Requests_Get_InSubscription.json | 20 +++---- .../examples/Requests_List.json | 60 +++++++++---------- .../Requests_List_FilterByStatus.json | 42 ++++++------- .../examples/Requests_UpdateStatus.json | 4 +- 5 files changed, 67 insertions(+), 78 deletions(-) diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json index e087b31c2c9d..7bbb083b9f92 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json @@ -332,16 +332,12 @@ "readOnly": true }, "duration": { - "format": "int32", - "type": "integer", + "type": "string", "description": "The duration of the request in hours.", "readOnly": true }, - "requestedResourceIds": { - "type": "array", - "items": { - "type": "string" - }, + "resourceIds": { + "type": "string", "description": "A list of resource IDs associated with the Lockbox request separated by ','.", "readOnly": true }, @@ -360,6 +356,11 @@ "description": "The url of the support case.", "readOnly": true }, + "workitemsource": { + "type": "string", + "description": "The support case system that was used to initiate the request.", + "readOnly": true + }, "subscriptionId": { "type": "string", "description": "The subscription ID.", @@ -394,7 +395,7 @@ "description": "Request content object, in the use of Approve or Deny a Lockbox request.", "type": "object", "properties": { - "decision": { + "status": { "enum": [ "Approve", "Deny" @@ -402,7 +403,7 @@ "type": "string", "description": "Approval decision to the Lockbox request.", "x-ms-enum": { - "name": "Decision", + "name": "Status", "modelAsString": true } }, diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json index 3cbf54b05911..47f559e6d79e 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json @@ -13,17 +13,15 @@ "properties": { "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "justification": "Microsoft Support Team is requesting access to your resource temporarily for troubleshooting.", - "status": "Pending", - "createdDateTime": "2019-10-07T16:52:33.47Z", - "expirationDateTime": "2019-10-11T16:52:33.47Z", - "duration": 8, - "requestedResourceIds": [ - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO2" - ], - "resourceType": "Virtual Machine", - "supportRequest": "123", - "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/123", + "status": "Expired", + "createdDateTime": "2020-06-17T23:15:42.031334Z", + "expirationDateTime": "2020-06-21T23:15:42.031334Z", + "duration": "8", + "resourceIds": "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMORG/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", + "resourceType": "VMSS", + "supportRequest": "12345", + "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/12345", + "workitemsource": "Other", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json index c3e0bd3634ab..8afa28c67e7e 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json @@ -16,17 +16,15 @@ "properties": { "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "justification": "Microsoft Support Team is requesting access to your resource temporarily for troubleshooting.", - "status": "Pending", - "createdDateTime": "2019-10-07T16:52:33.47Z", - "expirationDateTime": "2019-10-11T16:52:33.47Z", - "duration": 8, - "requestedResourceIds": [ - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO2" - ], - "resourceType": "Virtual Machine", - "supportRequest": "123", - "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/123", + "status": "Expired", + "createdDateTime": "2020-06-17T23:15:42.031334Z", + "expirationDateTime": "2020-06-21T23:15:42.031334Z", + "duration": "8", + "resourceIds": "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMORG/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", + "resourceType": "VMSS", + "supportRequest": "12345", + "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/12345", + "workitemsource": "Other", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } }, @@ -37,17 +35,15 @@ "properties": { "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "justification": "Microsoft Support Team is requesting access to your resource temporarily for troubleshooting.", - "status": "Denied", - "createdDateTime": "2019-10-07T16:52:33.47Z", - "expirationDateTime": "2019-10-11T16:52:33.47Z", - "duration": 8, - "requestedResourceIds": [ - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO2" - ], - "resourceType": "Virtual Machine", - "supportRequest": "123", - "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/123", + "status": "Expired", + "createdDateTime": "2020-11-19T03:12:51.2672319Z", + "expirationDateTime": "2020-11-23T03:12:51.2672319Z", + "duration": "8", + "resourceIds": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "resourceType": "Subscription", + "supportRequest": "120101324000234", + "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/120101324000234", + "workitemsource": "SupportRequest", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } }, @@ -58,17 +54,15 @@ "properties": { "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "justification": "Microsoft Support Team is requesting access to your resource temporarily for troubleshooting.", - "status": "Approved", - "createdDateTime": "2019-10-07T16:52:33.47Z", - "expirationDateTime": "2019-10-11T16:52:33.47Z", - "duration": 8, - "requestedResourceIds": [ - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO2" - ], - "resourceType": "Virtual Machine", - "supportRequest": "123", - "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/123", + "status": "Denied", + "createdDateTime": "2021-05-24T15:08:17.590109Z", + "expirationDateTime": "2021-05-28T15:08:17.590109Z", + "duration": "Support request lifetime", + "resourceIds": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "resourceType": "Subscription", + "supportRequest": "120101324000234", + "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/120101324000234", + "workitemsource": "SupportRequest", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json index 9356b52d6b89..b1f855f050f1 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "api-version": "2018-02-28-preview", - "$filter": "properties/status eq 'Pending'" + "$filter": "properties/status eq 'Expired'" }, "responses": { "200": { @@ -16,17 +16,15 @@ "properties": { "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "justification": "Microsoft Support Team is requesting access to your resource temporarily for troubleshooting.", - "status": "Pending", - "createdDateTime": "2019-10-07T16:52:33.47Z", - "expirationDateTime": "2019-10-11T16:52:33.47Z", - "duration": 8, - "requestedResourceIds": [ - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO2" - ], - "resourceType": "Virtual Machine", - "supportRequest": "123", - "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/123", + "status": "Expired", + "createdDateTime": "2020-06-17T23:15:42.031334Z", + "expirationDateTime": "2020-06-21T23:15:42.031334Z", + "duration": "8", + "resourceIds": "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMORG/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", + "resourceType": "VMSS", + "supportRequest": "12345", + "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/12345", + "workitemsource": "Other", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } }, @@ -37,17 +35,15 @@ "properties": { "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "justification": "Microsoft Support Team is requesting access to your resource temporarily for troubleshooting.", - "status": "Pending", - "createdDateTime": "2019-10-07T16:52:33.47Z", - "expirationDateTime": "2019-10-11T16:52:33.47Z", - "duration": 8, - "requestedResourceIds": [ - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO", - "SUBSCRIPTIONS/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/RESOURCEGROUPS/DEMO/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/DEMO2" - ], - "resourceType": "Virtual Machine", - "supportRequest": "123", - "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/123", + "status": "Expired", + "createdDateTime": "2020-11-19T03:12:51.2672319Z", + "expirationDateTime": "2020-11-23T03:12:51.2672319Z", + "duration": "8", + "resourceIds": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "resourceType": "Subscription", + "supportRequest": "120101324000234", + "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/120101324000234", + "workitemsource": "SupportRequest", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_UpdateStatus.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_UpdateStatus.json index 4ddefb80fecb..aeb073bca559 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_UpdateStatus.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_UpdateStatus.json @@ -4,14 +4,14 @@ "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "api-version": "2018-10-11-preview", "approval": { - "decision": "Approve", + "status": "Approve", "reason": "Customer approve" } }, "responses": { "200": { "body": { - "decision": "Approve", + "status": "Approve", "reason": "Customer approve" } } From e7990504f42eaf170c213f1aa3ace1df86ef7f16 Mon Sep 17 00:00:00 2001 From: Vijaya Manohararaj Date: Thu, 22 Jul 2021 10:00:12 -0700 Subject: [PATCH 2/6] Fixing validation errors --- .../preview/2018-02-28-preview/customerlockbox.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json index 7bbb083b9f92..a78bc34333cf 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json @@ -418,7 +418,8 @@ "description": "An error response from the Lockbox service.", "properties": { "error": { - "$ref": "#/definitions/ErrorBody" + "$ref": "#/definitions/ErrorBody", + "description": "Detailed information about the error encountered." } } }, @@ -457,6 +458,7 @@ }, "info": { "type": "object", + "description": "Additional information about the request that is in error state.", "properties": { "currentStatus": { "$ref": "#/definitions/LockboxRequestStatus", From c16a20f794f6ea9e272bfcbdf5245169e0636b3d Mon Sep 17 00:00:00 2001 From: Vijaya Manohararaj Date: Thu, 22 Jul 2021 11:50:46 -0700 Subject: [PATCH 3/6] Fixing spell check failure --- .../preview/2018-02-28-preview/customerlockbox.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json index a78bc34333cf..baf26422c623 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json @@ -356,7 +356,7 @@ "description": "The url of the support case.", "readOnly": true }, - "workitemsource": { + "workItemSource": { "type": "string", "description": "The support case system that was used to initiate the request.", "readOnly": true From fce6c8072f9175301711f2b9768f2d81ef173437 Mon Sep 17 00:00:00 2001 From: Vijaya Manohararaj Date: Wed, 11 Aug 2021 20:07:44 -0700 Subject: [PATCH 4/6] PR comments --- .../examples/Requests_Get_InSubscription.json | 2 +- .../preview/2018-02-28-preview/examples/Requests_List.json | 6 +++--- .../examples/Requests_List_FilterByStatus.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json index 47f559e6d79e..0bd93d6d17be 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_Get_InSubscription.json @@ -21,7 +21,7 @@ "resourceType": "VMSS", "supportRequest": "12345", "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/12345", - "workitemsource": "Other", + "workItemSource": "Other", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json index 8afa28c67e7e..1ac1bb5686eb 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List.json @@ -24,7 +24,7 @@ "resourceType": "VMSS", "supportRequest": "12345", "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/12345", - "workitemsource": "Other", + "workItemSource": "Other", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } }, @@ -43,7 +43,7 @@ "resourceType": "Subscription", "supportRequest": "120101324000234", "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/120101324000234", - "workitemsource": "SupportRequest", + "workItemSource": "SupportRequest", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } }, @@ -62,7 +62,7 @@ "resourceType": "Subscription", "supportRequest": "120101324000234", "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/120101324000234", - "workitemsource": "SupportRequest", + "workItemSource": "SupportRequest", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } diff --git a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json index b1f855f050f1..19fd3b56245b 100644 --- a/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json +++ b/specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/examples/Requests_List_FilterByStatus.json @@ -24,7 +24,7 @@ "resourceType": "VMSS", "supportRequest": "12345", "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/12345", - "workitemsource": "Other", + "workItemSource": "Other", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } }, @@ -43,7 +43,7 @@ "resourceType": "Subscription", "supportRequest": "120101324000234", "supportCaseUrl": "https://portal.azure.com/#resource/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/microsoft.support/supporttickets/120101324000234", - "workitemsource": "SupportRequest", + "workItemSource": "SupportRequest", "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } From 0e24464e13998ce0718e264932fcbb669e7a6ad6 Mon Sep 17 00:00:00 2001 From: Vijaya Manohararaj Date: Wed, 18 Aug 2021 13:15:11 -0700 Subject: [PATCH 5/6] Fixing go SDK issue. --- .../customerlockbox/resource-manager/readme.go.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/customerlockbox/resource-manager/readme.go.md b/specification/customerlockbox/resource-manager/readme.go.md index 1753a772330e..878b1774104d 100644 --- a/specification/customerlockbox/resource-manager/readme.go.md +++ b/specification/customerlockbox/resource-manager/readme.go.md @@ -17,3 +17,10 @@ Please also specify `--go-sdks-folder= Date: Wed, 18 Aug 2021 16:35:19 -0700 Subject: [PATCH 6/6] removing sdks not requested by customeras --- .../resource-manager/readme.go.md | 26 --------------- .../resource-manager/readme.md | 33 ------------------- .../resource-manager/readme.python.md | 21 ------------ .../resource-manager/readme.ruby.md | 19 ----------- .../resource-manager/readme.typescript.md | 13 -------- 5 files changed, 112 deletions(-) delete mode 100644 specification/customerlockbox/resource-manager/readme.go.md delete mode 100644 specification/customerlockbox/resource-manager/readme.python.md delete mode 100644 specification/customerlockbox/resource-manager/readme.ruby.md delete mode 100644 specification/customerlockbox/resource-manager/readme.typescript.md diff --git a/specification/customerlockbox/resource-manager/readme.go.md b/specification/customerlockbox/resource-manager/readme.go.md deleted file mode 100644 index 878b1774104d..000000000000 --- a/specification/customerlockbox/resource-manager/readme.go.md +++ /dev/null @@ -1,26 +0,0 @@ -## Go - -These settings apply only when `--go` is specified on the command line. - -```yaml $(go) -go: - license-header: MICROSOFT_MIT_NO_VERSION - clear-output-folder: true -``` - -### Tag: package-2018-02-28-preview and go - -These settings apply only when `--tag=package-2018-02-28-preview --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. - -```yaml $(tag) == 'package-2018-02-28-preview' && $(go) -namespace: customerlockbox -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-02-28-preview/$(namespace) -``` - -### Go multi-api - -```yaml $(go) && $(multiapi) -batch: - - tag: package-2018-02-28-preview -``` \ No newline at end of file diff --git a/specification/customerlockbox/resource-manager/readme.md b/specification/customerlockbox/resource-manager/readme.md index 1e9afd454671..bff916a3bd7a 100644 --- a/specification/customerlockbox/resource-manager/readme.md +++ b/specification/customerlockbox/resource-manager/readme.md @@ -42,39 +42,6 @@ input-file: # 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-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-js - - repo: azure-sdk-for-ruby - after_scripts: - - bundle install && rake arm:regen_all_profiles['azure_mgmt_customerlockbox'] - - repo: azure-resource-manager-schemas -``` - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Ruby - -See configuration in [readme.ruby.md](./readme.ruby.md) - -## TypeScript - -See configuration in [readme.typescript.md](./readme.typescript.md) - ## CSharp See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/customerlockbox/resource-manager/readme.python.md b/specification/customerlockbox/resource-manager/readme.python.md deleted file mode 100644 index a3235c8c21ce..000000000000 --- a/specification/customerlockbox/resource-manager/readme.python.md +++ /dev/null @@ -1,21 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -```yaml $(python) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.customerlockbox - package-name: azure-mgmt-customerlockbox - package-version: 2018-02-28-preview - clear-output-folder: true -``` - -```yaml $(python) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/customerlockbox/azure-mgmt-customerlockbox/azure/mgmt/customerlockbox -``` diff --git a/specification/customerlockbox/resource-manager/readme.ruby.md b/specification/customerlockbox/resource-manager/readme.ruby.md deleted file mode 100644 index 8043120ee678..000000000000 --- a/specification/customerlockbox/resource-manager/readme.ruby.md +++ /dev/null @@ -1,19 +0,0 @@ -## Ruby - -These settings apply only when `--ruby` is specified on the command line. - -```yaml -package-name: azure_mgmt_customerlockbox -package-version: 2018-02-28-preview -azure-arm: true -``` - -### Tag: package-2018-02-28-preview and ruby - -These settings apply only when `--tag=package-2018-02-28-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -```yaml $(tag) == 'package-2018-02-28-preview' && $(ruby) -namespace: Microsoft.CustomerLockbox -output-folder: $(ruby-sdks-folder)/customerlockbox -``` diff --git a/specification/customerlockbox/resource-manager/readme.typescript.md b/specification/customerlockbox/resource-manager/readme.typescript.md deleted file mode 100644 index 297eaf5378c1..000000000000 --- a/specification/customerlockbox/resource-manager/readme.typescript.md +++ /dev/null @@ -1,13 +0,0 @@ -## 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: "customerlockbox" - output-folder: "$(typescript-sdks-folder)/packages/customerlockbox" - payload-flattening-threshold: 1 - generate-metadata: true -```