diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/confluent.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/confluent.json new file mode 100644 index 000000000000..8fc3aa6907f3 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/confluent.json @@ -0,0 +1,2057 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.Confluent", + "version": "2023-08-22" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "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": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements": { + "get": { + "tags": [ + "Agreements" + ], + "summary": "List Confluent marketplace agreements in the subscription.", + "operationId": "MarketplaceAgreements_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConfluentAgreementResourceListResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "MarketplaceAgreements_List": { + "$ref": "./examples/MarketplaceAgreements_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default": { + "put": { + "tags": [ + "Agreements" + ], + "summary": "Create Confluent Marketplace agreement in the subscription.", + "operationId": "MarketplaceAgreements_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "in": "body", + "name": "body", + "description": "Confluent Marketplace Agreement resource", + "schema": { + "$ref": "#/definitions/ConfluentAgreementResource" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConfluentAgreementResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "MarketplaceAgreements_Create": { + "$ref": "./examples/MarketplaceAgreements_Create.json" + } + } + } + }, + "/providers/Microsoft.Confluent/operations": { + "get": { + "tags": [ + "Organization" + ], + "summary": "List all operations provided by Microsoft.Confluent.", + "operationId": "OrganizationOperations_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "OrganizationOperations_List": { + "$ref": "./examples/OrganizationOperations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations": { + "get": { + "tags": [ + "Organization" + ], + "summary": "List all organizations under the specified subscription.", + "operationId": "Organization_ListBySubscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OrganizationResourceListResult" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Organization_ListBySubscription": { + "$ref": "./examples/Organization_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations": { + "get": { + "tags": [ + "Organization" + ], + "summary": "List all Organizations under the specified resource group.", + "operationId": "Organization_ListByResourceGroup", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OrganizationResourceListResult" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Organization_ListByResourceGroup": { + "$ref": "./examples/Organization_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}": { + "get": { + "tags": [ + "Organization" + ], + "summary": "Get the properties of a specific Organization resource.", + "operationId": "Organization_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_Get": { + "$ref": "./examples/Organization_Get.json" + } + } + }, + "put": { + "tags": [ + "Organization" + ], + "summary": "Create Organization resource", + "operationId": "Organization_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Organization resource model", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Organization_Create": { + "$ref": "./examples/Organization_Create.json" + } + } + }, + "patch": { + "tags": [ + "Organization" + ], + "summary": "Update Organization resource", + "operationId": "Organization_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Updated Organization resource", + "schema": { + "$ref": "#/definitions/OrganizationResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Confluent_Update": { + "$ref": "./examples/Organization_Update.json" + } + } + }, + "delete": { + "tags": [ + "Organization" + ], + "summary": "Delete Organization resource", + "operationId": "Organization_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "The specified confluent resource does not exist in the subscription." + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Confluent_Delete": { + "$ref": "./examples/Organization_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate": { + "post": { + "tags": [ + "Validations" + ], + "summary": "Organization Validate proxy resource", + "operationId": "Validations_ValidateOrganization", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Organization resource model", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Validations_ValidateOrganizations": { + "$ref": "./examples/Validations_ValidateOrganizations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidateV2": { + "post": { + "tags": [ + "Validations" + ], + "summary": "Organization Validate proxy resource", + "operationId": "Validations_ValidateOrganizationV2", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Organization resource model", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ValidationResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Validations_ValidateOrganizations": { + "$ref": "./examples/Validations_ValidateOrganizationsV2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listUsers": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization users details", + "operationId": "Access_ListUsers", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "List Access Request Model", + "schema": { + "$ref": "#/definitions/ListAccessRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Access_ListUsers_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_UsersList": { + "$ref": "./examples/Access_UsersList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listServiceAccounts": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization service accounts details", + "operationId": "Access_ListServiceAccounts", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "List Access Request Model", + "schema": { + "$ref": "#/definitions/ListAccessRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Access_ListServiceAccounts_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_ServiceAccountsList": { + "$ref": "./examples/Access_ServiceAccountsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listInvitations": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization accounts invitation details", + "operationId": "Access_ListInvitations", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "List Access Request Model", + "schema": { + "$ref": "#/definitions/ListAccessRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Access_ListInvitations_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_InvitationsList": { + "$ref": "./examples/Access_InvitationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/createInvitation": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Invite user to the organization", + "operationId": "Access_InviteUser", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Invite user account model", + "schema": { + "$ref": "#/definitions/Access_InviteUserAccountModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InvitationRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_InviteUser": { + "$ref": "./examples/Access_InviteUser.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listEnvironments": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Environment list of an organization", + "operationId": "Access_ListEnvironments", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "List Access Request Model", + "schema": { + "$ref": "#/definitions/ListAccessRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Access_ListEnvironments_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_EnvironmentList": { + "$ref": "./examples/Access_EnvironmentList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listClusters": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Cluster details", + "operationId": "Access_ListClusters", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "List Access Request Model", + "schema": { + "$ref": "#/definitions/ListAccessRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Access_ListCluster_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_ClusterList": { + "$ref": "./examples/Access_ClusterList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listRoleBindings": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization role bindings", + "operationId": "Access_ListRoleBindings", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/OrganizationResourceNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "List Access Request Model", + "schema": { + "$ref": "#/definitions/ListAccessRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Access_ListRoleBindings_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_RoleBindingList": { + "$ref": "./examples/Access_RoleBindingList.json" + } + } + } + } + }, + "definitions": { + "ConfluentAgreementProperties": { + "description": "Terms properties for Marketplace and Confluent.", + "type": "object", + "properties": { + "publisher": { + "description": "Publisher identifier string.", + "type": "string" + }, + "product": { + "description": "Product identifier string.", + "type": "string" + }, + "plan": { + "description": "Plan identifier string.", + "type": "string" + }, + "licenseTextLink": { + "description": "Link to HTML with Microsoft and Publisher terms.", + "type": "string" + }, + "privacyPolicyLink": { + "description": "Link to the privacy policy of the publisher.", + "type": "string" + }, + "retrieveDatetime": { + "format": "date-time", + "description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.", + "type": "string" + }, + "signature": { + "description": "Terms signature.", + "type": "string" + }, + "accepted": { + "description": "If any version of the terms have been accepted, otherwise false.", + "type": "boolean" + } + } + }, + "ConfluentAgreementResource": { + "description": "Agreement Terms definition", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The ARM id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the agreement.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the agreement.", + "type": "string", + "readOnly": true + }, + "systemData": { + "description": "Metadata pertaining to creation and last modification of the resource", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConfluentAgreementProperties", + "description": "Represents the properties of the resource." + } + } + }, + "ConfluentAgreementResourceListResponse": { + "description": "Response of a list operation.", + "type": "object", + "properties": { + "value": { + "description": "Results of a list operation.", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ConfluentAgreementResource" + } + }, + "nextLink": { + "description": "Link to the next set of results, if any.", + "type": "string" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Confluent", + "type": "string" + }, + "resource": { + "description": "Type on which the operation is performed, e.g., 'clusters'.", + "type": "string" + }, + "operation": { + "description": "Operation type, e.g., read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation, e.g., 'Write confluent'.", + "type": "string" + } + } + }, + "OperationResult": { + "description": "An Confluent REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "$ref": "#/definitions/OperationDisplay" + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + } + } + }, + "OperationListResult": { + "description": "Result of GET request to list Confluent operations.", + "type": "object", + "properties": { + "value": { + "description": "List of Confluent operations supported by the Microsoft.Confluent provider.", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/OperationResult" + } + }, + "nextLink": { + "description": "URL to get the next set of operation list results if there are any.", + "type": "string" + } + } + }, + "ValidationResponse": { + "type": "object", + "description": "Validation response from the provider", + "title": "ValidationResponse", + "properties": { + "info": { + "description": "Info from the response", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ErrorResponseBody": { + "description": "Response body of Error", + "title": "ErrorResponseBody", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Error message", + "type": "string", + "readOnly": true + }, + "target": { + "description": "Error target", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Error detail", + "type": "array", + "x-ms-identifiers": [], + "readOnly": true, + "items": { + "$ref": "#/definitions/ErrorResponseBody" + } + } + } + }, + "ResourceProviderDefaultErrorResponse": { + "type": "object", + "description": "Default error response for resource provider", + "title": "ResourceProviderDefaultErrorResponse", + "properties": { + "error": { + "description": "Response body of Error", + "readOnly": true, + "$ref": "#/definitions/ErrorResponseBody" + } + } + }, + "ProvisioningState": { + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ], + "type": "string", + "description": "Provision states for confluent RP", + "title": "ProvisioningState", + "x-ms-enum": { + "name": "ProvisionState", + "modelAsString": true + } + }, + "SaaSOfferStatus": { + "enum": [ + "Started", + "PendingFulfillmentStart", + "InProgress", + "Subscribed", + "Suspended", + "Reinstated", + "Succeeded", + "Failed", + "Unsubscribed", + "Updating" + ], + "type": "string", + "description": "SaaS Offer Status for confluent RP", + "title": "SaaSOfferStatus", + "x-ms-enum": { + "modelAsString": true, + "name": "SaaSOfferStatus" + } + }, + "OfferDetail": { + "description": "Confluent Offer detail", + "type": "object", + "required": [ + "publisherId", + "id", + "planId", + "planName", + "termUnit" + ], + "properties": { + "publisherId": { + "description": "Publisher Id", + "maxLength": 50, + "type": "string" + }, + "id": { + "description": "Offer Id", + "maxLength": 50, + "type": "string" + }, + "planId": { + "description": "Offer Plan Id", + "maxLength": 200, + "type": "string" + }, + "planName": { + "description": "Offer Plan Name", + "maxLength": 200, + "type": "string" + }, + "termUnit": { + "description": "Offer Plan Term unit", + "maxLength": 25, + "type": "string" + }, + "termId": { + "description": "Offer Plan Term Id", + "maxLength": 50, + "type": "string" + }, + "privateOfferId": { + "description": "Private Offer Id", + "maxLength": 255, + "type": "string" + }, + "privateOfferIds": { + "description": "Array of Private Offer Ids", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "description": "SaaS Offer Status", + "$ref": "#/definitions/SaaSOfferStatus" + } + } + }, + "UserDetail": { + "description": "Subscriber detail", + "type": "object", + "required": [ + "emailAddress" + ], + "properties": { + "firstName": { + "description": "First name", + "maxLength": 50, + "type": "string" + }, + "lastName": { + "description": "Last name", + "maxLength": 50, + "type": "string" + }, + "emailAddress": { + "description": "Email address", + "pattern": "^\\S+@\\S+\\.\\S+$", + "type": "string" + }, + "userPrincipalName": { + "description": "User principal name", + "type": "string" + }, + "aadEmail": { + "description": "AAD email address", + "type": "string" + } + } + }, + "LinkOrganization": { + "description": "Link an existing Confluent organization", + "type": "object", + "required": [ + "token" + ], + "properties": { + "token": { + "description": "User auth token", + "type": "string", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + } + } + }, + "OrganizationResourceProperties": { + "description": "Organization resource property", + "type": "object", + "required": [ + "offerDetail", + "userDetail" + ], + "properties": { + "createdTime": { + "format": "date-time", + "description": "The creation time of the resource.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provision states for confluent RP", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "organizationId": { + "description": "Id of the Confluent organization.", + "type": "string", + "readOnly": true + }, + "ssoUrl": { + "description": "SSO url for the Confluent organization.", + "type": "string", + "readOnly": true + }, + "offerDetail": { + "description": "Confluent offer detail", + "$ref": "#/definitions/OfferDetail" + }, + "userDetail": { + "description": "Subscriber detail", + "$ref": "#/definitions/UserDetail" + }, + "linkOrganization": { + "description": "Link an existing Confluent organization", + "$ref": "#/definitions/LinkOrganization" + } + } + }, + "OrganizationResource": { + "description": "Organization resource.", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "properties" + ], + "properties": { + "id": { + "description": "The ARM id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "description": "Metadata pertaining to creation and last modification of the resource", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Organization resource properties", + "$ref": "#/definitions/OrganizationResourceProperties" + }, + "tags": { + "type": "object", + "description": "Organization resource tags", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "description": "Location of Organization resource", + "type": "string" + } + } + }, + "OrganizationResourceListResult": { + "description": "The response of a list operation.", + "type": "object", + "properties": { + "value": { + "description": "Result of a list operation.", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "nextLink": { + "description": "Link to the next set of results, if any.", + "type": "string" + } + } + }, + "OrganizationResourceUpdate": { + "description": "Organization Resource update", + "type": "object", + "properties": { + "tags": { + "description": "ARM resource tags", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ListAccessRequestModel": { + "description": "List Access Request Model", + "type": "object", + "properties": { + "searchFilters": { + "description": "Search filters for the request", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ConfluentListMetadata": { + "description": "Metadata of the list", + "type": "object", + "properties": { + "first": { + "description": "First page of the list", + "type": "string" + }, + "last": { + "description": "Last page of the list", + "type": "string" + }, + "prev": { + "description": "Previous page of the list", + "type": "string" + }, + "next": { + "description": "Next page of the list", + "type": "string" + }, + "total_size": { + "description": "Total size of the list", + "type": "integer", + "format": "int32" + } + } + }, + "MetadataEntity": { + "description": "Metadata of the data record", + "type": "object", + "properties": { + "self": { + "description": "Self lookup url", + "type": "string" + }, + "resource_name": { + "description": "Resource name of the record", + "type": "string" + }, + "created_at": { + "description": "Created Date Time", + "type": "string" + }, + "updated_at": { + "description": "Updated Date time", + "type": "string" + }, + "deleted_at": { + "description": "Deleted Date time", + "type": "string" + } + } + }, + "UserRecord": { + "description": "Record of the user", + "type": "object", + "properties": { + "kind": { + "description": "Type of account", + "type": "string" + }, + "id": { + "description": "Id of the user", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "email": { + "description": "Email of the user", + "type": "string" + }, + "full_name": { + "description": "Name of the user", + "type": "string" + }, + "auth_type": { + "description": "Auth type of the user", + "type": "string" + } + } + }, + "UsersList": { + "description": "Data of the users list", + "type": "array", + "items": { + "$ref": "#/definitions/UserRecord" + } + }, + "Access_ListUsers_SuccessResponse": { + "description": "List users success response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Data of the users list", + "$ref": "#/definitions/UsersList" + } + } + }, + "ServiceAccountRecord": { + "description": "Record of the service account", + "type": "object", + "properties": { + "kind": { + "description": "Type of account", + "type": "string" + }, + "id": { + "description": "Id of the service account", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "display_name": { + "description": "Name of the service account", + "type": "string" + }, + "description": { + "description": "Description of the service account", + "type": "string" + } + } + }, + "ServiceAccountsList": { + "description": "Data of the service accounts list", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccountRecord" + } + }, + "Access_ListServiceAccounts_SuccessResponse": { + "description": "List service accounts success response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Data of the service accounts list", + "$ref": "#/definitions/ServiceAccountsList" + } + } + }, + "InvitationRecord": { + "description": "Record of the invitation", + "type": "object", + "properties": { + "kind": { + "description": "Type of account", + "type": "string" + }, + "id": { + "description": "Id of the invitation", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "email": { + "description": "Email of the user", + "type": "string" + }, + "auth_type": { + "description": "Auth type of the user", + "type": "string" + }, + "status": { + "description": "Status of the invitation", + "type": "string" + }, + "accepted_at": { + "description": "Accepted date time of the invitation", + "type": "string" + }, + "expires_at": { + "description": "Expiration date time of the invitation", + "type": "string" + } + } + }, + "InvitationsList": { + "description": "Data of the invitations list", + "type": "array", + "items": { + "$ref": "#/definitions/InvitationRecord" + } + }, + "Access_ListInvitations_SuccessResponse": { + "description": "List invitations success response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Data of the invitations list", + "$ref": "#/definitions/InvitationsList" + } + } + }, + "Access_InvitedUserDetails": { + "description": "Details of the user being invited", + "type": "object", + "properties": { + "invitedEmail": { + "description": "UPN/Email of the user who is being invited", + "type": "string" + }, + "auth_type": { + "description": "Auth type of the user", + "type": "string" + } + } + }, + "Access_InviteUserAccountModel": { + "description": "Invite User Account model", + "type": "object", + "properties": { + "organizationId": { + "description": "Id of the organization", + "type": "string" + }, + "email": { + "description": "Email of the logged in user", + "type": "string" + }, + "upn": { + "description": "Upn of the logged in user", + "type": "string" + }, + "invitedUserDetails": { + "description": "Details of the user who is being invited", + "$ref": "#/definitions/Access_InvitedUserDetails" + } + } + }, + "EnvironmentRecord": { + "description": "Record of the environment", + "type": "object", + "properties": { + "kind": { + "description": "Type of environment", + "type": "string" + }, + "id": { + "description": "Id of the environment", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "display_name": { + "description": "Display name of the user", + "type": "string" + } + } + }, + "EnvironmentsList": { + "description": "Data of the invitations list", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentRecord" + } + }, + "Access_ListEnvironments_SuccessResponse": { + "description": "List environments success response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Data of the environments list", + "$ref": "#/definitions/EnvironmentsList" + } + } + }, + "ClusterSpecEntity": { + "description": "Spec of the cluster record", + "type": "object", + "properties": { + "display_name": { + "description": "The name of the cluster", + "type": "string" + }, + "availability": { + "description": "The availability zone configuration of the cluster", + "type": "string" + }, + "cloud": { + "description": "The cloud service provider ", + "type": "string" + }, + "zone": { + "description": "type of zone availability", + "type": "string" + }, + "region": { + "description": "The cloud service provider region", + "type": "string" + }, + "kafka_bootstrap_endpoint": { + "description": "The bootstrap endpoint used by Kafka clients to connect to the cluster", + "type": "string" + }, + "http_endpoint": { + "description": "The cluster HTTP request URL.", + "type": "string" + }, + "api_endpoint": { + "description": "The Kafka API cluster endpoint", + "type": "string" + }, + "config": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterConfigEntity" + }, + "environment": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterEnvironmentEntity" + }, + "network": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterNetworkEntity" + }, + "byok": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterByokEntity" + } + } + }, + "ClusterByokEntity": { + "description": "The network associated with this object", + "type": "object", + "properties": { + "id": { + "description": "ID of the referred resource", + "type": "string" + }, + "related": { + "description": "API URL for accessing or modifying the referred object", + "type": "string" + }, + "resource_name": { + "description": "CRN reference to the referred resource", + "type": "string" + } + } + }, + "ClusterNetworkEntity": { + "description": "The network associated with this object", + "type": "object", + "properties": { + "id": { + "description": "ID of the referred resource", + "type": "string" + }, + "environment": { + "description": "Environment of the referred resource", + "type": "string" + }, + "related": { + "description": "API URL for accessing or modifying the referred object", + "type": "string" + }, + "resource_name": { + "description": "CRN reference to the referred resource", + "type": "string" + } + } + }, + "ClusterEnvironmentEntity": { + "description": "The environment to which cluster belongs", + "type": "object", + "properties": { + "id": { + "description": "ID of the referred resource", + "type": "string" + }, + "environment": { + "description": "Environment of the referred resource", + "type": "string" + }, + "related": { + "description": "API URL for accessing or modifying the referred object", + "type": "string" + }, + "resource_name": { + "description": "CRN reference to the referred resource", + "type": "string" + } + } + }, + "ClusterConfigEntity": { + "description": "The configuration of the Kafka cluster", + "type": "object", + "properties": { + "kind": { + "description": "The lifecycle phase of the cluster", + "type": "string" + } + } + }, + "ClusterStatusEntity": { + "description": "Status of the cluster record", + "type": "object", + "properties": { + "phase": { + "description": "The lifecycle phase of the cluster", + "type": "string" + }, + "cku": { + "description": "The number of Confluent Kafka Units ", + "type": "integer", + "format": "int32" + } + } + }, + "ClusterRecord": { + "description": "Record of the environment", + "type": "object", + "properties": { + "kind": { + "description": "Type of environment", + "type": "string" + }, + "id": { + "description": "Id of the environment", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "display_name": { + "description": "Display name of the user", + "type": "string" + }, + "spec": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterSpecEntity" + }, + "status": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterStatusEntity" + } + } + }, + "ClusterList": { + "description": "Data of the invitations list", + "type": "array", + "items": { + "$ref": "#/definitions/ClusterRecord" + } + }, + "Access_ListCluster_SuccessResponse": { + "description": "List cluster success response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Data of the environments list", + "$ref": "#/definitions/ClusterList" + } + } + }, + "RoleBindingRecord": { + "description": "Record of the environment", + "type": "object", + "properties": { + "kind": { + "description": "The type of the resource.", + "type": "string" + }, + "id": { + "description": "Id of the role", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "principal": { + "description": "The principal User or Group to bind the role to", + "type": "string" + }, + "role_name": { + "description": "The name of the role to bind to the principal", + "type": "string" + }, + "crn_pattern": { + "description": "A CRN that specifies the scope and resource patterns necessary for the role to bind", + "type": "string" + } + } + }, + "RoleBindingList": { + "description": "Data of the invitations list", + "type": "array", + "items": { + "$ref": "#/definitions/RoleBindingRecord" + } + }, + "Access_ListRoleBindings_SuccessResponse": { + "description": "List cluster success response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Data of the environments list", + "$ref": "#/definitions/RoleBindingList" + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client Api Version.", + "required": true, + "type": "string" + }, + "SubscriptionIdParameter": { + "in": "path", + "name": "subscriptionId", + "description": "Microsoft Azure subscription id", + "required": true, + "type": "string" + }, + "ResourceGroupParameter": { + "in": "path", + "name": "resourceGroupName", + "description": "Resource group name", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "OrganizationResourceNameParameter": { + "in": "path", + "name": "organizationName", + "description": "Organization resource name", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_ClusterList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_ClusterList.json new file mode 100644 index 000000000000..4f2e9facf29a --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_ClusterList.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environment": "env-00000", + "body": { + "searchFilters": { + "pageSize": "10", + "pageToken": "asc4fts4ft" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "ClusterList", + "metadata": { + "first": "https://api.confluent.cloud/cmk/v2/clusters", + "last": "https://api.confluent.cloud/cmk/v2/clusters?page_token=bcAOehAY8F16YD84Z1wT", + "prev": "https://api.confluent.cloud/cmk/v2/clusters?page_token=YIXRY97wWYmwzrax4dld", + "next": "https://api.confluent.cloud/cmk/v2/clusters?page_token=UvmDWOB1iwfAIBPj6EYb", + "total_size": 123 + }, + "data": [ + { + "kind": "Cluster", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/cmk/v2/clusters/lkc-12345", + "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "spec": { + "display_name": "ProdKafkaCluster", + "availability": "SINGLE_ZONE", + "cloud": "GCP", + "region": "us-east4", + "config": { + "kind": "Basic" + }, + "kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092", + "http_endpoint": "https://lkc-00000-00000.us-central1.gcp.glb.confluent.cloud", + "api_endpoint": "https://pkac-00000.us-west-2.aws.confluent.cloud", + "environment": { + "id": "env-00000", + "environment": "string", + "related": "https://api.confluent.cloud/v2/environments/env-00000", + "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-00000" + }, + "network": { + "id": "n-00000", + "environment": "string", + "related": "https://api.confluent.cloud/networking/v1/networks/n-00000", + "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-00000" + }, + "byok": { + "id": "cck-00000", + "related": "https://api.confluent.cloud/byok/v1/keys/cck-00000", + "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-00000" + } + }, + "status": { + "phase": "PROVISIONED", + "cku": 2 + } + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_EnvironmentList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_EnvironmentList.json new file mode 100644 index 000000000000..20a21acc2e8d --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_EnvironmentList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "searchFilters": { + "pageSize": "10", + "pageToken": "asc4fts4ft" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "EnvironmentList", + "metadata": { + "first": "https://api.confluent.cloud/org/v2/environments", + "last": "https://api.confluent.cloud/org/v2/environments?page_token=bcAOehAY8F16YD84Z1wT", + "prev": "https://api.confluent.cloud/org/v2/environments?page_token=YIXRY97wWYmwzrax4dld", + "next": "https://api.confluent.cloud/org/v2/environments?page_token=UvmDWOB1iwfAIBPj6EYb", + "total_size": 123 + }, + "data": [ + { + "kind": "Environment", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/org/v2/environments/e-12345", + "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "display_name": "prod-finance01" + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_InvitationsList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_InvitationsList.json new file mode 100644 index 000000000000..74f248101206 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_InvitationsList.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "searchFilters": { + "pageSize": "10", + "pageToken": "asc4fts4ft", + "status": "INVITE_STATUS_SENT" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "InvitationList", + "metadata": { + "first": "https://api.confluent.cloud/iam/v2/invitations", + "last": "https://api.confluent.cloud/iam/v2/invitations?page_token=bcAOehAY8F16YD84Z1wT", + "prev": "https://api.confluent.cloud/iam/v2/invitations?page_token=YIXRY97wWYmwzrax4dld", + "next": "https://api.confluent.cloud/iam/v2/invitations?page_token=UvmDWOB1iwfAIBPj6EYb", + "total_size": 123 + }, + "data": [ + { + "kind": "Invitation", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/iam/v2/invitations/i-12345", + "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "email": "johndoe@confluent.io", + "auth_type": "AUTH_TYPE_SSO", + "status": "INVITE_STATUS_SENT", + "accepted_at": "2022-07-06T17:21:33Z", + "expires_at": "2022-07-07T17:22:39Z" + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_InviteUser.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_InviteUser.json new file mode 100644 index 000000000000..7bc785fcbf23 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_InviteUser.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "invitedUserDetails": { + "invitedEmail": "user2@onmicrosoft.com", + "auth_type": "AUTH_TYPE_SSO" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "Invitation", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/iam/v2/invitations/i-12345", + "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "email": "johndoe@confluent.io", + "auth_type": "AUTH_TYPE_SSO", + "status": "INVITE_STATUS_SENT", + "accepted_at": "2022-07-06T17:21:33Z", + "expires_at": "2022-07-07T17:22:39Z" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_RoleBindingList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_RoleBindingList.json new file mode 100644 index 000000000000..f17cf2dbd8f3 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_RoleBindingList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa", + "principal": "User:u-111aaa", + "body": { + "searchFilters": { + "pageSize": "10", + "pageToken": "asc4fts4ft" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "RoleBindingList", + "metadata": { + "first": "https://api.confluent.cloud/iam/v2/role-bindings", + "last": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=bcAOehAY8F16YD84Z1wT", + "prev": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=YIXRY97wWYmwzrax4dld", + "next": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=UvmDWOB1iwfAIBPj6EYb", + "total_size": 123 + }, + "data": [ + { + "kind": "RoleBinding", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/iam/v2/role-bindings/rb-12345", + "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "principal": "User:u-111aaa", + "role_name": "CloudClusterAdmin", + "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa" + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_ServiceAccountsList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_ServiceAccountsList.json new file mode 100644 index 000000000000..d4b5ceaf2ec6 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_ServiceAccountsList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "searchFilters": { + "pageSize": "10", + "pageToken": "asc4fts4ft" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "ServiceAccountList", + "metadata": { + "first": "https://api.confluent.cloud/iam/v2/service-accounts", + "last": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=bcAOehAY8F16YD84Z1wT", + "prev": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=YIXRY97wWYmwzrax4dld", + "next": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=UvmDWOB1iwfAIBPj6EYb", + "total_size": 123 + }, + "data": [ + { + "kind": "ServiceAccount", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/iam/v2/service-accounts/sa-12345", + "resource_name": "crn://confluent.cloud/service-account=sa-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "display_name": "DeLorean_auto_repair", + "description": "Doc's repair bot for the DeLorean" + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_UsersList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_UsersList.json new file mode 100644 index 000000000000..a7a98be89311 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Access_UsersList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "searchFilters": { + "pageSize": "10", + "pageToken": "asc4fts4ft" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "UserList", + "metadata": { + "first": "https://api.confluent.cloud/iam/v2/users", + "last": "https://api.confluent.cloud/iam/v2/users?page_token=bcAOehAY8F16YD84Z1wT", + "prev": "https://api.confluent.cloud/iam/v2/users?page_token=YIXRY97wWYmwzrax4dld", + "next": "https://api.confluent.cloud/iam/v2/users?page_token=UvmDWOB1iwfAIBPj6EYb", + "total_size": 123 + }, + "data": [ + { + "kind": "User", + "id": "dlz-f3a90de", + "metadata": { + "self": "https://api.confluent.cloud/iam/v2/users/u-12345", + "resource_name": "crn://confluent.cloud/user=u-12345", + "created_at": "2006-01-02T15:04:05-07:00", + "updated_at": "2006-01-02T15:04:05-07:00", + "deleted_at": "2006-01-02T15:04:05-07:00" + }, + "email": "marty.mcfly@example.com", + "full_name": "Marty McFly", + "auth_type": "AUTH_TYPE_SSO" + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/MarketplaceAgreements_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/MarketplaceAgreements_Create.json new file mode 100644 index 000000000000..53d9ce74543e --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/MarketplaceAgreements_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "requestBody": { + "properties": { + "accepted": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Confluent/agreements/default", + "name": "default", + "type": "Microsoft.Confluent/agreements", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-05-09T14:28:47.284Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-05-09T14:28:47.284Z" + }, + "properties": { + "publisher": "pubid1", + "product": "offid1", + "plan": "planid1", + "licenseTextLink": "test.licenseLink1", + "privacyPolicyLink": "test.privacyPolicyLink1", + "retrieveDatetime": "2020-11-05T17:33:07.12132Z", + "signature": "YKWOQOKH2BCKZ46O7SCKHANWEENRFRU5WB4LXDFUYWCBWTS4AG4SGQXCOZYIR5ZJCZTXRMZKYZMO2BJSL5YKPLAR4LBFRUNS6CRYE7A", + "accepted": true + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/MarketplaceAgreements_List.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/MarketplaceAgreements_List.json new file mode 100644 index 000000000000..083e758fdb82 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/MarketplaceAgreements_List.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Confluent/agreements/default", + "name": "planid1", + "type": "Microsoft.Confluent/agreements", + "properties": { + "publisher": "pubid1", + "product": "offid1", + "plan": "planid1", + "licenseTextLink": "test.licenseLink1", + "privacyPolicyLink": "test.privacyPolicyLink1", + "retrieveDatetime": "2017-08-15T11:33:07.12132Z", + "signature": "ASDFSDAFWEFASDGWERLWER", + "accepted": true + } + }, + { + "id": "id2", + "name": "planid2", + "type": "Microsoft.MarketplaceOrdering/offertypes", + "properties": { + "publisher": "pubid2", + "product": "offid2", + "plan": "planid2", + "licenseTextLink": "test.licenseLin2k", + "privacyPolicyLink": "test.privacyPolicyLink2", + "retrieveDatetime": "2017-08-14T11:33:07.12132Z", + "signature": "ASDFSDAFWEFASDGWERLWER", + "accepted": true + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/OrganizationOperations_List.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/OrganizationOperations_List.json new file mode 100644 index 000000000000..bf1cb8b07363 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/OrganizationOperations_List.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-08-22" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Confluent/organizations/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Confluent", + "resource": "organizations", + "operation": "Get/List organization resources", + "description": "Read organization" + } + }, + { + "name": "Microsoft.Confluent/organizations/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Confluent", + "resource": "organizations", + "operation": "Create/Update organization resources", + "description": "Write organization" + } + }, + { + "name": "Microsoft.Confluent/organizations/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Confluent", + "resource": "organizations", + "operation": "Delete organization resources", + "description": "Delete organization" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Create.json new file mode 100644 index 000000000000..4d3152763f1a --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Create.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "properties": { + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ] + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com", + "userPrincipalName": "contoso@microsoft.com", + "aadEmail": "contoso@microsoft.com" + }, + "linkOrganization": { + "token": "string" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization", + "name": "myOrganization", + "type": "Microsoft.Confluent/organizations", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-05-09T14:28:47.284Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-05-09T14:28:47.284Z" + }, + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Succeeded", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ], + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com", + "userPrincipalName": "contoso@microsoft.com", + "aadEmail": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization", + "name": "myOrganization", + "type": "Microsoft.Confluent/organizations", + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Accepted", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ], + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com", + "userPrincipalName": "contoso@microsoft.com", + "aadEmail": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Delete.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Delete.json new file mode 100644 index 000000000000..228a7a868c95 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Delete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization" + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/locations/eastus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-02-09-preview" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/locations/eastus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-02-09-preview" + } + }, + "204": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/locations/eastus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-02-09-preview" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Get.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Get.json new file mode 100644 index 000000000000..4e30de614680 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization", + "name": "myOrganization", + "type": "Microsoft.Confluent/organizations", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-05-09T14:28:47.284Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-05-09T14:28:47.284Z" + }, + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Accepted", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_ListByResourceGroup.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_ListByResourceGroup.json new file mode 100644 index 000000000000..a32f2717a033 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganizations", + "name": "myOrganizations", + "type": "Microsoft.Confluent/organizations", + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Accepted", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ], + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com", + "userPrincipalName": "contoso@microsoft.com", + "aadEmail": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_ListBySubscription.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_ListBySubscription.json new file mode 100644 index 000000000000..07fcde100499 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganizations", + "name": "myOrganizations", + "type": "Microsoft.Confluent/organizations", + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Accepted", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ], + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com", + "userPrincipalName": "contoso@microsoft.com", + "aadEmail": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Update.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Update.json new file mode 100644 index 000000000000..6a57a390770c --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Organization_Update.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "tags": { + "env": "dev", + "client": "dev-client" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization", + "name": "myOrganization", + "type": "Microsoft.Confluent/organizations", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-05-09T14:28:47.284Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-05-09T14:28:47.284Z" + }, + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Succeeded", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Validations_ValidateOrganizations.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Validations_ValidateOrganizations.json new file mode 100644 index 000000000000..63ec98bc73f1 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Validations_ValidateOrganizations.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "properties": { + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ] + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "abc@microsoft.com", + "userPrincipalName": "abc@microsoft.com", + "aadEmail": "abc@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization", + "name": "myOrganization", + "type": "Microsoft.Confluent/organizations", + "properties": { + "createdTime": "2020-05-09T14:28:47.284Z", + "provisioningState": "Succeeded", + "organizationId": "string", + "ssoUrl": "string", + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ], + "status": "Started" + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "abc@microsoft.com", + "userPrincipalName": "abc@microsoft.com", + "aadEmail": "abc@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Validations_ValidateOrganizationsV2.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Validations_ValidateOrganizationsV2.json new file mode 100644 index 000000000000..e629a91ff5ed --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2023-08-22/examples/Validations_ValidateOrganizationsV2.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2023-08-22", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "properties": { + "offerDetail": { + "publisherId": "string", + "id": "string", + "planId": "string", + "planName": "string", + "termUnit": "string", + "privateOfferId": "string", + "privateOfferIds": [ + "string" + ] + }, + "userDetail": { + "firstName": "string", + "lastName": "string", + "emailAddress": "abc@microsoft.com", + "userPrincipalName": "abc@microsoft.com", + "aadEmail": "abc@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "info": { + "displayMessage": "This is display message" + } + } + } + } +} diff --git a/specification/confluent/resource-manager/readme.md b/specification/confluent/resource-manager/readme.md index fdb92c670ad3..8630682b4020 100644 --- a/specification/confluent/resource-manager/readme.md +++ b/specification/confluent/resource-manager/readme.md @@ -28,18 +28,26 @@ These are the global settings for the Confluent API. title: ConfluentManagementClient openapi-type: arm openapi-subtype: rpaas -tag: package-2021-12-01 +tag: package-2023-08-22 ``` +### Tag: package-2023-08-22 +These settings apply only when `--tag=package-2023-08-22` is specified on the command line. +```yaml $(tag) == 'package-2023-08-22' +input-file: + - Microsoft.Confluent/stable/2023-08-22/confluent.json + +``` ### Tag: package-2021-12-01 These settings apply only when `--tag=package-2021-12-01` is specified on the command line. -```yaml $(tag) == 'package-2021-12-01' +``` yaml $(tag) == 'package-2021-12-01' input-file: - Microsoft.Confluent/stable/2021-12-01/confluent.json ``` + ### Tag: package-preview-2021-09 These settings apply only when `--tag=package-preview-2021-09` is specified on the command line.