Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,39 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements": {
"get": {
"operationId": "Organization_GetAgreementMarketplaceTerms",
"description": "Get marketplace agreement in the subscription.",
"x-ms-examples": {
"Organization_GetAgreementMarketplaceTerms": {
"$ref": "./examples/Organization_GetAgreementMarketplaceTerms.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Terms returned successfully",
"schema": {
"$ref": "#/definitions/AgreementTerms"
}
},
"default": {
"description": "Microsoft.Confluent error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations": {
"get": {
"tags": [
Expand Down Expand Up @@ -679,6 +712,80 @@
}
}
}
},
"AgreementTerms": {
"properties": {
"properties": {
"$ref": "#/definitions/AgreementProperties",
"description": "Represents the properties of the resource.",
"x-ms-client-flatten": true
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"description": "Terms properties for provided Publisher/Offer/Plan tuple"
},
"AgreementProperties": {
"properties": {
"publisher": {
"type": "string",
"description": "Publisher identifier string of image being deployed."
},
"product": {
"type": "string",
"description": "Offer identifier string of image being deployed."
},
"plan": {
"type": "string",
"description": "Plan identifier string of image being deployed."
},
"licenseTextLink": {
"type": "string",
"description": "Link to HTML with Microsoft and Publisher terms."
},
"privacyPolicyLink": {
"type": "string",
"description": "Link to the privacy policy of the publisher."
},
"retrieveDatetime": {
"type": "string",
"format": "date-time",
"description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false."
},
"signature": {
"type": "string",
"description": "Terms signature."
},
"accepted": {
"type": "string",
"description": "If any version of the terms have been accepted, otherwise false."
}
},
"description": "Agreement Terms definition"
},
"Resource": {
"description": "ARM resource.",
"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."
}
},
"x-ms-azure-resource": true
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"responses": {
"200": {},
"202": {},
"204": {}
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2020-03-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"id": "id",
"name": "planid",
"type": "Microsoft.Confluent/agreements",
"properties": {
"publisher": "pubid",
"product": "offid",
"plan": "planid",
"licenseTextLink": "test.licenseLink",
"privacyPolicyLink": "test.privacyPolicyLink",
"retrieveDatetime": "2020-10-20T11:33:07.12132Z",
"signature": "ASDFSDAFWEFASDGWERLWER",
"accepted": "true"
}
}
}
}
}
6 changes: 6 additions & 0 deletions specification/confluent/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## CLI

These settings don't need to apply `--cli` on the command line.

``` yaml
```