Skip to content

Commit

Permalink
stable version for Microsoft.Confluent rp (#25984)
Browse files Browse the repository at this point in the history
* stable version for Microsoft.Confluent rp

* Updated the readme to have the stable version tag

* Fix lintdiff error

* Adds base for updating Microsoft.Confluent from version stable/2021-12-01 to version 2023-08-22

* Updates readme

* Updates API version in new specs and examples

* Updated the required changes for stable version

* Fix merge issues
  • Loading branch information
DeepikaNMS authored and zman-ms committed Jan 9, 2024
1 parent d62d7a0 commit 8b0dc1b
Show file tree
Hide file tree
Showing 20 changed files with 2,985 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"environment": "env-00000",
"body": {
"searchFilters": {
"pageSize": "10",
"pageToken": "asc4fts4ft"
}
}
},
"responses": {
"200": {
"body": {
"kind": "ClusterList",
"metadata": {
"first": "https://api.confluent.cloud/cmk/v2/clusters",
"last": "https://api.confluent.cloud/cmk/v2/clusters?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/cmk/v2/clusters?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/cmk/v2/clusters?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"kind": "Cluster",
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/cmk/v2/clusters/lkc-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"spec": {
"display_name": "ProdKafkaCluster",
"availability": "SINGLE_ZONE",
"cloud": "GCP",
"region": "us-east4",
"config": {
"kind": "Basic"
},
"kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092",
"http_endpoint": "https://lkc-00000-00000.us-central1.gcp.glb.confluent.cloud",
"api_endpoint": "https://pkac-00000.us-west-2.aws.confluent.cloud",
"environment": {
"id": "env-00000",
"environment": "string",
"related": "https://api.confluent.cloud/v2/environments/env-00000",
"resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-00000"
},
"network": {
"id": "n-00000",
"environment": "string",
"related": "https://api.confluent.cloud/networking/v1/networks/n-00000",
"resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-00000"
},
"byok": {
"id": "cck-00000",
"related": "https://api.confluent.cloud/byok/v1/keys/cck-00000",
"resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-00000"
}
},
"status": {
"phase": "PROVISIONED",
"cku": 2
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"body": {
"searchFilters": {
"pageSize": "10",
"pageToken": "asc4fts4ft"
}
}
},
"responses": {
"200": {
"body": {
"kind": "EnvironmentList",
"metadata": {
"first": "https://api.confluent.cloud/org/v2/environments",
"last": "https://api.confluent.cloud/org/v2/environments?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/org/v2/environments?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/org/v2/environments?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"kind": "Environment",
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/org/v2/environments/e-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"display_name": "prod-finance01"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"body": {
"searchFilters": {
"pageSize": "10",
"pageToken": "asc4fts4ft",
"status": "INVITE_STATUS_SENT"
}
}
},
"responses": {
"200": {
"body": {
"kind": "InvitationList",
"metadata": {
"first": "https://api.confluent.cloud/iam/v2/invitations",
"last": "https://api.confluent.cloud/iam/v2/invitations?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/iam/v2/invitations?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/iam/v2/invitations?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"kind": "Invitation",
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/invitations/i-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"email": "[email protected]",
"auth_type": "AUTH_TYPE_SSO",
"status": "INVITE_STATUS_SENT",
"accepted_at": "2022-07-06T17:21:33Z",
"expires_at": "2022-07-07T17:22:39Z"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"body": {
"invitedUserDetails": {
"invitedEmail": "[email protected]",
"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": "[email protected]",
"auth_type": "AUTH_TYPE_SSO",
"status": "INVITE_STATUS_SENT",
"accepted_at": "2022-07-06T17:21:33Z",
"expires_at": "2022-07-07T17:22:39Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa",
"principal": "User:u-111aaa",
"body": {
"searchFilters": {
"pageSize": "10",
"pageToken": "asc4fts4ft"
}
}
},
"responses": {
"200": {
"body": {
"kind": "RoleBindingList",
"metadata": {
"first": "https://api.confluent.cloud/iam/v2/role-bindings",
"last": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"kind": "RoleBinding",
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/role-bindings/rb-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"principal": "User:u-111aaa",
"role_name": "CloudClusterAdmin",
"crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"body": {
"searchFilters": {
"pageSize": "10",
"pageToken": "asc4fts4ft"
}
}
},
"responses": {
"200": {
"body": {
"kind": "ServiceAccountList",
"metadata": {
"first": "https://api.confluent.cloud/iam/v2/service-accounts",
"last": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"kind": "ServiceAccount",
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/service-accounts/sa-12345",
"resource_name": "crn://confluent.cloud/service-account=sa-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"display_name": "DeLorean_auto_repair",
"description": "Doc's repair bot for the DeLorean"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"organizationName": "myOrganization",
"body": {
"searchFilters": {
"pageSize": "10",
"pageToken": "asc4fts4ft"
}
}
},
"responses": {
"200": {
"body": {
"kind": "UserList",
"metadata": {
"first": "https://api.confluent.cloud/iam/v2/users",
"last": "https://api.confluent.cloud/iam/v2/users?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/iam/v2/users?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/iam/v2/users?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"kind": "User",
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/users/u-12345",
"resource_name": "crn://confluent.cloud/user=u-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"email": "[email protected]",
"full_name": "Marty McFly",
"auth_type": "AUTH_TYPE_SSO"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"api-version": "2023-08-22",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"requestBody": {
"properties": {
"accepted": true
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Confluent/agreements/default",
"name": "default",
"type": "Microsoft.Confluent/agreements",
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-05-09T14:28:47.284Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-09T14:28:47.284Z"
},
"properties": {
"publisher": "pubid1",
"product": "offid1",
"plan": "planid1",
"licenseTextLink": "test.licenseLink1",
"privacyPolicyLink": "test.privacyPolicyLink1",
"retrieveDatetime": "2020-11-05T17:33:07.12132Z",
"signature": "YKWOQOKH2BCKZ46O7SCKHANWEENRFRU5WB4LXDFUYWCBWTS4AG4SGQXCOZYIR5ZJCZTXRMZKYZMO2BJSL5YKPLAR4LBFRUNS6CRYE7A",
"accepted": true
}
}
}
}
}
Loading

0 comments on commit 8b0dc1b

Please sign in to comment.