From 64f6997950d8bee63f314563cedaa20148db2186 Mon Sep 17 00:00:00 2001 From: DeepikaNMS <127926235+DeepikaNMS@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:04:58 +0530 Subject: [PATCH] Stable version 2024-07-01 for Microsoft.Confluent RP (#31932) * Stable version 2024-07-01 for Microsoft.Confluent RP * Fix spellcheck error * Fix avocado error --------- Co-authored-by: Dipesh Bhakat <107024030+dipeshbhakat-microsoft@users.noreply.github.com> --- cSpell.json | 4 +- .../stable/2024-07-01/confluent.json | 5044 +++++++++++++++++ .../examples/Access_ClusterList.json | 75 + .../examples/Access_CreateRoleBinding.json | 31 + .../examples/Access_DeleteRoleBinding.json | 13 + .../examples/Access_EnvironmentList.json | 42 + .../examples/Access_InvitationsList.json | 47 + .../examples/Access_InviteUser.json | 34 + .../examples/Access_RoleBindingList.json | 46 + .../examples/Access_RoleBindingNameList.json | 36 + .../examples/Access_ServiceAccountsList.json | 43 + .../2024-07-01/examples/Access_UsersList.json | 44 + .../2024-07-01/examples/Cluster_Create.json | 121 + .../2024-07-01/examples/Cluster_Delete.json | 22 + .../examples/Environment_Create.json | 56 + .../examples/Environment_Delete.json | 21 + .../MarketplaceAgreements_Create.json | 38 + .../examples/MarketplaceAgreements_List.json | 45 + .../examples/OrganizationOperations_List.json | 44 + .../examples/Organization_ClusterList.json | 65 + .../examples/Organization_ConnectorList.json | 54 + .../examples/Organization_Create.json | 119 + .../Organization_CreateClusterAPIKey.json | 47 + .../Organization_CreateConnectorByName.json | 117 + .../examples/Organization_Delete.json | 25 + .../Organization_DeleteClusterAPIKey.json | 13 + .../Organization_DeleteConnectorByName.json | 23 + .../Organization_EnvironmentList.json | 32 + .../2024-07-01/examples/Organization_Get.json | 54 + .../Organization_GetClusterAPIKey.json | 42 + .../examples/Organization_GetClusterById.json | 60 + .../Organization_GetConnectorByName.json | 49 + .../Organization_GetEnvironmentById.json | 28 + ...nization_GetSchemaRegistryClusterById.json | 46 + .../Organization_ListByResourceGroup.json | 50 + .../Organization_ListBySubscription.json | 49 + .../examples/Organization_ListRegions.json | 43 + ...ganization_ListSchemaRegistryClusters.json | 49 + .../examples/Organization_TopicList.json | 42 + .../examples/Organization_Update.json | 56 + .../2024-07-01/examples/Topics_Create.json | 79 + .../2024-07-01/examples/Topics_Delete.json | 23 + .../2024-07-01/examples/Topics_Get.json | 38 + .../Validations_ValidateOrganizations.json | 72 + .../Validations_ValidateOrganizationsV2.json | 43 + .../confluent/resource-manager/readme.md | 10 +- 46 files changed, 7132 insertions(+), 2 deletions(-) create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/confluent.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ClusterList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_CreateRoleBinding.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_DeleteRoleBinding.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_EnvironmentList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_InvitationsList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_InviteUser.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_RoleBindingList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_RoleBindingNameList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ServiceAccountsList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_UsersList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Cluster_Create.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Cluster_Delete.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Create.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Delete.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_Create.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_List.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/OrganizationOperations_List.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ClusterList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ConnectorList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Create.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateClusterAPIKey.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateConnectorByName.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Delete.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteClusterAPIKey.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteConnectorByName.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_EnvironmentList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Get.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterAPIKey.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterById.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetConnectorByName.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetEnvironmentById.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetSchemaRegistryClusterById.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListByResourceGroup.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListBySubscription.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListRegions.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListSchemaRegistryClusters.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_TopicList.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Update.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Create.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Delete.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Get.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizations.json create mode 100644 specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizationsV2.json diff --git a/cSpell.json b/cSpell.json index d5cd554ffbd1..227216fc576f 100644 --- a/cSpell.json +++ b/cSpell.json @@ -1053,7 +1053,9 @@ { "filename": "**/specification/confluent/resource-manager/Microsoft.Confluent/**/confluent.json", "words": [ - "orgvalidate" + "orgvalidate", + "AZUREBLOBSOURCE", + "AZUREBLOBSINK" ] }, { diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/confluent.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/confluent.json new file mode 100644 index 000000000000..f8eeb1da7ccd --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/confluent.json @@ -0,0 +1,5044 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.Confluent", + "version": "2024-07-01" + }, + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/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": "#/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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + } + ], + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$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" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/createRoleBinding": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization role bindings", + "operationId": "Access_CreateRoleBinding", + "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": "Create role binding Request Model", + "schema": { + "$ref": "#/definitions/Access_CreateRoleBindingRequestModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RoleBindingRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_CreateRoleBinding": { + "$ref": "./examples/Access_CreateRoleBinding.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/deleteRoleBinding/{roleBindingId}": { + "delete": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization role bindings", + "operationId": "Access_DeleteRoleBinding", + "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" + }, + { + "$ref": "#/parameters/RoleBindingIdParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_DeleteRoleBinding": { + "$ref": "./examples/Access_DeleteRoleBinding.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listRoleBindingNameList": { + "post": { + "tags": [ + "accessandaccounts" + ], + "summary": "Organization role bindings", + "operationId": "Access_ListRoleBindingNameList", + "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_RoleBindingNameList_SuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Access_RoleBindingNameList": { + "$ref": "./examples/Access_RoleBindingNameList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments": { + "get": { + "tags": [ + "service connectors" + ], + "summary": "Lists of all the environments in a organization", + "operationId": "Organization_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" + }, + { + "$ref": "#/parameters/PageSizeParameter" + }, + { + "$ref": "#/parameters/PageTokenParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GetEnvironmentsResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_ListEnvironments": { + "$ref": "./examples/Organization_EnvironmentList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}": { + "get": { + "tags": [ + "service connectors" + ], + "summary": "Get Environment details by environment Id", + "operationId": "Organization_GetEnvironmentById", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SCEnvironmentRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_GetEnvironmentById": { + "$ref": "./examples/Organization_GetEnvironmentById.json" + } + } + }, + "put": { + "tags": [ + "confluent environments" + ], + "summary": "Create confluent environment", + "operationId": "Environment_CreateOrUpdate", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "in": "body", + "name": "body", + "description": "Confluent Environment resource model", + "schema": { + "$ref": "#/definitions/SCEnvironmentRecord" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SCEnvironmentRecord" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SCEnvironmentRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Environment_CreateOrUpdate": { + "$ref": "./examples/Environment_Create.json" + } + } + }, + "delete": { + "tags": [ + "confluent environments" + ], + "summary": "Delete confluent environment by id", + "operationId": "Environment_Delete", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "NoContent", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Environment_Delete": { + "$ref": "./examples/Environment_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters": { + "get": { + "tags": [ + "service connectors" + ], + "summary": "Lists of all the clusters in a environment", + "operationId": "Organization_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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/PageSizeParameter" + }, + { + "$ref": "#/parameters/PageTokenParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ListClustersSuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_ListClusters": { + "$ref": "./examples/Organization_ClusterList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters": { + "get": { + "tags": [ + "service connectors" + ], + "summary": "Get schema registry clusters", + "operationId": "Organization_ListSchemaRegistryClusters", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/PageSizeParameter" + }, + { + "$ref": "#/parameters/PageTokenParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ListSchemaRegistryClustersResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_ListSchemaRegistryClusters": { + "$ref": "./examples/Organization_ListSchemaRegistryClusters.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/listRegions": { + "post": { + "tags": [ + "service connectors" + ], + "summary": "cloud provider regions available for creating Schema Registry clusters.", + "operationId": "Organization_ListRegions", + "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/ListRegionsSuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_ListRegions": { + "$ref": "./examples/Organization_ListRegions.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/createAPIKey": { + "post": { + "tags": [ + "service connectors" + ], + "summary": "Creates API key for a schema registry Cluster ID or Kafka Cluster ID under a environment", + "operationId": "Organization_CreateAPIKey", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload for get creating API Key for schema registry Cluster ID or Kafka Cluster ID under a environment", + "schema": { + "$ref": "#/definitions/CreateAPIKeyModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/APIKeyRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_CreateClusterAPIKey": { + "$ref": "./examples/Organization_CreateClusterAPIKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}": { + "delete": { + "tags": [ + "service connectors" + ], + "summary": "Deletes API key of a kafka or schema registry cluster", + "operationId": "Organization_DeleteClusterAPIKey", + "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" + }, + { + "$ref": "#/parameters/ConfluentAPIKeyParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_DeleteClusterAPIKey": { + "$ref": "./examples/Organization_DeleteClusterAPIKey.json" + } + } + }, + "get": { + "tags": [ + "service connectors" + ], + "summary": "Get API key details of a kafka or schema registry cluster", + "operationId": "Organization_GetClusterAPIKey", + "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" + }, + { + "$ref": "#/parameters/ConfluentAPIKeyParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/APIKeyRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_GetClusterAPIKey": { + "$ref": "./examples/Organization_GetClusterAPIKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters/{clusterId}": { + "get": { + "tags": [ + "service connectors" + ], + "summary": "Get schema registry cluster by Id", + "operationId": "Organization_GetSchemaRegistryClusterById", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SchemaRegistryClusterRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_GetSchemaRegistryClusterById": { + "$ref": "./examples/Organization_GetSchemaRegistryClusterById.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}": { + "get": { + "tags": [ + "service connectors" + ], + "summary": "Get cluster by Id", + "operationId": "Organization_GetClusterById", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SCClusterRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_GetClusterById": { + "$ref": "./examples/Organization_GetClusterById.json" + } + } + }, + "put": { + "tags": [ + "confluent clusters" + ], + "summary": "Create confluent clusters", + "operationId": "Cluster_CreateOrUpdate", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "in": "body", + "name": "body", + "description": "Confluent Cluster resource model", + "schema": { + "$ref": "#/definitions/SCClusterRecord" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SCClusterRecord" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SCClusterRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Cluster_CreateOrUpdate": { + "$ref": "./examples/Cluster_Create.json" + } + } + }, + "delete": { + "tags": [ + "confluent clusters" + ], + "summary": "Delete confluent cluster by id", + "operationId": "Cluster_Delete", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "NoContent", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Cluster_Delete": { + "$ref": "./examples/Cluster_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/connectors/{connectorName}": { + "get": { + "tags": [ + "confluent connectors" + ], + "summary": "Get confluent connector by Name", + "operationId": "Connector_Get", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/ConnectorNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConnectorResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector_Get": { + "$ref": "./examples/Organization_GetConnectorByName.json" + } + } + }, + "put": { + "tags": [ + "confluent connectors" + ], + "summary": "Create confluent connector by Name", + "operationId": "Connector_CreateOrUpdate", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/ConnectorNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Confluent Connector resource model", + "schema": { + "$ref": "#/definitions/ConnectorResource" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConnectorResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ConnectorResource" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector_CreateOrUpdate": { + "$ref": "./examples/Organization_CreateConnectorByName.json" + } + } + }, + "delete": { + "tags": [ + "confluent connectors" + ], + "summary": "Delete confluent connector by name", + "operationId": "Connector_Delete", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/ConnectorNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "NoContent", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Connector_Delete": { + "$ref": "./examples/Organization_DeleteConnectorByName.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/connectors": { + "get": { + "tags": [ + "confluent connectors" + ], + "summary": "Lists all the connectors in a cluster", + "operationId": "Connector_List", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/PageSizeParameter" + }, + { + "$ref": "#/parameters/PageTokenParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ListConnectorsSuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector_List": { + "$ref": "./examples/Organization_ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/topics": { + "get": { + "tags": [ + "confluent connectors" + ], + "summary": "Lists of all the topics in a clusters", + "operationId": "Topics_List", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/PageSizeParameter" + }, + { + "$ref": "#/parameters/PageTokenParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ListTopicsSuccessResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Organization_ListTopics": { + "$ref": "./examples/Organization_TopicList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/topics/{topicName}": { + "get": { + "tags": [ + "confluent topics" + ], + "summary": "Get confluent topic by Name", + "operationId": "Topics_Get", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/TopicNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/TopicRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Topics_Get": { + "$ref": "./examples/Topics_Get.json" + } + } + }, + "put": { + "tags": [ + "confluent topics" + ], + "summary": "Create confluent topics by Name", + "operationId": "Topics_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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/TopicNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Confluent Topics resource model", + "schema": { + "$ref": "#/definitions/TopicRecord" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/TopicRecord" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/TopicRecord" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Topics_Create": { + "$ref": "./examples/Topics_Create.json" + } + } + }, + "delete": { + "tags": [ + "confluent topics" + ], + "summary": "Delete confluent topic by name", + "operationId": "Topics_Delete", + "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" + }, + { + "$ref": "#/parameters/EnvironmentIdParameter" + }, + { + "$ref": "#/parameters/ClusterIdParameter" + }, + { + "$ref": "#/parameters/TopicNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "NoContent", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Topics_Delete": { + "$ref": "./examples/Topics_Delete.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/v5/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": "Details about environment name, metadata and environment id of an 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": "List of environment records", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentRecord" + } + }, + "Access_ListEnvironments_SuccessResponse": { + "description": "Details of the environments returned on successful response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the environment list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "Environment list data", + "$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": "Details of cluster record", + "type": "object", + "properties": { + "kind": { + "description": "Type of cluster", + "type": "string" + }, + "id": { + "description": "Id of the cluster", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/MetadataEntity" + }, + "display_name": { + "description": "Display name of the cluster", + "type": "string" + }, + "spec": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterSpecEntity" + }, + "status": { + "description": "Specification of the cluster", + "$ref": "#/definitions/ClusterStatusEntity" + } + } + }, + "ClusterList": { + "description": "List of Cluster Records", + "type": "array", + "items": { + "$ref": "#/definitions/ClusterRecord" + } + }, + "Access_ListCluster_SuccessResponse": { + "description": "Details of the clusters returned on successful response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "List of clusters", + "$ref": "#/definitions/ClusterList" + } + } + }, + "RoleBindingRecord": { + "description": "Details on principal, role name and crn pattern of a role binding", + "type": "object", + "properties": { + "kind": { + "description": "The type of the resource.", + "type": "string" + }, + "id": { + "description": "Id of the role binding", + "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": "List of Role Binding records", + "type": "array", + "items": { + "$ref": "#/definitions/RoleBindingRecord" + } + }, + "Access_ListRoleBindings_SuccessResponse": { + "description": "Details of the role bindings returned on successful response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "List of role binding", + "$ref": "#/definitions/RoleBindingList" + } + } + }, + "RoleBindingNameList": { + "description": "List of role binding names", + "type": "array", + "items": { + "type": "string" + } + }, + "Access_CreateRoleBindingRequestModel": { + "description": "Create role binding request model", + "type": "object", + "properties": { + "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" + } + } + }, + "Access_RoleBindingNameList_SuccessResponse": { + "description": "Details of the role binding names returned on successful response", + "type": "object", + "properties": { + "kind": { + "description": "Type of response", + "type": "string" + }, + "metadata": { + "description": "Metadata of the list", + "$ref": "#/definitions/ConfluentListMetadata" + }, + "data": { + "description": "List of role binding names", + "$ref": "#/definitions/RoleBindingNameList" + } + } + }, + "SCMetadataEntity": { + "description": "Metadata of the data record", + "type": "object", + "properties": { + "self": { + "description": "Self lookup url", + "type": "string" + }, + "resourceName": { + "description": "Resource name of the record", + "type": "string" + }, + "createdTimestamp": { + "description": "Created Date Time", + "type": "string" + }, + "updatedTimestamp": { + "description": "Updated Date time", + "type": "string" + }, + "deletedTimestamp": { + "description": "Deleted Date time", + "type": "string" + } + } + }, + "TopicMetadataEntity": { + "description": "Metadata of the data record", + "type": "object", + "properties": { + "self": { + "description": "Self lookup url", + "type": "string" + }, + "resourceName": { + "description": "Resource name of the record", + "type": "string" + } + } + }, + "TopicsRelatedLink": { + "description": "Partition Config spec of the topic record", + "type": "object", + "properties": { + "related": { + "description": "Relationship of the topic", + "type": "string" + } + } + }, + "TopicsInputConfigs": { + "description": "Topics input config array", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/TopicsInputConfig" + } + }, + "TopicsInputConfig": { + "description": "Topics input config", + "type": "object", + "properties": { + "name": { + "description": "Name of the topic input config", + "type": "string" + }, + "value": { + "description": "Value of the topic input config", + "type": "string" + } + } + }, + "SCConfluentListMetadata": { + "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" + }, + "totalSize": { + "description": "Total size of the list", + "type": "integer", + "format": "int32" + } + } + }, + "GetEnvironmentsResponse": { + "description": "Result of GET request to list Confluent operations.", + "type": "object", + "properties": { + "value": { + "description": "List of environments in a confluent organization", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/SCEnvironmentRecord" + } + }, + "nextLink": { + "description": "URL to get the next set of environment records if there are any.", + "type": "string" + } + } + }, + "StreamGovernanceConfig": { + "description": "Stream governance configuration", + "type": "object", + "properties": { + "package": { + "description": "Stream governance configuration", + "$ref": "#/definitions/Package" + } + } + }, + "Package": { + "enum": [ + "ESSENTIALS", + "ADVANCED" + ], + "type": "string", + "description": "Stream Governance Package. Supported values are ESSENTIALS and ADVANCED", + "x-ms-enum": { + "name": "Package", + "modelAsString": true + } + }, + "SCEnvironmentRecord": { + "description": "Details about environment name, metadata and environment id of an environment", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "kind": { + "description": "Type of environment", + "type": "string" + }, + "id": { + "description": "Id of the environment", + "type": "string" + }, + "type": { + "description": "Type of the resource", + "type": "string" + }, + "properties": { + "description": "Environment properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/EnvironmentProperties" + }, + "name": { + "description": "Display name of the environment", + "type": "string" + } + } + }, + "EnvironmentProperties": { + "description": "Environment resource property", + "type": "object", + "properties": { + "streamGovernanceConfig": { + "description": "Stream governance configuration", + "$ref": "#/definitions/StreamGovernanceConfig" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/SCMetadataEntity" + } + } + }, + "SCClusterByokEntity": { + "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" + }, + "resourceName": { + "description": "CRN reference to the referred resource", + "type": "string" + } + } + }, + "SCClusterNetworkEnvironmentEntity": { + "description": "The environment or the network 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" + }, + "resourceName": { + "description": "CRN reference to the referred resource", + "type": "string" + } + } + }, + "SCClusterSpecEntity": { + "description": "Spec of the cluster record", + "type": "object", + "properties": { + "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" + }, + "package": { + "description": "Stream governance configuration", + "$ref": "#/definitions/Package" + }, + "region": { + "description": "The cloud service provider region", + "type": "string" + }, + "kafkaBootstrapEndpoint": { + "description": "The bootstrap endpoint used by Kafka clients to connect to the cluster", + "type": "string" + }, + "httpEndpoint": { + "description": "The cluster HTTP request URL.", + "type": "string" + }, + "apiEndpoint": { + "description": "The Kafka API cluster endpoint", + "type": "string" + }, + "config": { + "description": "Specification of the cluster configuration", + "$ref": "#/definitions/ClusterConfigEntity" + }, + "environment": { + "description": "Specification of the cluster environment", + "$ref": "#/definitions/SCClusterNetworkEnvironmentEntity" + }, + "network": { + "description": "Specification of the cluster network", + "$ref": "#/definitions/SCClusterNetworkEnvironmentEntity" + }, + "byok": { + "description": "Specification of the cluster byok", + "$ref": "#/definitions/SCClusterByokEntity" + } + } + }, + "SCClusterRecord": { + "description": "Details of cluster record", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "kind": { + "description": "Type of cluster", + "type": "string" + }, + "id": { + "description": "Id of the cluster", + "type": "string" + }, + "type": { + "description": "Type of the resource", + "type": "string" + }, + "properties": { + "description": "Cluster Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties" + }, + "name": { + "description": "Display name of the cluster", + "type": "string" + } + } + }, + "ClusterProperties": { + "description": "Service Connector Cluster Properties", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/SCMetadataEntity" + }, + "spec": { + "description": "Specification of the cluster", + "$ref": "#/definitions/SCClusterSpecEntity" + }, + "status": { + "description": "Specification of the cluster status", + "$ref": "#/definitions/ClusterStatusEntity" + } + } + }, + "ListClustersSuccessResponse": { + "description": "Result of GET request to list clusters in the environment of a confluent organization", + "type": "object", + "properties": { + "value": { + "description": "List of clusters in an environment of a confluent organization", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/SCClusterRecord" + } + }, + "nextLink": { + "description": "URL to get the next set of cluster records if there are any.", + "type": "string" + } + } + }, + "TopicRecord": { + "description": "Details of topic record", + "x-ms-azure-resource": true, + "type": "object", + "properties": { + "id": { + "description": "The ARM Resource Id of the Topic", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Display name of the topic", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Topic Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TopicProperties" + } + } + }, + "TopicProperties": { + "description": "Topic Properties", + "type": "object", + "properties": { + "kind": { + "description": "Type of topic", + "type": "string" + }, + "topicId": { + "description": "Topic Id returned by Confluent", + "type": "string" + }, + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/TopicMetadataEntity" + }, + "partitions": { + "description": "Partition Specification of the topic", + "$ref": "#/definitions/TopicsRelatedLink" + }, + "configs": { + "description": "Config Specification of the topic", + "$ref": "#/definitions/TopicsRelatedLink" + }, + "inputConfigs": { + "description": "Input Config Specification of the topic", + "$ref": "#/definitions/TopicsInputConfigs" + }, + "partitionsReassignments": { + "description": "Partition Reassignment Specification of the topic", + "$ref": "#/definitions/TopicsRelatedLink" + }, + "partitionsCount": { + "description": "Partition count of the topic", + "type": "string" + }, + "replicationFactor": { + "description": "Replication factor of the topic", + "type": "string" + } + } + }, + "ListTopicsSuccessResponse": { + "description": "Result of GET request to list topics in the cluster of a confluent organization", + "type": "object", + "properties": { + "value": { + "description": "List of topics in a cluster of a confluent organization", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/TopicRecord" + } + }, + "nextLink": { + "description": "URL to get the next set of topics records if there are any.", + "type": "string" + } + } + }, + "AzureBlobStorageSinkConnectorServiceInfo": { + "x-ms-discriminator-value": "AzureBlobStorageSinkConnector", + "type": "object", + "description": "The authentication info when auth_type is azureBlobStorageSinkConnector", + "allOf": [ + { + "$ref": "#/definitions/ConnectorServiceTypeInfoBase" + } + ], + "properties": { + "storageAccountName": { + "description": "Azure Blob Storage Account Name", + "type": "string" + }, + "storageAccountKey": { + "description": "Azure Blob Storage Account Key", + "type": "string" + }, + "storageContainerName": { + "description": "Azure Blob Storage Account Container Name", + "type": "string" + } + } + }, + "AzureBlobStorageSourceConnectorServiceInfo": { + "x-ms-discriminator-value": "AzureBlobStorageSourceConnector", + "type": "object", + "description": "The connector service type is AzureBlobStorageSourceConnector", + "allOf": [ + { + "$ref": "#/definitions/ConnectorServiceTypeInfoBase" + } + ], + "properties": { + "storageAccountName": { + "description": "Azure Blob Storage Account Name", + "type": "string" + }, + "storageAccountKey": { + "description": "Azure Blob Storage Account Key", + "type": "string", + "x-ms-secret": true + }, + "storageContainerName": { + "description": "Azure Blob Storage Account Container Name", + "type": "string" + } + } + }, + "AzureCosmosDBSinkConnectorServiceInfo": { + "x-ms-discriminator-value": "AzureCosmosDBSinkConnector", + "type": "object", + "description": "The authentication info when auth_type is AzureCosmosDBSinkConnector", + "allOf": [ + { + "$ref": "#/definitions/ConnectorServiceTypeInfoBase" + } + ], + "properties": { + "cosmosDatabaseName": { + "description": "Azure Cosmos Database Name", + "type": "string" + }, + "cosmosMasterKey": { + "description": "Azure Cosmos Database Master Key", + "type": "string" + }, + "cosmosConnectionEndpoint": { + "description": "Azure Cosmos Database Connection Endpoint", + "type": "string" + }, + "cosmosContainersTopicMapping": { + "description": "Azure Cosmos Database Containers Topic Mapping", + "type": "string" + }, + "cosmosIdStrategy": { + "description": "Azure Cosmos Database Id Strategy", + "type": "string" + } + } + }, + "AzureCosmosDBSourceConnectorServiceInfo": { + "x-ms-discriminator-value": "AzureCosmosDBSourceConnector", + "type": "object", + "description": "The authentication info when auth_type is AzureCosmosDBSourceConnector", + "allOf": [ + { + "$ref": "#/definitions/ConnectorServiceTypeInfoBase" + } + ], + "properties": { + "cosmosDatabaseName": { + "description": "Azure Cosmos Database Name", + "type": "string" + }, + "cosmosMasterKey": { + "description": "Azure Cosmos Database Master Key", + "type": "string" + }, + "cosmosConnectionEndpoint": { + "description": "Azure Cosmos Database Connection Endpoint", + "type": "string" + }, + "cosmosContainersTopicMapping": { + "description": "Azure Cosmos Database Containers Topic Mapping", + "type": "string" + }, + "cosmosMessageKeyEnabled": { + "description": "Azure Cosmos Database Message Key Enabled", + "type": "boolean" + }, + "cosmosMessageKeyField": { + "description": "Azure Cosmos Database Message Key Field", + "type": "string" + } + } + }, + "AzureSynapseAnalyticsSinkConnectorServiceInfo": { + "x-ms-discriminator-value": "AzureSynapseAnalyticsSinkConnector", + "type": "object", + "description": "The authentication info when auth_type is AzureSynapseAnalyticsSinkConnector", + "allOf": [ + { + "$ref": "#/definitions/ConnectorServiceTypeInfoBase" + } + ], + "properties": { + "synapseSqlServerName": { + "description": "Azure Synapse Analytics SQL Server Name", + "type": "string" + }, + "synapseSqlUser": { + "description": "Azure Synapse SQL login details", + "type": "string" + }, + "synapseSqlPassword": { + "description": "Azure Synapse SQL login details", + "type": "string" + }, + "synapseSqlDatabaseName": { + "description": "Azure Synapse Dedicated SQL Pool Database Name", + "type": "string" + } + } + }, + "ConnectorServiceType": { + "description": "The connector service type.", + "type": "string", + "enum": [ + "AzureBlobStorageSinkConnector", + "AzureBlobStorageSourceConnector", + "AzureCosmosDBSinkConnector", + "AzureCosmosDBSourceConnector", + "AzureSynapseAnalyticsSinkConnector" + ], + "x-ms-enum": { + "name": "ConnectorServiceType", + "modelAsString": true + } + }, + "ConnectorServiceTypeInfoBase": { + "description": "The connector service type info", + "discriminator": "connectorServiceType", + "type": "object", + "properties": { + "connectorServiceType": { + "description": "The connector service type.", + "$ref": "#/definitions/ConnectorServiceType" + } + }, + "required": [ + "connectorServiceType" + ] + }, + "authType": { + "enum": [ + "SERVICE_ACCOUNT", + "KAFKA_API_KEY" + ], + "type": "string", + "description": "Kafka Connector Auth Type", + "title": "authType", + "x-ms-enum": { + "name": "authType", + "modelAsString": true + } + }, + "DataFormatType": { + "enum": [ + "AVRO", + "JSON", + "STRING", + "BYTES", + "PROTOBUF" + ], + "type": "string", + "description": "Data Format Type", + "title": "DataFormatType", + "x-ms-enum": { + "name": "DataFormatType", + "modelAsString": true + } + }, + "KafkaAzureBlobStorageSinkConnectorInfo": { + "x-ms-discriminator-value": "KafkaAzureBlobStorageSink", + "type": "object", + "description": "The partner connector type is KafkaAzureBlobStorageSink", + "allOf": [ + { + "$ref": "#/definitions/PartnerInfoBase" + } + ], + "properties": { + "authType": { + "description": "Kafka Auth Type", + "$ref": "#/definitions/authType" + }, + "inputFormat": { + "description": "Kafka Input Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "outputFormat": { + "description": "Kafka Output Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "apiKey": { + "description": "Kafka API Key", + "type": "string" + }, + "apiSecret": { + "description": "Kafka API Key Secret", + "type": "string" + }, + "serviceAccountId": { + "description": "Kafka Service Account Id", + "type": "string" + }, + "topics": { + "description": "Kafka topics list", + "type": "array", + "items": { + "type": "string" + } + }, + "topicsDir": { + "description": "Kafka topics directory", + "type": "string" + }, + "flushSize": { + "description": "Flush size", + "type": "string" + }, + "maxTasks": { + "description": "Maximum Tasks", + "type": "string" + }, + "timeInterval": { + "description": "Time Interval", + "type": "string" + } + } + }, + "KafkaAzureBlobStorageSourceConnectorInfo": { + "x-ms-discriminator-value": "KafkaAzureBlobStorageSource", + "type": "object", + "description": "The partner connector type is KafkaAzureBlobStorageSource", + "allOf": [ + { + "$ref": "#/definitions/PartnerInfoBase" + } + ], + "properties": { + "authType": { + "description": "Kafka Auth Type", + "$ref": "#/definitions/authType" + }, + "inputFormat": { + "description": "Kafka Input Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "outputFormat": { + "description": "Kafka Output Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "apiKey": { + "description": "Kafka API Key", + "type": "string" + }, + "apiSecret": { + "description": "Kafka API Secret", + "type": "string", + "x-ms-secret": true + }, + "serviceAccountId": { + "description": "Kafka Service Account Id", + "type": "string" + }, + "topicRegex": { + "description": "Kafka topics Regex pattern", + "type": "string" + }, + "topicsDir": { + "description": "Kafka topics directory", + "type": "string" + }, + "maxTasks": { + "description": "Maximum Tasks", + "type": "string" + } + } + }, + "KafkaAzureCosmosDBSinkConnectorInfo": { + "x-ms-discriminator-value": "KafkaAzureCosmosDBSink", + "type": "object", + "description": "The partner connector type is KafkaAzureCosmosDBSink", + "allOf": [ + { + "$ref": "#/definitions/PartnerInfoBase" + } + ], + "properties": { + "authType": { + "description": "Kafka Auth Type", + "$ref": "#/definitions/authType" + }, + "inputFormat": { + "description": "Kafka Input Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "outputFormat": { + "description": "Kafka Output Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "apiKey": { + "description": "Kafka API Key", + "type": "string" + }, + "apiSecret": { + "description": "Kafka API Key Secret", + "type": "string" + }, + "serviceAccountId": { + "description": "Kafka Service Account Id", + "type": "string" + }, + "topics": { + "description": "Kafka topics list", + "type": "array", + "items": { + "type": "string" + } + }, + "topicsDir": { + "description": "Kafka topics directory", + "type": "string" + }, + "flushSize": { + "description": "Flush size", + "type": "string" + }, + "maxTasks": { + "description": "Maximum Tasks", + "type": "string" + }, + "timeInterval": { + "description": "Time Interval", + "type": "string" + } + } + }, + "KafkaAzureCosmosDBSourceConnectorInfo": { + "x-ms-discriminator-value": "KafkaAzureCosmosDBSource", + "type": "object", + "description": "The partner connector type is KafkaAzureCosmosDBSource", + "allOf": [ + { + "$ref": "#/definitions/PartnerInfoBase" + } + ], + "properties": { + "authType": { + "description": "Kafka Auth Type", + "$ref": "#/definitions/authType" + }, + "inputFormat": { + "description": "Kafka Input Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "outputFormat": { + "description": "Kafka Output Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "apiKey": { + "description": "Kafka API Key", + "type": "string" + }, + "apiSecret": { + "description": "Kafka API Secret", + "type": "string", + "x-ms-secret": true + }, + "serviceAccountId": { + "description": "Kafka Service Account Id", + "type": "string" + }, + "topicRegex": { + "description": "Kafka topics Regex pattern", + "type": "string" + }, + "topicsDir": { + "description": "Kafka topics directory", + "type": "string" + }, + "maxTasks": { + "description": "Maximum Tasks", + "type": "string" + } + } + }, + "KafkaAzureSynapseAnalyticsSinkConnectorInfo": { + "x-ms-discriminator-value": "KafkaAzureSynapseAnalyticsSink", + "type": "object", + "description": "The partner connector type is KafkaAzureSynapseAnalyticsSink", + "allOf": [ + { + "$ref": "#/definitions/PartnerInfoBase" + } + ], + "properties": { + "authType": { + "description": "Kafka Auth Type", + "$ref": "#/definitions/authType" + }, + "inputFormat": { + "description": "Kafka Input Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "outputFormat": { + "description": "Kafka Output Data Format Type", + "$ref": "#/definitions/DataFormatType" + }, + "apiKey": { + "description": "Kafka API Key", + "type": "string" + }, + "apiSecret": { + "description": "Kafka API Key Secret", + "type": "string" + }, + "serviceAccountId": { + "description": "Kafka Service Account Id", + "type": "string" + }, + "topics": { + "description": "Kafka topics list", + "type": "array", + "items": { + "type": "string" + } + }, + "topicsDir": { + "description": "Kafka topics directory", + "type": "string" + }, + "flushSize": { + "description": "Flush size", + "type": "string" + }, + "maxTasks": { + "description": "Maximum Tasks", + "type": "string" + }, + "timeInterval": { + "description": "Time Interval", + "type": "string" + } + } + }, + "PartnerConnectorType": { + "description": "Partner Connector type.", + "type": "string", + "enum": [ + "KafkaAzureBlobStorageSource", + "KafkaAzureBlobStorageSink", + "KafkaAzureCosmosDBSource", + "KafkaAzureCosmosDBSink", + "KafkaAzureSynapseAnalyticsSink" + ], + "x-ms-enum": { + "name": "PartnerConnectorType", + "modelAsString": true + } + }, + "PartnerInfoBase": { + "description": "The partner info base", + "discriminator": "partnerConnectorType", + "type": "object", + "properties": { + "partnerConnectorType": { + "description": "The partner connector type.", + "$ref": "#/definitions/PartnerConnectorType" + } + }, + "required": [ + "partnerConnectorType" + ] + }, + "ConnectorState": { + "enum": [ + "PROVISIONING", + "RUNNING", + "PAUSED", + "FAILED" + ], + "type": "string", + "description": "Connector Status", + "title": "ConnectorStatus", + "x-ms-enum": { + "name": "ConnectorStatus", + "modelAsString": true + } + }, + "ConnectorType": { + "enum": [ + "SINK", + "SOURCE" + ], + "type": "string", + "description": "Connector Type", + "title": "ConnectorType", + "x-ms-enum": { + "name": "ConnectorType", + "modelAsString": true + } + }, + "ConnectorClass": { + "enum": [ + "AZUREBLOBSOURCE", + "AZUREBLOBSINK" + ], + "type": "string", + "description": "Connector Class", + "title": "ConnectorClass", + "x-ms-enum": { + "name": "ConnectorClass", + "modelAsString": true + } + }, + "ConnectorInfoBase": { + "description": "Connector Info Base properties", + "type": "object", + "properties": { + "connectorType": { + "description": "Connector Type", + "$ref": "#/definitions/ConnectorType" + }, + "connectorClass": { + "description": "Connector Class", + "$ref": "#/definitions/ConnectorClass" + }, + "connectorName": { + "description": "Connector Name", + "type": "string" + }, + "connectorId": { + "description": "Connector Id", + "type": "string" + }, + "connectorState": { + "description": "Connector Status", + "$ref": "#/definitions/ConnectorState" + } + } + }, + "ConnectorResourceProperties": { + "description": "The resource properties of the Connector", + "type": "object", + "properties": { + "connectorBasicInfo": { + "description": "Connector Info Base", + "$ref": "#/definitions/ConnectorInfoBase" + }, + "connectorServiceTypeInfo": { + "description": "Connector Service type info base properties.", + "$ref": "#/definitions/ConnectorServiceTypeInfoBase" + }, + "partnerConnectorInfo": { + "description": "The connection information consumed by applications.", + "$ref": "#/definitions/PartnerInfoBase" + } + } + }, + "ConnectorResource": { + "description": "Details of connector record", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource." + } + ], + "required": [ + "properties" + ], + "properties": { + "name": { + "description": "Display name of the connector", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "The properties of the Connector", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConnectorResourceProperties" + } + } + }, + "ListConnectorsSuccessResponse": { + "description": "Result of GET request to list connectors in the cluster of a confluent organization", + "type": "object", + "properties": { + "value": { + "description": "List of connectors in a cluster of a confluent organization", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ConnectorResource" + } + }, + "nextLink": { + "description": "URL to get the next set of connectors records if there are any.", + "type": "string" + } + } + }, + "ListSchemaRegistryClustersResponse": { + "description": "Result of GET request to list schema registry clusters in the environment of a confluent organization", + "type": "object", + "properties": { + "value": { + "description": "List of schema registry clusters in an environment of a confluent organization", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/SchemaRegistryClusterRecord" + } + }, + "nextLink": { + "description": "URL to get the next set of schema registry cluster records if there are any.", + "type": "string" + } + } + }, + "SchemaRegistryClusterEnvironmentRegionEntity": { + "description": "The environment 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" + }, + "resourceName": { + "description": "CRN reference to the referred resource", + "type": "string" + } + } + }, + "SchemaRegistryClusterSpecEntity": { + "description": "Details of schema registry cluster spec", + "type": "object", + "properties": { + "name": { + "description": "Name of the schema registry cluster", + "type": "string" + }, + "httpEndpoint": { + "description": "Http endpoint of the cluster", + "type": "string" + }, + "package": { + "description": "Type of the cluster package Advanced, essentials", + "type": "string" + }, + "region": { + "description": "Region details of the schema registry cluster", + "type": "object", + "$ref": "#/definitions/SchemaRegistryClusterEnvironmentRegionEntity" + }, + "environment": { + "description": "Environment details of the schema registry cluster", + "type": "object", + "$ref": "#/definitions/SchemaRegistryClusterEnvironmentRegionEntity" + }, + "cloud": { + "description": "The cloud service provider ", + "type": "string" + } + } + }, + "SchemaRegistryClusterStatusEntity": { + "description": "Status of the schema registry cluster record", + "type": "object", + "properties": { + "phase": { + "description": "The lifecycle phase of the cluster", + "type": "string" + } + } + }, + "SchemaRegistryClusterRecord": { + "description": "Details of schema registry cluster record", + "type": "object", + "properties": { + "kind": { + "description": "Kind of the cluster", + "type": "string" + }, + "id": { + "description": "Id of the cluster", + "type": "string" + }, + "properties": { + "description": "Schema Registry Cluster Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SchemaRegistryClusterProperties" + } + } + }, + "SchemaRegistryClusterProperties": { + "description": "Schema Registry Cluster Properties", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/SCMetadataEntity" + }, + "spec": { + "description": "Specification of the schema registry cluster", + "$ref": "#/definitions/SchemaRegistryClusterSpecEntity" + }, + "status": { + "description": "Specification of the cluster status", + "$ref": "#/definitions/SchemaRegistryClusterStatusEntity" + } + } + }, + "RegionSpecEntity": { + "description": "Region spec details", + "type": "object", + "properties": { + "name": { + "description": "Display Name of the region", + "type": "string" + }, + "cloud": { + "description": "Cloud provider name", + "type": "string" + }, + "regionName": { + "description": "Region name", + "type": "string" + }, + "packages": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RegionRecord": { + "description": "Details of region record", + "type": "object", + "properties": { + "kind": { + "description": "Kind of the cluster", + "type": "string" + }, + "id": { + "description": "Id of the cluster", + "type": "string" + }, + "properties": { + "description": "Region Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegionProperties" + } + } + }, + "RegionProperties": { + "description": "Region Properties", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/SCMetadataEntity" + }, + "spec": { + "description": "Specification of the region", + "$ref": "#/definitions/RegionSpecEntity" + } + } + }, + "ListRegionsSuccessResponse": { + "description": "Result of POST request to list regions supported by confluent", + "type": "object", + "properties": { + "data": { + "description": "List of regions supported by confluent", + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/RegionRecord" + } + } + } + }, + "APIKeyRecord": { + "description": "Details API key", + "type": "object", + "properties": { + "kind": { + "description": "Type of api key", + "type": "string" + }, + "id": { + "description": "Id of the api key", + "type": "string" + }, + "properties": { + "description": "API Key Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/APIKeyProperties" + } + } + }, + "APIKeyProperties": { + "description": "API Key Properties", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata of the record", + "$ref": "#/definitions/SCMetadataEntity" + }, + "spec": { + "description": "Specification of the API Key", + "$ref": "#/definitions/APIKeySpecEntity" + } + } + }, + "APIKeySpecEntity": { + "description": "Spec of the API Key record", + "type": "object", + "properties": { + "description": { + "description": "The description of the API Key", + "type": "string" + }, + "name": { + "description": "The name of the API Key", + "type": "string" + }, + "secret": { + "description": "API Key Secret ", + "type": "string", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + }, + "resource": { + "description": "Specification of the cluster", + "$ref": "#/definitions/APIKeyResourceEntity" + }, + "owner": { + "description": "Specification of the cluster", + "$ref": "#/definitions/APIKeyOwnerEntity" + } + } + }, + "APIKeyResourceEntity": { + "description": "API Key Resource details which can be kafka cluster or schema registry cluster", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string" + }, + "environment": { + "description": "The environment of the api key", + "type": "string" + }, + "related": { + "description": "API URL for accessing or modifying the api key resource object ", + "type": "string" + }, + "resourceName": { + "description": "CRN reference to the referred resource", + "type": "string" + }, + "kind": { + "description": "Type of the owner which can be service or user account", + "type": "string" + } + } + }, + "APIKeyOwnerEntity": { + "description": "API Key Owner details which can be a user or service account", + "type": "object", + "properties": { + "id": { + "description": "API Key owner id", + "type": "string" + }, + "related": { + "description": "API URL for accessing or modifying the referred object ", + "type": "string" + }, + "resourceName": { + "description": "CRN reference to the referred resource", + "type": "string" + }, + "kind": { + "description": "Type of the owner service or user account", + "type": "string" + } + } + }, + "CreateAPIKeyModel": { + "description": "Create API Key model", + "type": "object", + "properties": { + "name": { + "description": "Name of the API Key", + "type": "string" + }, + "description": { + "description": "Description of the API Key", + "type": "string" + } + } + } + }, + "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" + }, + "RoleBindingIdParameter": { + "in": "path", + "name": "roleBindingId", + "description": "Confluent Role binding id", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "EnvironmentIdParameter": { + "in": "path", + "name": "environmentId", + "description": "Confluent environment id", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ClusterIdParameter": { + "in": "path", + "name": "clusterId", + "description": "Confluent kafka or schema registry cluster id", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ConnectorNameParameter": { + "in": "path", + "name": "connectorName", + "description": "Confluent connector name", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "TopicNameParameter": { + "in": "path", + "name": "topicName", + "description": "Confluent kafka or schema registry topic name", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ConfluentAPIKeyParameter": { + "in": "path", + "name": "apiKeyId", + "description": "Confluent API Key id", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "PageSizeParameter": { + "name": "pageSize", + "in": "query", + "description": "Pagination size", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "PageTokenParameter": { + "name": "pageToken", + "in": "query", + "description": "An opaque pagination token to fetch the next set of records", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ClusterList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ClusterList.json new file mode 100644 index 000000000000..8bb475593e50 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ClusterList.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Access_CreateRoleBinding.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_CreateRoleBinding.json new file mode 100644 index 000000000000..bc7a3b3a6b2e --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_CreateRoleBinding.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "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" + } + }, + "responses": { + "200": { + "body": { + "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/2024-07-01/examples/Access_DeleteRoleBinding.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_DeleteRoleBinding.json new file mode 100644 index 000000000000..a1ebfd6da887 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_DeleteRoleBinding.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "roleBindingId": "dlz-f3a90de" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_EnvironmentList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_EnvironmentList.json new file mode 100644 index 000000000000..72f4413cfd18 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_EnvironmentList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Access_InvitationsList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_InvitationsList.json new file mode 100644 index 000000000000..e2fcfe429ff3 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_InvitationsList.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Access_InviteUser.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_InviteUser.json new file mode 100644 index 000000000000..93cc4185366f --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_InviteUser.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Access_RoleBindingList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_RoleBindingList.json new file mode 100644 index 000000000000..2ce3ac2cea76 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_RoleBindingList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Access_RoleBindingNameList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_RoleBindingNameList.json new file mode 100644 index 000000000000..cc283b8c1cbc --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_RoleBindingNameList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "searchFilters": { + "crn_pattern": "crn://confluent.cloud/organization=1aa7de07-298e-479c-8f2f-16ac91fd8e76", + "namespace": "public,dataplane,networking,identity,datagovernance,connect,streamcatalog,pipelines,ksql" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "RoleDisplayNameList", + "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": [ + "MetricsViewer", + "OrganizationAdmin", + "Operator", + "NetworkAdmin", + "ResourceKeyAdmin", + "AccountAdmin" + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ServiceAccountsList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ServiceAccountsList.json new file mode 100644 index 000000000000..abb2887a7258 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_ServiceAccountsList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Access_UsersList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_UsersList.json new file mode 100644 index 000000000000..ad4aa6f55c10 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Access_UsersList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Cluster_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Cluster_Create.json new file mode 100644 index 000000000000..e51649c58b34 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Cluster_Create.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-1", + "clusterId": "cluster-1", + "body": { + "properties": { + "spec": { + "package": "ESSENTIALS", + "environment": { + "id": "env-1" + }, + "region": "us-east4" + } + } + } + }, + "responses": { + "200": { + "body": { + "kind": "Cluster", + "id": "dlz-f3a90de", + "name": "cluster-1", + "properties": { + "metadata": { + "self": "https://api.confluent.cloud/cmk/v2/clusters/lkc-12345", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + }, + "spec": { + "name": "ProdKafkaCluster", + "availability": "SINGLE_ZONE", + "cloud": "GCP", + "region": "us-east4", + "config": { + "kind": "Basic" + }, + "kafkaBootstrapEndpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092", + "httpEndpoint": "https://lkc-00000-00000.us-central1.gcp.glb.confluent.cloud", + "apiEndpoint": "https://pkac-00000.us-west-2.aws.confluent.cloud", + "environment": { + "id": "env-00000", + "environment": "string", + "related": "https://api.confluent.cloud/v2/environments/env-00000", + "resourceName": "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", + "resourceName": "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", + "resourceName": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-00000" + } + }, + "status": { + "phase": "PROVISIONED", + "cku": 2 + } + } + } + }, + "201": { + "body": { + "kind": "Cluster", + "id": "dlz-f3a90de", + "name": "cluster-1", + "properties": { + "metadata": { + "self": "https://api.confluent.cloud/cmk/v2/clusters/lkc-12345", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + }, + "spec": { + "name": "ProdKafkaCluster", + "availability": "SINGLE_ZONE", + "cloud": "GCP", + "region": "us-east4", + "config": { + "kind": "Basic" + }, + "kafkaBootstrapEndpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092", + "httpEndpoint": "https://lkc-00000-00000.us-central1.gcp.glb.confluent.cloud", + "apiEndpoint": "https://pkac-00000.us-west-2.aws.confluent.cloud", + "environment": { + "id": "env-00000", + "environment": "string", + "related": "https://api.confluent.cloud/v2/environments/env-00000", + "resourceName": "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", + "resourceName": "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", + "resourceName": "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/2024-07-01/examples/Cluster_Delete.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Cluster_Delete.json new file mode 100644 index 000000000000..8669a1da6167 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Cluster_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de" + }, + "responses": { + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Create.json new file mode 100644 index 000000000000..1915191cf2ab --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Create.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-1", + "body": { + "properties": { + "streamGovernanceConfig": { + "package": "ESSENTIALS" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "env-1", + "kind": "Environment", + "id": "dlz-f3a90de", + "properties": { + "streamGovernanceConfig": { + "package": "ESSENTIALS" + }, + "metadata": { + "self": "https://api.confluent.cloud/org/v2/environments/env-1", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-1", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + } + } + } + }, + "201": { + "body": { + "name": "env-1", + "kind": "Environment", + "id": "dlz-f3a90de", + "properties": { + "streamGovernanceConfig": { + "package": "ESSENTIALS" + }, + "metadata": { + "self": "https://api.confluent.cloud/org/v2/environments/env-1", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-1", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + } + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Delete.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Delete.json new file mode 100644 index 000000000000..67186d8fcfca --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Environment_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132" + }, + "responses": { + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_Create.json new file mode 100644 index 000000000000..05a140fa6d06 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/MarketplaceAgreements_List.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_List.json new file mode 100644 index 000000000000..e50fe762f0d8 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/MarketplaceAgreements_List.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/OrganizationOperations_List.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/OrganizationOperations_List.json new file mode 100644 index 000000000000..67b560a448c5 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/OrganizationOperations_List.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2024-07-01" + }, + "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/2024-07-01/examples/Organization_ClusterList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ClusterList.json new file mode 100644 index 000000000000..df66bad3408d --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ClusterList.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "pageSize": 10, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "Cluster", + "id": "dlz-f3a90de", + "properties": { + "metadata": { + "self": "https://api.confluent.cloud/cmk/v2/clusters/lkc-12345", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + }, + "spec": { + "name": "ProdKafkaCluster", + "availability": "SINGLE_ZONE", + "cloud": "GCP", + "region": "us-east4", + "config": { + "kind": "Basic" + }, + "kafkaBootstrapEndpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092", + "httpEndpoint": "https://lkc-00000-00000.us-central1.gcp.glb.confluent.cloud", + "apiEndpoint": "https://pkac-00000.us-west-2.aws.confluent.cloud", + "environment": { + "id": "env-00000", + "environment": "string", + "related": "https://api.confluent.cloud/v2/environments/env-00000", + "resourceName": "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", + "resourceName": "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", + "resourceName": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-00000" + } + }, + "status": { + "phase": "PROVISIONED", + "cku": 2 + } + } + } + ], + "nextLink": "nextLink?pageToken=xoi3753asdfe&pageSize=10" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ConnectorList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ConnectorList.json new file mode 100644 index 000000000000..3359c03efe33 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ConnectorList.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "pageSize": 10, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connector-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/connectors/connector-1", + "properties": { + "connectorBasicInfo": { + "connectorType": "SINK", + "connectorClass": "AZUREBLOBSINK", + "connectorState": "RUNNING", + "connectorId": "lcc-l", + "connectorName": "connector-1" + }, + "connectorServiceTypeInfo": { + "connectorServiceType": "AzureBlobStorageSinkConnector", + "storageAccountName": "stcfaccount-1", + "storageAccountKey": "*******", + "storageContainerName": "continer-1" + }, + "partnerConnectorInfo": { + "partnerConnectorType": "KafkaAzureBlobStorageSink", + "flushSize": "1000", + "maxTasks": "2", + "timeInterval": "DAILY", + "apiKey": "xxxxxxx", + "apiSecret": "*******", + "authType": "KAFKA_API_KEY", + "inputFormat": "JSON", + "outputFormat": "JSON", + "topics": [ + "topic-1" + ], + "topicsDir": "topicsDir" + } + } + } + ], + "nextLink": "nextLink?pageToken=xoi3753asdfe&pageSize=10" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Create.json new file mode 100644 index 000000000000..1fb574e16ad0 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Create.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Organization_CreateClusterAPIKey.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateClusterAPIKey.json new file mode 100644 index 000000000000..e5fe32d4c06d --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateClusterAPIKey.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "clusterId-123", + "body": { + "name": "CI kafka access key", + "description": "This API key provides kafka access to cluster x" + } + }, + "responses": { + "200": { + "body": { + "id": "JDCXTFUVFVQGF56J", + "kind": "ApiKey", + "properties": { + "metadata": { + "createdTimestamp": "2023-11-15T16:15:44.489498Z", + "resourceName": "crn://api.stag.cpdev.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/service-account=sa-wwn7mm/api-key=JDCXTFUVFVQGF56J", + "self": "https://api.stag.cpdev.cloud/iam/v2/api-keys/JDCXTFUVFVQGF56J", + "updatedTimestamp": "2023-11-15T16:15:44.489498Z" + }, + "spec": { + "description": "This API key provides kafka access to cluster x", + "name": "CI kafka access key", + "owner": { + "id": "sa-wwn7mm", + "kind": "ServiceAccount", + "related": "https://api.stag.cpdev.cloud/iam/v2/service-accounts/sa-wwn7mm", + "resourceName": "crn://api.stag.cpdev.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/service-account=sa-wwn7mm" + }, + "resource": { + "id": "lsrc-stgc1yrzz3", + "kind": "SchemaRegistry", + "related": "https://api.stag.cpdev.cloud/srcm/v2/schema-registries/lsrc-stgc1yrzz3", + "resourceName": "crn://api.stag.cpdev.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/schema-registry=lsrc-stgc1yrzz3" + }, + "secret": "" + } + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateConnectorByName.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateConnectorByName.json new file mode 100644 index 000000000000..681ff50b9365 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_CreateConnectorByName.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de", + "connectorName": "connector-1", + "body": { + "properties": { + "connectorBasicInfo": { + "connectorType": "SINK", + "connectorClass": "AZUREBLOBSTORAGESINK", + "connectorName": "connector-1" + }, + "connectorServiceTypeInfo": { + "connectorServiceType": "AzureBlobStorageSinkConnector", + "storageAccountName": "stcfaccount-1", + "storageAccountKey": "*******", + "storageContainerName": "continer-1" + }, + "partnerConnectorInfo": { + "partnerConnectorType": "KafkaAzureBlobStorageSink", + "flushSize": "1000", + "maxTasks": "2", + "timeInterval": "DAILY", + "apiKey": "xxxxxxx", + "apiSecret": "*******", + "authType": "KAFKA_API_KEY", + "inputFormat": "JSON", + "outputFormat": "JSON", + "topics": [ + "topic-1" + ], + "topicsDir": "topicsDir" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "connector-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/connectors/connector-1", + "type": "Microsoft.Confluent/organizations/environments/clusters/connectors", + "properties": { + "connectorBasicInfo": { + "connectorType": "SINK", + "connectorClass": "AZUREBLOBSTORAGESINK", + "connectorState": "RUNNING", + "connectorId": "lcc-l", + "connectorName": "connector-1" + }, + "connectorServiceTypeInfo": { + "connectorServiceType": "AzureBlobStorageSinkConnector", + "storageAccountName": "stcfaccount-1", + "storageAccountKey": "*******", + "storageContainerName": "continer-1" + }, + "partnerConnectorInfo": { + "partnerConnectorType": "KafkaAzureBlobStorageSink", + "flushSize": "1000", + "maxTasks": "2", + "timeInterval": "DAILY", + "apiKey": "xxxxxxx", + "apiSecret": "*******", + "authType": "KAFKA_API_KEY", + "inputFormat": "JSON", + "outputFormat": "JSON", + "topics": [ + "topic-1" + ], + "topicsDir": "topicsDir" + } + } + } + }, + "201": { + "body": { + "name": "connector-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/connectors/connector-1", + "type": "Microsoft.Confluent/organizations/environments/clusters/connectors", + "properties": { + "connectorBasicInfo": { + "connectorType": "SINK", + "connectorClass": "AZUREBLOBSINK", + "connectorState": "RUNNING", + "connectorId": "lcc-l", + "connectorName": "connector-1" + }, + "connectorServiceTypeInfo": { + "connectorServiceType": "AzureBlobStorageSinkConnector", + "storageAccountName": "stcfaccount-1", + "storageAccountKey": "*******", + "storageContainerName": "continer-1" + }, + "partnerConnectorInfo": { + "partnerConnectorType": "KafkaAzureBlobStorageSink", + "flushSize": "1000", + "maxTasks": "2", + "timeInterval": "DAILY", + "apiKey": "xxxxxxx", + "apiSecret": "*******", + "authType": "KAFKA_API_KEY", + "inputFormat": "JSON", + "outputFormat": "JSON", + "topics": [ + "topic-1" + ], + "topicsDir": "topicsDir" + } + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Delete.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Delete.json new file mode 100644 index 000000000000..5e562ee89dc6 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Delete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Organization_DeleteClusterAPIKey.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteClusterAPIKey.json new file mode 100644 index 000000000000..5e5c76fd65e4 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteClusterAPIKey.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "apiKeyId": "ZFZ6SZZZWGYBEIFB" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteConnectorByName.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteConnectorByName.json new file mode 100644 index 000000000000..29ee49d6f10c --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_DeleteConnectorByName.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de", + "connectorName": "connector-1" + }, + "responses": { + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_EnvironmentList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_EnvironmentList.json new file mode 100644 index 000000000000..5b1ee2308e36 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_EnvironmentList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "pageSize": 10, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "Environment", + "id": "dlz-f3a90de", + "properties": { + "metadata": { + "self": "https://api.confluent.cloud/org/v2/environments/e-12345", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + } + }, + "name": "prod-finance01" + } + ], + "nextLink": "nextLink?pageToken=xoi3753asdfe&pageSize=10" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Get.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Get.json new file mode 100644 index 000000000000..ab40033a98f6 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Get.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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", + "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/2024-07-01/examples/Organization_GetClusterAPIKey.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterAPIKey.json new file mode 100644 index 000000000000..e9935a681b04 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterAPIKey.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "apiKeyId": "apiKeyId-123" + }, + "responses": { + "200": { + "body": { + "id": "apiKeyId-123", + "kind": "ApiKey", + "properties": { + "metadata": { + "createdTimestamp": "2023-11-15T16:15:44.489498Z", + "resourceName": "crn://api.stag.cpdev.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/service-account=sa-wwn7mm/api-key=apiKeyId-123", + "self": "https://api.stag.cpdev.cloud/iam/v2/api-keys/apiKeyId-123", + "updatedTimestamp": "2023-11-15T16:15:44.489498Z" + }, + "spec": { + "description": "This API key provides kafka access to cluster x", + "name": "CI kafka access key", + "owner": { + "id": "sa-wwn7mm", + "kind": "ServiceAccount", + "related": "https://api.stag.cpdev.cloud/iam/v2/service-accounts/sa-wwn7mm", + "resourceName": "crn://api.stag.cpdev.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/service-account=sa-wwn7mm" + }, + "resource": { + "id": "lsrc-stgc1yrzz3", + "kind": "SchemaRegistry", + "related": "https://api.stag.cpdev.cloud/srcm/v2/schema-registries/lsrc-stgc1yrzz3", + "resourceName": "crn://api.stag.cpdev.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/schema-registry=lsrc-stgc1yrzz3", + "environment": "env-0000" + } + } + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterById.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterById.json new file mode 100644 index 000000000000..399955cc93c4 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetClusterById.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de" + }, + "responses": { + "200": { + "body": { + "kind": "Cluster", + "id": "dlz-f3a90de", + "properties": { + "metadata": { + "self": "https://api.confluent.cloud/cmk/v2/clusters/lkc-12345", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + }, + "spec": { + "name": "ProdKafkaCluster", + "availability": "SINGLE_ZONE", + "cloud": "GCP", + "region": "us-east4", + "config": { + "kind": "Basic" + }, + "kafkaBootstrapEndpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092", + "httpEndpoint": "https://lkc-00000-00000.us-central1.gcp.glb.confluent.cloud", + "apiEndpoint": "https://pkac-00000.us-west-2.aws.confluent.cloud", + "environment": { + "id": "env-00000", + "environment": "string", + "related": "https://api.confluent.cloud/v2/environments/env-00000", + "resourceName": "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", + "resourceName": "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", + "resourceName": "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/2024-07-01/examples/Organization_GetConnectorByName.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetConnectorByName.json new file mode 100644 index 000000000000..c99becdcce9b --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetConnectorByName.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de", + "connectorName": "connector-1" + }, + "responses": { + "200": { + "body": { + "name": "connector-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/connectors/connector-1", + "properties": { + "connectorBasicInfo": { + "connectorType": "SINK", + "connectorClass": "AZUREBLOBSTORAGESINK", + "connectorState": "RUNNING", + "connectorId": "lcc-l", + "connectorName": "connector-1" + }, + "connectorServiceTypeInfo": { + "connectorServiceType": "AzureBlobStorageSinkConnector", + "storageAccountName": "stcfaccount-1", + "storageAccountKey": "*******", + "storageContainerName": "continer-1" + }, + "partnerConnectorInfo": { + "partnerConnectorType": "KafkaAzureBlobStorageSink", + "flushSize": "1000", + "maxTasks": "2", + "timeInterval": "DAILY", + "apiKey": "xxxxxxx", + "apiSecret": "*******", + "authType": "KAFKA_API_KEY", + "inputFormat": "JSON", + "outputFormat": "JSON", + "topics": [ + "topic-1" + ], + "topicsDir": "topicsDir" + } + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetEnvironmentById.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetEnvironmentById.json new file mode 100644 index 000000000000..54aae3e55ef8 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetEnvironmentById.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "pageSize": 10, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "dlz-f3a90de" + }, + "responses": { + "200": { + "body": { + "kind": "Environment", + "id": "dlz-f3a90de", + "properties": { + "metadata": { + "self": "https://api.confluent.cloud/org/v2/environments/e-12345", + "resourceName": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345", + "createdTimestamp": "2006-01-02T15:04:05-07:00", + "updatedTimestamp": "2006-01-02T15:04:05-07:00", + "deletedTimestamp": "2006-01-02T15:04:05-07:00" + } + }, + "name": "prod-finance01" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetSchemaRegistryClusterById.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetSchemaRegistryClusterById.json new file mode 100644 index 000000000000..e594703bac3f --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_GetSchemaRegistryClusterById.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-stgcczjp2j3", + "clusterId": "lsrc-stgczkq22z" + }, + "responses": { + "200": { + "body": { + "id": "lsrc-stgczkq22z", + "kind": "Cluster", + "properties": { + "metadata": { + "createdTimestamp": "2023-11-08T07:37:14.309386Z", + "resourceName": "crn://confluent.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/environment=env-stgccnk2mgd/schema-registry=lsrc-stgczkq22z", + "self": "https://api.stag.cpdev.cloud/srcm/v2/clusters/lsrc-stgczkq22z", + "updatedTimestamp": "2023-11-08T07:37:14.309386Z", + "deletedTimestamp": "2023-11-08T07:37:14.309386Z" + }, + "spec": { + "name": "Stream Governance Package", + "environment": { + "id": "env-stgccnk2mgd", + "related": "https://api.stag.cpdev.cloud/org/v2/environments/env-stgccnk2mgd", + "resourceName": "crn://confluent.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/environment=env-stgccnk2mgd" + }, + "httpEndpoint": "https://psrc-57wzyg.centralus.azure.stag.cpdev.cloud", + "package": "ADVANCED", + "region": { + "id": "sgreg-7", + "related": "https://api.stag.cpdev.cloud/srcm/v2/regions/sgreg-7", + "resourceName": "crn://confluent.cloud/schema-registry-region=sgreg-7" + }, + "cloud": "GCP" + }, + "status": { + "phase": "PROVISIONED" + } + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListByResourceGroup.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListByResourceGroup.json new file mode 100644 index 000000000000..f23abce4d0e2 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Organization_ListBySubscription.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListBySubscription.json new file mode 100644 index 000000000000..dd20c6249239 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Organization_ListRegions.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListRegions.json new file mode 100644 index 000000000000..dc4a2ce8c6ff --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListRegions.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "body": { + "searchFilters": { + "cloud": "azure", + "region": "eastus", + "packages": "ADVANCED,ESSENTIALS" + } + } + }, + "responses": { + "200": { + "body": { + "data": [ + { + "id": "sgreg-7", + "kind": "Region", + "properties": { + "metadata": { + "createdTimestamp": "2023-04-06T10:24:09.840788Z", + "resourceName": "crn://confluent.cloud/schema-registry-region=sgreg-7", + "self": "https://api.stag.cpdev.cloud/srcm/v2/regions/sgreg-7", + "updatedTimestamp": "2023-04-06T10:24:09.840788Z" + }, + "spec": { + "cloud": "AZURE", + "name": "Iowa (centralus)", + "packages": [ + "ADVANCED" + ], + "regionName": "centralus" + } + } + } + ] + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListSchemaRegistryClusters.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListSchemaRegistryClusters.json new file mode 100644 index 000000000000..967f6c172d15 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_ListSchemaRegistryClusters.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-stgcczjp2j3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "lsrc-stgczkq22z", + "kind": "Cluster", + "properties": { + "metadata": { + "createdTimestamp": "2023-11-08T07:37:14.309386Z", + "resourceName": "crn://confluent.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/environment=env-stgccnk2mgd/schema-registry=lsrc-stgczkq22z", + "self": "https://api.stag.cpdev.cloud/srcm/v2/clusters/lsrc-stgczkq22z", + "updatedTimestamp": "2023-11-08T07:37:14.309386Z" + }, + "spec": { + "name": "Stream Governance Package", + "environment": { + "id": "env-stgccnk2mgd", + "related": "https://api.stag.cpdev.cloud/org/v2/environments/env-stgccnk2mgd", + "resourceName": "crn://confluent.cloud/organization=37d1220b-93a6-43e3-a114-dd8a20a94a31/environment=env-stgccnk2mgd" + }, + "httpEndpoint": "https://psrc-57wzyg.centralus.azure.stag.cpdev.cloud", + "package": "ADVANCED", + "region": { + "id": "sgreg-7", + "related": "https://api.stag.cpdev.cloud/srcm/v2/regions/sgreg-7", + "resourceName": "crn://confluent.cloud/schema-registry-region=sgreg-7" + }, + "cloud": "GCP" + }, + "status": { + "phase": "PROVISIONED" + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_TopicList.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_TopicList.json new file mode 100644 index 000000000000..8eaeb188174e --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_TopicList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "pageSize": 10, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "topic-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/topics/topic-1", + "properties": { + "kind": "KafkaTopic", + "metadata": { + "self": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1", + "resourceName": "crn:///kafka=cluster-1/topic=topic-1" + }, + "partitions": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions" + }, + "configs": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/configs" + }, + "partitionsReassignments": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions/-/reassignments" + }, + "replicationFactor": "3", + "partitionsCount": "1" + } + } + ], + "nextLink": "nextLink?pageToken=xoi3753asdfe&pageSize=10" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Update.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Update.json new file mode 100644 index 000000000000..f4a5cde59a0c --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Organization_Update.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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", + "userPrincipalName": "contoso@microsoft.com", + "aadEmail": "contoso@microsoft.com" + } + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Create.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Create.json new file mode 100644 index 000000000000..48fac0f43fe7 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Create.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de", + "topicName": "topic-1", + "body": { + "properties": { + "partitionsCount": "1", + "replicationFactor": "3", + "inputConfigs": [ + { + "name": "cleanup.policy", + "value": "compact" + }, + { + "name": "retention.ms", + "value": "86400000" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "topic-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/topics/topic-1", + "properties": { + "kind": "KafkaTopic", + "topicId": "topic-1", + "metadata": { + "self": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1", + "resourceName": "crn:///kafka=cluster-1/topic=topic-1" + }, + "partitions": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions" + }, + "configs": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/configs" + }, + "partitionsReassignments": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions/-/reassignments" + }, + "replicationFactor": "3", + "partitionsCount": "1" + } + } + }, + "201": { + "body": { + "name": "topic-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/topics/topic-1", + "properties": { + "kind": "KafkaTopic", + "topicId": "topic-1", + "metadata": { + "self": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1", + "resourceName": "crn:///kafka=cluster-1/topic=topic-1" + }, + "partitions": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions" + }, + "configs": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/configs" + }, + "partitionsReassignments": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions/-/reassignments" + }, + "replicationFactor": "3", + "partitionsCount": "1" + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Delete.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Delete.json new file mode 100644 index 000000000000..e16a38d82316 --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de", + "topicName": "topic-1" + }, + "responses": { + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Get.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Get.json new file mode 100644 index 000000000000..8c3fa80da63f --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Topics_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "pageSize": 10, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "organizationName": "myOrganization", + "environmentId": "env-12132", + "clusterId": "dlz-f3a90de", + "topicName": "topic-1" + }, + "responses": { + "200": { + "body": { + "name": "topic-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization/environments/env-12132/clusters/dlz-f3a90de/topics/topic-1", + "properties": { + "kind": "KafkaTopic", + "metadata": { + "self": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1", + "resourceName": "crn:///kafka=cluster-1/topic=topic-1" + }, + "partitions": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions" + }, + "configs": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/configs" + }, + "partitionsReassignments": { + "related": "https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-2/partitions/-/reassignments" + }, + "replicationFactor": "3", + "partitionsCount": "1" + } + } + } + } +} diff --git a/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizations.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizations.json new file mode 100644 index 000000000000..331ac68fa87a --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizations.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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/2024-07-01/examples/Validations_ValidateOrganizationsV2.json b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizationsV2.json new file mode 100644 index 000000000000..4ba642f8b6fe --- /dev/null +++ b/specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-07-01/examples/Validations_ValidateOrganizationsV2.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "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 528ade1fd9c3..02fa61987064 100644 --- a/specification/confluent/resource-manager/readme.md +++ b/specification/confluent/resource-manager/readme.md @@ -28,9 +28,17 @@ These are the global settings for the Confluent API. title: ConfluentManagementClient openapi-type: arm openapi-subtype: rpaas -tag: package-2024-02 +tag: package-2024-07 ``` +### Tag: package-2024-07 + +These settings apply only when `--tag=package-2024-07` is specified on the command line. + +```yaml $(tag) == 'package-2024-07' +input-file: + - Microsoft.Confluent/stable/2024-07-01/confluent.json +``` ### Tag: package-2024-02