|
33 | 33 | }
|
34 | 34 | },
|
35 | 35 | "paths": {
|
| 36 | + "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements": { |
| 37 | + "get": { |
| 38 | + "tags": [ |
| 39 | + "Agreements" |
| 40 | + ], |
| 41 | + "summary": "List Confluent marketplace agreements in the subscription.", |
| 42 | + "operationId": "MarketplaceAgreements_List", |
| 43 | + "produces": [ |
| 44 | + "application/json" |
| 45 | + ], |
| 46 | + "parameters": [ |
| 47 | + { |
| 48 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 49 | + } |
| 50 | + ], |
| 51 | + "responses": { |
| 52 | + "200": { |
| 53 | + "description": "Success", |
| 54 | + "schema": { |
| 55 | + "$ref": "#/definitions/ConfluentAgreementResourceListResponse" |
| 56 | + } |
| 57 | + }, |
| 58 | + "default": { |
| 59 | + "description": "Default error response.", |
| 60 | + "schema": { |
| 61 | + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" |
| 62 | + } |
| 63 | + } |
| 64 | + }, |
| 65 | + "x-ms-pageable": { |
| 66 | + "nextLinkName": "nextLink" |
| 67 | + }, |
| 68 | + "x-ms-examples": { |
| 69 | + "MarketplaceAgreements_List": { |
| 70 | + "$ref": "./examples/MarketplaceAgreements_List.json" |
| 71 | + } |
| 72 | + } |
| 73 | + } |
| 74 | + }, |
| 75 | + "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default": { |
| 76 | + "put": { |
| 77 | + "tags": [ |
| 78 | + "Agreements" |
| 79 | + ], |
| 80 | + "summary": "Create Confluent Marketplace agreement in the subscription.", |
| 81 | + "operationId": "MarketplaceAgreements_Create", |
| 82 | + "produces": [ |
| 83 | + "application/json" |
| 84 | + ], |
| 85 | + "parameters": [ |
| 86 | + { |
| 87 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 88 | + }, |
| 89 | + { |
| 90 | + "in": "body", |
| 91 | + "name": "body", |
| 92 | + "schema": { |
| 93 | + "$ref": "#/definitions/ConfluentAgreementResource" |
| 94 | + } |
| 95 | + } |
| 96 | + ], |
| 97 | + "responses": { |
| 98 | + "200": { |
| 99 | + "description": "Success", |
| 100 | + "schema": { |
| 101 | + "$ref": "#/definitions/ConfluentAgreementResource" |
| 102 | + } |
| 103 | + }, |
| 104 | + "default": { |
| 105 | + "description": "Default error response.", |
| 106 | + "schema": { |
| 107 | + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" |
| 108 | + } |
| 109 | + } |
| 110 | + }, |
| 111 | + "x-ms-examples": { |
| 112 | + "MarketplaceAgreements_Create": { |
| 113 | + "$ref": "./examples/MarketplaceAgreements_Create.json" |
| 114 | + } |
| 115 | + } |
| 116 | + } |
| 117 | + }, |
36 | 118 | "/providers/Microsoft.Confluent/operations": {
|
37 | 119 | "get": {
|
38 | 120 | "tags": [
|
|
374 | 456 | }
|
375 | 457 | },
|
376 | 458 | "definitions": {
|
| 459 | + "ConfluentAgreementProperties": { |
| 460 | + "description": "Terms properties for Marketplace and Confluent.", |
| 461 | + "type": "object", |
| 462 | + "properties": { |
| 463 | + "publisher": { |
| 464 | + "description": "Publisher identifier string.", |
| 465 | + "type": "string" |
| 466 | + }, |
| 467 | + "product": { |
| 468 | + "description": "Product identifier string.", |
| 469 | + "type": "string" |
| 470 | + }, |
| 471 | + "plan": { |
| 472 | + "description": "Plan identifier string.", |
| 473 | + "type": "string" |
| 474 | + }, |
| 475 | + "licenseTextLink": { |
| 476 | + "description": "Link to HTML with Microsoft and Publisher terms.", |
| 477 | + "type": "string" |
| 478 | + }, |
| 479 | + "privacyPolicyLink": { |
| 480 | + "description": "Link to the privacy policy of the publisher.", |
| 481 | + "type": "string" |
| 482 | + }, |
| 483 | + "retrieveDatetime": { |
| 484 | + "format": "date-time", |
| 485 | + "description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.", |
| 486 | + "type": "string" |
| 487 | + }, |
| 488 | + "signature": { |
| 489 | + "description": "Terms signature.", |
| 490 | + "type": "string" |
| 491 | + }, |
| 492 | + "accepted": { |
| 493 | + "description": "If any version of the terms have been accepted, otherwise false.", |
| 494 | + "type": "boolean" |
| 495 | + } |
| 496 | + } |
| 497 | + }, |
| 498 | + "ConfluentAgreementResource": { |
| 499 | + "description": "Agreement Terms definition", |
| 500 | + "type": "object", |
| 501 | + "x-ms-azure-resource": true, |
| 502 | + "properties": { |
| 503 | + "id": { |
| 504 | + "description": "The ARM id of the resource.", |
| 505 | + "type": "string", |
| 506 | + "readOnly": true |
| 507 | + }, |
| 508 | + "name": { |
| 509 | + "description": "The name of the agreement.", |
| 510 | + "type": "string", |
| 511 | + "readOnly": true |
| 512 | + }, |
| 513 | + "type": { |
| 514 | + "description": "The type of the agreement.", |
| 515 | + "type": "string", |
| 516 | + "readOnly": true |
| 517 | + }, |
| 518 | + "properties": { |
| 519 | + "$ref": "#/definitions/ConfluentAgreementProperties", |
| 520 | + "description": "Represents the properties of the resource." |
| 521 | + } |
| 522 | + } |
| 523 | + }, |
| 524 | + "ConfluentAgreementResourceListResponse": { |
| 525 | + "description": "Response of a agreements operation.", |
| 526 | + "type": "object", |
| 527 | + "properties": { |
| 528 | + "value": { |
| 529 | + "description": "Results of a list operation.", |
| 530 | + "type": "array", |
| 531 | + "items": { |
| 532 | + "$ref": "#/definitions/ConfluentAgreementResource" |
| 533 | + } |
| 534 | + }, |
| 535 | + "nextLink": { |
| 536 | + "description": "Link to the next set of results, if any.", |
| 537 | + "type": "string" |
| 538 | + } |
| 539 | + } |
| 540 | + }, |
377 | 541 | "OperationDisplay": {
|
378 | 542 | "description": "The object that represents the operation.",
|
379 | 543 | "type": "object",
|
|
0 commit comments