|
52 | 52 | } |
53 | 53 | } |
54 | 54 | }, |
| 55 | + "/providers/Microsoft.CustomerLockbox/tenantOptedIn/{tenantId}": { |
| 56 | + "get": { |
| 57 | + "tags": [ |
| 58 | + "Requests" |
| 59 | + ], |
| 60 | + "description": "Get Customer Lockbox request", |
| 61 | + "operationId": "Get_TenantOptedIn", |
| 62 | + "x-ms-examples": { |
| 63 | + "check if a TenantId is Optedin": { |
| 64 | + "$ref": "./examples/TenantOptedIn.json" |
| 65 | + } |
| 66 | + }, |
| 67 | + "parameters": [ |
| 68 | + { |
| 69 | + "$ref": "#/parameters/TenantIdParameter" |
| 70 | + }, |
| 71 | + { |
| 72 | + "$ref": "#/parameters/ApiVersionParameter" |
| 73 | + } |
| 74 | + ], |
| 75 | + "responses": { |
| 76 | + "200": { |
| 77 | + "description": "Retrieval of Opt-in status for Tenant successful.", |
| 78 | + "schema": { |
| 79 | + "$ref": "#/definitions/TenantOptInResponse" |
| 80 | + } |
| 81 | + }, |
| 82 | + "default": { |
| 83 | + "description": "Error response describing why the operation failed.", |
| 84 | + "schema": { |
| 85 | + "$ref": "#/definitions/ErrorResponse" |
| 86 | + } |
| 87 | + } |
| 88 | + } |
| 89 | + } |
| 90 | + }, |
| 91 | + "/providers/Microsoft.CustomerLockbox/enableLockbox": { |
| 92 | + "post": { |
| 93 | + "tags": [ |
| 94 | + "Requests" |
| 95 | + ], |
| 96 | + "description": "Enable Tenant for Lockbox ", |
| 97 | + "operationId": "Post_EnableLockbox", |
| 98 | + "x-ms-examples": { |
| 99 | + "Enable Tenant in Lockbox": { |
| 100 | + "$ref": "./examples/EnableLockbox.json" |
| 101 | + } |
| 102 | + }, |
| 103 | + "parameters": [ |
| 104 | + { |
| 105 | + "$ref": "#/parameters/ApiVersionParameter" |
| 106 | + } |
| 107 | + ], |
| 108 | + "responses": { |
| 109 | + "200": { |
| 110 | + "description": "Enabling Tenant for Lockbox successful" |
| 111 | + }, |
| 112 | + "default": { |
| 113 | + "description": "Error response describing why the operation failed.", |
| 114 | + "schema": { |
| 115 | + "$ref": "#/definitions/ErrorResponse" |
| 116 | + } |
| 117 | + } |
| 118 | + } |
| 119 | + } |
| 120 | + }, |
| 121 | + "/providers/Microsoft.CustomerLockbox/disableLockbox": { |
| 122 | + "post": { |
| 123 | + "tags": [ |
| 124 | + "Requests" |
| 125 | + ], |
| 126 | + "description": "Disable Tenant for Lockbox ", |
| 127 | + "operationId": "Post_DisableLockbox", |
| 128 | + "x-ms-examples": { |
| 129 | + "Disable a tenant in Lockbox": { |
| 130 | + "$ref": "./examples/DisableLockbox.json" |
| 131 | + } |
| 132 | + }, |
| 133 | + "parameters": [ |
| 134 | + { |
| 135 | + "$ref": "#/parameters/ApiVersionParameter" |
| 136 | + } |
| 137 | + ], |
| 138 | + "responses": { |
| 139 | + "200": { |
| 140 | + "description": "Disabling Tenant for Lockbox successful" |
| 141 | + }, |
| 142 | + "default": { |
| 143 | + "description": "Error response describing why the operation failed.", |
| 144 | + "schema": { |
| 145 | + "$ref": "#/definitions/ErrorResponse" |
| 146 | + } |
| 147 | + } |
| 148 | + } |
| 149 | + } |
| 150 | + }, |
55 | 151 | "/subscriptions/{subscriptionId}/providers/Microsoft.CustomerLockbox/requests/{requestId}": { |
56 | 152 | "get": { |
57 | 153 | "tags": [ |
|
91 | 187 | } |
92 | 188 | } |
93 | 189 | }, |
94 | | - "/subscriptions/{subscriptionId}/providers/Microsoft.CustomerLockbox/requests/{requestId}/UpdateApproval": { |
| 190 | + "/subscriptions/{subscriptionId}/providers/Microsoft.CustomerLockbox/requests/{requestId}/updateApproval": { |
95 | 191 | "post": { |
96 | 192 | "tags": [ |
97 | 193 | "Requests" |
|
189 | 285 | "definitions": { |
190 | 286 | "OperationListResult": { |
191 | 287 | "description": "Result of the request to list Customer Lockbox operations. It contains a list of operations.", |
| 288 | + "type": "object", |
192 | 289 | "properties": { |
193 | 290 | "value": { |
194 | 291 | "description": "List of Customer Lockbox operations supported by the Microsoft.StreamAnalytics resource provider.", |
|
222 | 319 | }, |
223 | 320 | "display": { |
224 | 321 | "description": "Contains the localized display information for this particular operation / action.", |
| 322 | + "type": "object", |
225 | 323 | "readOnly": true, |
226 | 324 | "properties": { |
227 | 325 | "provider": { |
|
258 | 356 | } |
259 | 357 | } |
260 | 358 | }, |
| 359 | + "TenantOptInResponse": { |
| 360 | + "description": "TenantOptIn Response object", |
| 361 | + "type": "object", |
| 362 | + "properties": { |
| 363 | + "isOptedIn": { |
| 364 | + "type": "boolean", |
| 365 | + "description": "True if tenant is opted in, false otherwise ", |
| 366 | + "readOnly": true |
| 367 | + } |
| 368 | + } |
| 369 | + }, |
261 | 370 | "RequestListResult": { |
262 | 371 | "description": "Object containing a list of streaming jobs.", |
| 372 | + "type": "object", |
263 | 373 | "properties": { |
264 | 374 | "value": { |
265 | 375 | "type": "array", |
|
416 | 526 | "ErrorResponse": { |
417 | 527 | "x-ms-external": true, |
418 | 528 | "description": "An error response from the Lockbox service.", |
| 529 | + "type": "object", |
419 | 530 | "properties": { |
420 | 531 | "error": { |
421 | 532 | "$ref": "#/definitions/ErrorBody", |
|
426 | 537 | "ErrorBody": { |
427 | 538 | "x-ms-external": true, |
428 | 539 | "description": "An error response body from the Lockbox service.", |
| 540 | + "type": "object", |
429 | 541 | "properties": { |
430 | 542 | "code": { |
431 | 543 | "type": "string", |
|
451 | 563 | "ErrorAdditionalInfo": { |
452 | 564 | "x-ms-external": true, |
453 | 565 | "description": "An error additional info for the Lockbox service.", |
| 566 | + "type": "object", |
454 | 567 | "properties": { |
455 | 568 | "type": { |
456 | 569 | "type": "string", |
|
478 | 591 | "type": "string", |
479 | 592 | "x-ms-parameter-location": "method" |
480 | 593 | }, |
| 594 | + "TenantIdParameter": { |
| 595 | + "name": "tenantId", |
| 596 | + "in": "path", |
| 597 | + "description": "The Azure tenant ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)", |
| 598 | + "required": true, |
| 599 | + "type": "string", |
| 600 | + "x-ms-parameter-location": "method" |
| 601 | + }, |
481 | 602 | "ApiVersionParameter": { |
482 | 603 | "name": "api-version", |
483 | 604 | "in": "query", |
|
0 commit comments